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

Switch from Poetry to uv #1294

Merged
merged 26 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
870154c
Update pyproject.toml metadata format for poetry 2.0 (closer to PEP 621)
ewjoachim Jan 19, 2025
db7bf30
Switch to uv: pyproject.toml & lockfile
ewjoachim Jan 19, 2025
b6d0485
Pre-commit
ewjoachim Jan 19, 2025
3d02cea
Devcontainer
ewjoachim Jan 21, 2025
725f9c1
Documentation & dev env
ewjoachim Jan 21, 2025
3bbcbfd
Remove procrastinate's own version from the lock (needs uv 0.5.21)
ewjoachim Jan 21, 2025
fc2b50f
CI
ewjoachim Jan 21, 2025
0ecc38c
Scripts
ewjoachim Jan 21, 2025
41ccaa3
Readthedocs
ewjoachim Jan 21, 2025
940bf7a
Noxfile
ewjoachim Jan 21, 2025
a31a723
Dockerfile (who uses this ???)
ewjoachim Jan 21, 2025
0dcd081
Tell uv that version may change on every commit
ewjoachim Jan 21, 2025
2d14ea4
We need a recent uv
ewjoachim Jan 21, 2025
68e09c2
Add default tag
ewjoachim Jan 21, 2025
91bd89b
Add . in pythonpath for pytest
ewjoachim Jan 21, 2025
73fe3ee
Try using hatchling instead of setuptools
ewjoachim Jan 21, 2025
191ebc0
Move procrastinate demos under procrastinate
ewjoachim Jan 21, 2025
cdc6c53
Exclude demos from build
ewjoachim Jan 21, 2025
62309cc
Fix docker compose raising warning
ewjoachim Jan 21, 2025
0492add
The option is called --group, not --with-group
ewjoachim Jan 21, 2025
c180f88
Readthedocs needs all extras
ewjoachim Jan 21, 2025
24c6515
pyright broken because pyright python issued a .post0
ewjoachim Jan 21, 2025
29f578f
Improve CI
ewjoachim Jan 22, 2025
488207a
Fix incorrect async pattern in test_shell
ewjoachim Jan 24, 2025
c10fc9f
Fix bootstrap script
ewjoachim Jan 24, 2025
d0470c2
Instanciating the worker means you need an async context, because of …
ewjoachim Jan 24, 2025
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
Prev Previous commit
Next Next commit
Readthedocs
ewjoachim committed Jan 21, 2025
commit 41ccaa3a5a5901aa4fc442e7edf8cf7826164525
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -11,9 +11,9 @@ build:
python: "latest"
jobs:
post_create_environment:
- python -m pip install poetry
- python -m pip install uv
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --with docs
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m uv sync --with-group docs

sphinx:
configuration: docs/conf.py