-
Notifications
You must be signed in to change notification settings - Fork 132
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
feat: support SQLAlchemy 2.0, raise minimum required version to 1.4.x #1053
Conversation
CHANGELOG.md
Outdated
@@ -13,6 +13,30 @@ Older versions of this project were distributed as [pybigquery][0]. | |||
|
|||
[2]: https://pypi.org/project/pybigquery/#history | |||
|
|||
## [1.11.0.dev3](https://github.com/googleapis/python-bigquery-sqlalchemy/compare/v1.9.0...v1.11.0.dev3) (2024-02-20) |
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.
We should update this to be footers of the commit message, per: https://github.com/googleapis/release-please/blob/main/README.md#what-if-my-pr-contains-multiple-fixes-or-features
noxfile.py
Outdated
@@ -369,7 +369,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") | |||
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4.16,<2.1") |
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.
2.1 isn't out yet. Let's delete the max version, especially here in prerelease tests, so we get a heads up if we do end up being incompatible with it.
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.
Minor tweak to comment
noxfile.py
Outdated
@@ -369,7 +369,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") | |||
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4.16,<2.1") |
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.
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4.16,<2.1") | |
session.install("--pre", "--no-deps", "--upgrade", "sqlalchemy>=1.4.16") |
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.
Fixed in dfbfcc3
I don't think we need to be installing prerelease versions in compliance session at all.
noxfile.py
Outdated
@@ -543,7 +543,7 @@ def prerelease_deps(session): | |||
|
|||
prerel_deps = [ | |||
"protobuf", | |||
"sqlalchemy<2.0.0", | |||
"sqlalchemy>=1.4.16,<2.1", |
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.
"sqlalchemy>=1.4.16,<2.1", | |
"sqlalchemy>=1.4.16", |
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.
Fixed in dfbfcc3
I don't think we need the >=
part since this will install the latest compatible version.
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.
minor tweaks.
The failing check (Kokoro SQLAlchemy compliance) has a single failing test that swaps the order of values in the result versus what is expected.
|
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
…to 1.4.x (googleapis#1053)" This reverts commit 7a4c3c2.
BEGIN_COMMIT_OVERRIDE
feat: support SQLAlchemy 2.0, raise minimum required version to 1.4.x (#920, #1053)
fix: fix grouping sets, rollup and cube rendering issue (#1019, #1053)
END_COMMIT_OVERRIDE
Opening per internal issue 315888151 to get @kiraksi's changes into
main
now that they've been validated in prereleases.🦕