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 #364

Merged
merged 28 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f05ecb5
MAINT: share `PYTHONHASHSEED` through base environment
redeboer Oct 11, 2024
a881503
MAINT: move `description` on one line
redeboer Oct 11, 2024
b342f06
MAINT: remove `FORCE_COLOR` from `tox`
redeboer Oct 11, 2024
b523cad
MAINT: share `passenv` through base environment
redeboer Oct 11, 2024
4592aac
MAINT: simplify `tox.ini` with `base`
redeboer Oct 11, 2024
b152199
DX: remove `jcache` job
redeboer Oct 11, 2024
652c6c5
MAINT: write CLI flags with `=` sign and quotation marks
redeboer Oct 11, 2024
f3c05d6
MAINT: use `--ignore` instead of `--re-ignore` where possible
redeboer Oct 11, 2024
75e384e
FIX: start `sphinx-autobuild` on random available port
redeboer Oct 11, 2024
fffc9ba
DX: run `py`, `docnb-force`, `linkcheck`, and `sty` in `tox`
redeboer Oct 11, 2024
25717e0
MAINT: share `tox` job description
redeboer Oct 11, 2024
298a28d
DOC: group doc jobs for `tox list`
redeboer Oct 11, 2024
f5a5887
DX: add `.virtual_documents` to `--re-ignore`
redeboer Oct 11, 2024
71dcaf7
DX: add `pdfnb-force` to Tox jobs
redeboer Oct 11, 2024
2b4e7c9
DX: disable Sphinx warnings in `doc` jobs
redeboer Oct 11, 2024
45ddde7
MAINT: update intersphinx inventory links
redeboer Oct 11, 2024
b40233e
Merge branch 'main' into modernize-dev
redeboer Oct 11, 2024
b50271c
DX: modernize dev environment with `uv`
redeboer Oct 16, 2024
ffd7c44
DX: install fixed Julia version
redeboer Oct 16, 2024
7a4020b
DX: install `uv` through `pixi`
redeboer Oct 16, 2024
62536b4
MAINT: update lock files and dev environment
redeboer Oct 18, 2024
6080e87
MAINT: update lock files
web-flow Oct 18, 2024
03055a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 18, 2024
df38f8c
DOC: update Binder links
redeboer Oct 18, 2024
f684659
FIX: remove `pre-commit-uv` and `tox` from environment
redeboer Oct 22, 2024
eca7e5a
MAINT: update lock files
web-flow Oct 22, 2024
a523edd
FIX: remove `pre-commit-uv` and `tox` from environment
redeboer Oct 22, 2024
606155c
DX: update actions and use Pixi and `uv` in actions
redeboer Oct 22, 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
21 changes: 21 additions & 0 deletions .binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
set -ex
curl -LsSf https://pixi.sh/install.sh | bash
export PATH="$HOME/.pixi/bin:$PATH"

pixi_packages="$(NO_COLOR= pixi list --explicit --no-install | awk 'NR > 1 {print $1}')"
if [[ -n "$pixi_packages" ]]; then
pixi global install $pixi_packages
fi
export PYTHONHASHSEED="0"
bash julia/install.sh
pixi clean cache --yes

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.12
1 change: 0 additions & 1 deletion .constraints/.gitignore

This file was deleted.

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

This file was deleted.

Loading
Loading