Skip to content

Commit

Permalink
DX: define developer environment with uv (#41)
Browse files Browse the repository at this point in the history
* DOC: update Binder links
* DX: add `pytest` configuration for `nbmake`
* DX: support only Python 3.12
* DX: switch to `uv` in notebooks
* DX!: pin dependencies per notebook
* FIX: ignore IFIC indico
* FIX: ignore ReactionAmplitudeExamples.jl
* FIX: make `linkcheck` work again using Sphinx v5
* FIX: remove developer dependencies from extras
* FIX: set `passenv` in jobs that have a different `base`
* MAINT: implement Ruff fixes and suggestions
* MAINT: remove duplicate `python-lsp-server`
* MAINT: remove outdated `docs` workflow
* MAINT: remove outdated Ruff ignore rules
* MAINT: remove version restriction from Sphinx
* MAINT: update lock files
  • Loading branch information
redeboer authored Oct 29, 2024
1 parent fae82e6 commit 3d39574
Show file tree
Hide file tree
Showing 66 changed files with 8,740 additions and 1,522 deletions.
14 changes: 14 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
set -ex
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.cargo/env
uv export \
--group jupyter \
--group notebooks \
--no-dev \
> requirements.txt
uv pip install \
--requirement requirements.txt \
--system
rm requirements.txt
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.12
1 change: 0 additions & 1 deletion .constraints/.gitignore

This file was deleted.

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

This file was deleted.

187 changes: 0 additions & 187 deletions .constraints/py3.11.txt

This file was deleted.

Loading

0 comments on commit 3d39574

Please sign in to comment.