Repository navigation
Migrate requirements directories to uv - #1426
Merged
Merged
Conversation
This follows flask-caching and flask-sqlalchemy-lite as a guide for how the groups should be set up. This does not yet change the things within workflows which reference these requirements files, those will come in a follow-up commit.
This also makes it easier within the GitHub Actions Workflow to directly reference the tox environment without needing to do any string manipualtion.
This fixes a new test failure introduced as a result of a guard check added in SQLAlchemy 2.0.36 [1]. This guard check is specific to declarative base classes that subclass MappedAsDataclass because those do not support imperative table definitions (aka "Hybrid Declarative"). [1]: sqlalchemy/sqlalchemy@270b46c
This project was not designed to run on 3.13 and as a result there are weird errors within the tests specific to SQLAlchemy.
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.
This migrates the previous
requirements.txtfiles (well, directories containing them) to instead make use ofuv.lockfor dependency pinning and theuvtool in general. This was largely based on the changes made within flask-sqlalchemy-lite and flask-cache.