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

Expand uv usage in CI #420

Merged
merged 8 commits into from
Feb 17, 2025
Merged

Expand uv usage in CI #420

merged 8 commits into from
Feb 17, 2025

Conversation

zerolab
Copy link
Member

@zerolab zerolab commented Feb 14, 2025

  • uses one --with per extra dependency as per https://docs.astral.sh/uv/guides/scripts/#running-a-script-with-dependencies ("Multiple dependencies can be requested by repeating with --with option.")
  • switches the coverage step to uv (and drops the toml dep)
  • uses uv in the publish workflow
  • tidies up the test matrix (actually test with Python 3.13 in CI, reduce variations for sqlite)

zerolab and others added 5 commits February 14, 2025 15:03
- uses one `--with` per extra dependency as per https://docs.astral.sh/uv/guides/scripts/#running-a-script-with-dependencies ("Multiple dependencies can be requested by repeating with `--with` option.")
- switches the coverage step to uv
since we no longer have the config in pyproject.toml
- reduce sqlite tests as the vast majority of setups are Postgres
- add Python 3.13 to CI
- use a minimal test for Django 5.0 in tox
@zerolab zerolab requested a review from mgax February 14, 2025 15:24
Copy link
Member

@mgax mgax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding uvx where I missed it. I have a couple of questions about the testing matrix, otherwise this looks good!

Comment on lines 30 to 29
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.12']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: how come we only need to test SQLite only with Python 3.12? Why not 3.13?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brainfart. I reduced the sqlite matrix before I added 3.13. It should be 3.13

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zerolab zerolab merged commit f243776 into main Feb 17, 2025
12 checks passed
@zerolab zerolab deleted the ci-uv-more branch February 17, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants