build: migrate from poetry to uv - #2
Open
JPHutchins wants to merge 1 commit into
Open
Conversation
JPHutchins
commented
Jul 22, 2026
Comment on lines
+35
to
+41
| [dependency-groups] | ||
| dev = [ | ||
| "pytest~=7.0", | ||
| "pytest-benchmark", | ||
| "hypothesis", | ||
| "maturin>=1.7,<2", | ||
| ] |
Owner
Author
There was a problem hiding this comment.
Let's get these updated to latest range
JPHutchins
commented
Jul 22, 2026
| flame.svg | ||
| perf.data | ||
| perf.data.old | ||
| poetry.lock |
Owner
Author
There was a problem hiding this comment.
wild that this was ignored
JPHutchins
commented
Jul 22, 2026
JPHutchins
left a comment
Owner
Author
There was a problem hiding this comment.
let's go ahead and get updated at this time
JPHutchins
force-pushed
the
modernize/02-uv
branch
2 times, most recently
from
July 23, 2026 19:10
1cd7b76 to
b9734b9
Compare
JPHutchins
force-pushed
the
modernize/01-nix
branch
from
July 23, 2026 19:22
855da3b to
ab69168
Compare
JPHutchins
force-pushed
the
modernize/02-uv
branch
from
July 23, 2026 19:23
b9734b9 to
ab69168
Compare
JPHutchins
force-pushed
the
modernize/02-uv
branch
from
July 23, 2026 23:57
22d701d to
68aff9b
Compare
JPHutchins
force-pushed
the
modernize/01-nix
branch
from
July 23, 2026 23:57
ab69168 to
92e26ba
Compare
Replace the poetry project definition with a PEP 621 [project] table plus PEP 735 [dependency-groups]; maturin stays the build backend. Commit uv.lock for a reproducible dev environment. - raise requires-python to >=3.10 (drop EOL 3.7-3.9) - pin dev deps to current majors (pytest 9, pytest-benchmark 5, hypothesis 6, maturin 1.9) plus the build-system maturin requirement - prune the noisy stock-Python .gitignore down to what this project actually produces (Python, Rust, envs, tool caches) - repoint shell.nix, the Makefile, and the developer README at uv - CI builds and tests with uv across the OS matrix (ubuntu/macos/windows) via `uv run pytest`, replacing the transitional poetry job Co-Authored-By: claude-opus-4-8[1m] <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019JtM6kqpbjzQB5CVosa5pt
JPHutchins
force-pushed
the
modernize/01-nix
branch
from
July 24, 2026 00:27
92e26ba to
7593e96
Compare
JPHutchins
force-pushed
the
modernize/02-uv
branch
from
July 24, 2026 00:27
68aff9b to
7f3c11a
Compare
This was referenced Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked series modernizing the lapsed
dhall-python. Stacked on #1.Migrate poetry → uv:
[project]+ PEP 735[dependency-groups]; maturin stays the build backend;uv.lockcommitted.requires-python >= 3.10(drop EOL 3.7–3.9); dev deps bumped to current majors (pytest 9, pytest-benchmark 5, hypothesis 6, maturin 1.9)..gitignoreto what this project produces; repointshell.nix, the Makefile, and the README at uv.uv run pytestacross the OS matrix (ubuntu/macos/windows), replacing build(nix): pin nixpkgs revision in shell.nix #1's transitional single-OS poetry job. (The Rust here is still pyo3 0.19 — modernized in feat(rust): modernize to pyo3 0.29 + abi3, serde_dhall 0.13 #3 — so the interpreter is held at a version pyo3 0.19 supports.)Warning
LLM Disclosure
This post was authored by claude-opus-4-8[1m] on behalf of @JPHutchins, as the uv-migration step of a stacked modernization of
dhall-python.