Repository navigation
Conversation
Replace test-requirements.txt with a pyproject.toml dev dependency group and a uv.lock. The lock reproduces exactly the versions that `pip install -U -r test-requirements.txt` resolved on Python 3.8. Add version constraints: pyvodb==1.0, plus bounds for SQLAlchemy (<2), PyYAML (<6), pytest, jsonschema and rfc3987 that match pyvodb 1.0's caps and stay resolvable on Python 3.8. CI now runs `uv run --locked pytest -v`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Moves the test setup from
pip install -U -r test-requirements.txtto uv. Python stays on 3.8.Changes
test-requirements.txtis replaced by apyproject.tomldev dependency group and auv.lock..python-versionis set to 3.8.pyvodb==1.0sqlalchemy>=1.4,<2(pyvodb uses APIs that only exist in 1.x)pyyaml>=5.4,<6(matches pyvodb's own cap)pytest>=8.3,<9,jsonschema>=4.23,<5,rfc3987>=1.3.8,<2ubuntu-24.04runner. It now usesastral-sh/setup-uvand runsuv run --locked pytest -v.meta.yamlignorespyproject.toml,uv.lockand.python-versioninstead oftest-requirements.txt.Notes
pyvodb 1.0 (last released in 2019) caps PyYAML below 6, and those versions don't build on newer Pythons. Moving past 3.8 would need forcing newer PyYAML and click over pyvodb's caps, or a new pyvodb release.
To run the tests locally:
uv run pytest🤖 Generated with Claude Code