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

Migrate utils to use uv #181

Merged
merged 3 commits into from
Nov 18, 2024
Merged

Migrate utils to use uv #181

merged 3 commits into from
Nov 18, 2024

Conversation

samuelhwilliams
Copy link
Contributor

@samuelhwilliams samuelhwilliams commented Nov 14, 2024

Ticket: https://mhclgdigital.atlassian.net/browse/FSPT-73

Change description

As we've done with all of our other apps now, this moves utils over to using utils for local development and testing.

  • Replace constraints/* files with uv_resolution = highest/lowest-direct, so that we are testing the upper and lower
    bounds of our direct dependencies.
  • Switch tox over to using tox-uv and tox-gh to decide which tox
    envs to use in which job run (based on python version).
  • Bump our minimum pyyaml version to 6.0.1, because 6.0.0 doesn't
    compile for our minimum deps on python 3.12
  • Flask 2.2 is not compatible with werkzeug 3.1+, so pin that to werkzeug<3.1. (We can possibly drop flask 2.2 support altogether?)

@samuelhwilliams samuelhwilliams force-pushed the uv-requirements branch 7 times, most recently from c5b7451 to e70dcaf Compare November 14, 2024 11:22
@samuelhwilliams samuelhwilliams marked this pull request as ready for review November 14, 2024 11:23
@samuelhwilliams samuelhwilliams marked this pull request as draft November 14, 2024 11:32
@samuelhwilliams samuelhwilliams force-pushed the uv-requirements branch 3 times, most recently from 4bd77ed to db5d228 Compare November 14, 2024 11:58
@samuelhwilliams samuelhwilliams marked this pull request as ready for review November 14, 2024 12:22
Copy link

@MarcUsher MarcUsher left a comment

Choose a reason for hiding this comment

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

👍

@samuelhwilliams samuelhwilliams merged commit 3c734b6 into main Nov 18, 2024
8 checks passed
@samuelhwilliams samuelhwilliams deleted the uv-requirements branch November 18, 2024 15:56
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.

3 participants