-
Notifications
You must be signed in to change notification settings - Fork 138
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
fix: Avoid sqlalchemy20 #736
Conversation
…query-sqlalchemy into avoid-sqlalchemy20
…query-sqlalchemy into avoid-sqlalchemy20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I defer to parthea who's far more familiar with the operational aspects here.
@@ -369,7 +299,7 @@ def compliance(session): | |||
session.skip("Compliance tests were not found") | |||
|
|||
session.install("--pre", "grpcio") | |||
|
|||
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy<2.0.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the goal with the upgrade + constraint is to pick up the latest of everything but sqlalchemy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The constraint is to ensure that we install a prerelease version of sqlalchemy up to but not including 2.0.0.
) | ||
|
||
|
||
s.replace( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always worry about brittleness with these kinds of replacements, but alas that's problem for future us.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you and me both.
i really disliked these s.replace()
functions as I was writing them.
Prevents the prerelease/compliance installs from using sqlalchemy at >2.0.0 (NOTE: sqlalchemy 2.0.0 has many breaking changes and is not being supported at this time).
prerelease
install in deference to the autogeneratedprerelease_deps
install.SYSTEM_TEST_EXTRAS
collection of test modules (specifically the only package in this collection was being improperly installed)).