Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DX: define developer environment with uv #41

Merged
merged 33 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
bf90b4a
MAINT: autoupdate pip constraints
redeboer Oct 16, 2024
1253727
DX: autoupdate developer configuration
redeboer Oct 16, 2024
cce7df9
MAINT: remove version restriction from Sphinx
redeboer Oct 16, 2024
a987f14
[pre-commit.ci] auto fixes from pre-commit.com hooks
redeboer Oct 16, 2024
741832f
DX: modernize dev environment with `uv`
redeboer Oct 16, 2024
a3f084c
DX: support only Python 3.12
redeboer Oct 16, 2024
71ff678
DX: switch to `uv` in notebooks
redeboer Oct 16, 2024
a3fad40
MAINT: implement Ruff fixes and suggestions
redeboer Oct 16, 2024
80e1567
MAINT: update lock files and dev environment
redeboer Oct 16, 2024
ae30d43
MAINT: update lock files
web-flow Oct 16, 2024
a611467
MAINT: update lock files and dev environment
redeboer Oct 18, 2024
8cc6d37
MAINT: update lock files
web-flow Oct 18, 2024
6b5a1f8
DOC: update Binder links
redeboer Oct 18, 2024
ad0f961
MAINT: update lock files
redeboer Oct 24, 2024
5a43a0e
FIX: remove `pre-commit-uv` and `tox` from environment
redeboer Oct 24, 2024
6033f25
MAINT: update lock files and dev environment
redeboer Oct 29, 2024
17b9ec3
FIX: remove `format` extras
redeboer Oct 29, 2024
31aab13
MAINT: remove duplicate `python-lsp-server`
redeboer Oct 29, 2024
4542230
FIX: remove developer dependencies from extras
redeboer Oct 29, 2024
ed611a5
FIX: set `passenv` in jobs that have a different `base`
redeboer Oct 29, 2024
4e2b1bf
DX: install `pyproject-local-kernel` in `notebooks` group
redeboer Oct 29, 2024
025aa5a
DX: add `pytest` configuration for `nbmake`
redeboer Oct 29, 2024
584e097
DX!: pin dependencies per notebook
redeboer Oct 29, 2024
c323556
MAINT: update lock files
redeboer Oct 29, 2024
6299c96
MAINT: update lock files
web-flow Oct 29, 2024
feb6ab2
MAINT: remove outdated `docs` workflow
redeboer Oct 29, 2024
078e113
MAINT: remove outdated Ruff ignore rules
redeboer Oct 29, 2024
6aad6bf
MAINT: update lock files
redeboer Oct 29, 2024
3a6e75f
MAINT: update `uv.lock` files
redeboer Oct 29, 2024
30875e3
FIX: make `linkcheck` work again using Sphinx v5
redeboer Oct 29, 2024
8d2c33b
FIX: ignore IFIC indico
redeboer Oct 29, 2024
60c841b
MAINT: update lock files
web-flow Oct 29, 2024
22a3325
FIX: ignore ReactionAmplitudeExamples.jl
redeboer Oct 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading