Skip to content

Commit

Permalink
DX: define developer environment with uv (#439)
Browse files Browse the repository at this point in the history
* DOC: update Binder links
* DX: clean up `tox` configuration

---------

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 18, 2024
1 parent 8e3a6f4 commit 608c08c
Show file tree
Hide file tree
Showing 34 changed files with 4,317 additions and 1,371 deletions.
1 change: 1 addition & 0 deletions .binder/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graphviz
12 changes: 12 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -ex
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv export \
--extra jupyter \
--extra notebooks \
> requirements.txt
uv pip install \
--requirement requirements.txt \
--system
uv cache clean
1 change: 1 addition & 0 deletions .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.11
1 change: 0 additions & 1 deletion .constraints/.gitignore

This file was deleted.

212 changes: 0 additions & 212 deletions .constraints/py3.10.txt

This file was deleted.

Loading

0 comments on commit 608c08c

Please sign in to comment.