Skip to content

Migrate requirements directories to uv#1220

Draft
kevin-brown wants to merge 18 commits into
pallets-eco:mainfrom
kevin-brown:migrate-requirements
Draft

Migrate requirements directories to uv#1220
kevin-brown wants to merge 18 commits into
pallets-eco:mainfrom
kevin-brown:migrate-requirements

Conversation

@kevin-brown

Copy link
Copy Markdown
Member

This replaces the text files in the requirements directory with a uv.lock file and Python dependency groups. This also upgrades all pins to the latest version.

@kevin-brown kevin-brown force-pushed the migrate-requirements branch from 550d919 to d9fb567 Compare May 20, 2026 00:09
@kevin-brown kevin-brown force-pushed the migrate-requirements branch from d9fb567 to af3ca3d Compare May 20, 2026 00:13
@codecov

codecov Bot commented May 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.00%. Comparing base (834ea88) to head (5f60596).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1220   +/-   ##
=======================================
  Coverage   98.00%   98.00%           
=======================================
  Files          43       43           
  Lines        5374     5374           
=======================================
  Hits         5267     5267           
  Misses        107      107           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jwag956

jwag956 commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Just FYI - the pypy3.11 build is broken due to a JSON bug - they acknowledged and have fixed it - waiting for a release...

@kevin-brown

Copy link
Copy Markdown
Member Author

Checkpoint notes:

This should be largely done except for figuring out why 17 tests are failing in Python 3.10 - 3.12. This is almost certainly a dependency issue but I haven't put any effort into tracing it.

@jwag956

jwag956 commented May 20, 2026

Copy link
Copy Markdown
Collaborator

Note that the -low builds should have -W ignore - that should help a few of the failures.

I do have to ask - is it really helpful not use tox? we are still using it for the github actions - so with this change how things are run in development are different than how they are run as part of a PR.

@kevin-brown

Copy link
Copy Markdown
Member Author

I do have to ask - is it really helpful not use tox? we are still using it for the github actions - so with this change how things are run in development are different than how they are run as part of a PR.

This still maintains tox, it just moves the environment configuration into the pyproject.toml file. This was done as a part of PyCon US sprints as a part of an effort to bring all pallets-eco projects to a consistent setup with uv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants