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

Merged
merged 45 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ea00acc
MAINT: update pip constraints and pre-commit
web-flow Oct 7, 2024
7e1adfe
MAINT: share `passenv` through base environment
redeboer Oct 10, 2024
b2c12f2
MAINT: move `description` on one line
redeboer Oct 10, 2024
bf731c2
MAINT: remove `FORCE_COLOR` from `tox`
redeboer Oct 10, 2024
30f7f0c
DX: remove `pydeps` support
redeboer Oct 10, 2024
f4d6429
DX: remove `jcache` job
redeboer Oct 10, 2024
e66ea7f
MAINT: simplify `tox.ini` with `base`
redeboer Oct 10, 2024
5e0602e
MAINT: write CLI flags with `=` sign and quotation marks
redeboer Oct 10, 2024
1dd70c6
MAINT: use `--ignore` instead of `--re-ignore` where possible
redeboer Oct 10, 2024
607e5fd
MAINT: update pip constraints and pre-commit
web-flow Oct 10, 2024
c384a63
FIX: update links to ComPWA TRs
redeboer Oct 4, 2024
6057cc3
DX: disable Sphinx warnings in `linkcheck` job
redeboer Oct 10, 2024
797872d
MAINT: update pip constraints and pre-commit
web-flow Oct 10, 2024
9719708
FIX: start `sphinx-autobuild` on random available port
redeboer Oct 10, 2024
d2909cc
DX: run `cov`, `docnb-force`, `linkcheck`, and `sty` in `tox`
redeboer Oct 11, 2024
7a42c1e
DOC: improve Tox job descriptions
redeboer Oct 11, 2024
4fd44ae
MAINT: update pip constraints and pre-commit
web-flow Oct 11, 2024
99b85c4
MAINT: ignore links to PRD
redeboer Oct 11, 2024
56764ee
DOC: group doc jobs for `tox list`
redeboer Oct 11, 2024
02b542d
DX: add `.virtual_documents` to `--re-ignore`
redeboer Oct 11, 2024
ea0fe95
Merge branch 'main' into create-pull-request/patch-1728271203
redeboer Oct 11, 2024
247e675
DX: migrate to `uv` environment
redeboer Oct 15, 2024
c4a39f8
MAINT: update lock files
redeboer Oct 15, 2024
f48e749
MAINT: update ComPWA/policy and apply changes
redeboer Oct 15, 2024
a085a0f
MAINT: update lock files
web-flow Oct 15, 2024
8ee921c
MAINT: update lock files
web-flow Oct 15, 2024
4826c97
MAINT: update lock files and dev environment
redeboer Oct 16, 2024
70d5433
MAINT: update lock files
web-flow Oct 16, 2024
d41fb4a
DX: define `notebooks` optional depdendency group
redeboer Oct 16, 2024
2365e94
DX: define Binder configuration
redeboer Oct 16, 2024
3a14fef
MAINT: update lock files
web-flow Oct 16, 2024
4cfa253
MAINT: update lock files and dev environment
redeboer Oct 16, 2024
d6b9d12
DX: switch to Lab interface on Binder
redeboer Oct 16, 2024
c88386c
FIX: install `black` in `notebooks` dependencies
redeboer Oct 16, 2024
b5be478
MAINT: update lock files and dev environment
redeboer Oct 16, 2024
bf835e0
MAINT: update lock files
web-flow Oct 17, 2024
233d67c
MAINT: update lock files
web-flow Oct 18, 2024
6e56e9c
FIX: do not install `pytest-profiling v1.8.0`
redeboer Oct 18, 2024
bb9f5ec
MAINT: update workflows to `ubuntu-24.04`
redeboer Oct 18, 2024
f3720c1
FIX: run additiona `pytest` worfklows with setup-uv
redeboer Oct 18, 2024
89becd4
MAINT: update lock files
web-flow Oct 18, 2024
210cbe3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 18, 2024
96ba8f7
MAINT: remove redundant comment
redeboer Oct 18, 2024
24b0125
MAINT: remove redundant EditorConfig setting
redeboer Oct 18, 2024
4510b28
DOC: update Binder links
redeboer Oct 18, 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
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
Loading