Skip to content

Commit

Permalink
Fix SQLAlchemy 2 installed by sqlalchemy1 tox factor
Browse files Browse the repository at this point in the history
With use_frozen_constraints constraints are generated by calling "pip freeze"
after the environment deps have been installed and before the package
dependencies are installed, thus constraints-sqlalchemy1.txt is being ignored.
  • Loading branch information
cjmayo committed Oct 13, 2024
1 parent fc78967 commit e7023c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion requirements-skip/constraints-sqlalchemy1.txt

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ setenv =
SQLALCHEMY_SILENCE_UBER_WARNING = 1
AZURE_STORAGE_CONNECTION_STRING = DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;
deps =
sqlalchemy1: -c requirements-skip/constraints-sqlalchemy1.txt
sqlalchemy1: sqlalchemy<2
-r requirements/tests.txt
commands_pre =
noflaskbabel: pip uninstall -y flask-babel
Expand Down

0 comments on commit e7023c1

Please sign in to comment.