René's URL Explorer Experiment


Title: [sqlalchemy-spanner] Compliance test and migration test failures with Alembic 1.20 and SQLAlchemy 2.1 · Issue #18580 · googleapis/google-cloud-python · GitHub

Open Graph Title: [sqlalchemy-spanner] Compliance test and migration test failures with Alembic 1.20 and SQLAlchemy 2.1 · Issue #18580 · googleapis/google-cloud-python

X Title: [sqlalchemy-spanner] Compliance test and migration test failures with Alembic 1.20 and SQLAlchemy 2.1 · Issue #18580 · googleapis/google-cloud-python

Description: Description Recent upstream releases of Alembic (1.20.0) and SQLAlchemy (2.1.3) introduced several breaking changes and test failures in the sqlalchemy-spanner package: 1. Alembic 1.20+ / SQLAlchemy 1.4 Version Conflict alembic>=1.20.0 d...

Open Graph Description: Description Recent upstream releases of Alembic (1.20.0) and SQLAlchemy (2.1.3) introduced several breaking changes and test failures in the sqlalchemy-spanner package: 1. Alembic 1.20+ / SQLAlchem...

X Description: Description Recent upstream releases of Alembic (1.20.0) and SQLAlchemy (2.1.3) introduced several breaking changes and test failures in the sqlalchemy-spanner package: 1. Alembic 1.20+ / SQLAlchem...

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/18580

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[sqlalchemy-spanner] Compliance test and migration test failures with Alembic 1.20 and SQLAlchemy 2.1","articleBody":"## Description\n\nRecent upstream releases of **Alembic (`1.20.0`)** and **SQLAlchemy (`2.1.3`)** introduced several breaking changes and test failures in the `sqlalchemy-spanner` package:\n\n### 1. Alembic 1.20+ / SQLAlchemy 1.4 Version Conflict\n`alembic>=1.20.0` dropped support for SQLAlchemy 1.4 and now requires `sqlalchemy>=2.0`. In the `compliance_test_14` Nox session, installing `.[tracing]` resolved Alembic 1.20 before force-reinstalling `sqlalchemy\u003c2.0`, resulting in a runtime `ImportError`:\n```text\nImportError: cannot import name '_NoneName' from 'sqlalchemy.sql.base'\n```\n\n### 2. Missing Optional Dependency Guard for Alembic\nThe Spanner dialect (`google/cloud/sqlalchemy_spanner/sqlalchemy_spanner.py`) previously imported `from alembic.ddl.base import ...` unconditionally at the top level. Users who only use SQLAlchemy Core or ORM (without Alembic installed or in environments with mismatched versions) could not import the dialect.\n\n### 3. SQLAlchemy 2.1 Compliance Test Suite Breakages\nIn `tests/test_suite_20.py`:\n- **Missing `test_deprecations`**: Upstream SQLAlchemy 2.1 removed `sqlalchemy.testing.suite.test_deprecations`, causing `ModuleNotFoundError` during pytest collection.\n- **`types.Float` MRO Decoupling**: Upstream decoupled `types.Float` from `types.Numeric` (it now inherits from `NumericCommon`), causing `ComponentReflectionTest.test_get_columns` intersection checks to fail.\n- **Cross-Schema Reflection**: Upstream added `HasTableTest.test_has_multi_table_schema`. GoogleSQL Cloud Spanner does not support user-defined schema namespaces (`TABLE_SCHEMA = ''`).\n- **JSON Cross-Casts**: Upstream added `JSONTest.test_index_cross_casts`. Spanner's `JSON_VALUE()` always returns `STRING`, which causes type assertions (`isinstance(roundtrip, bool)`) to fail.\n\n### 4. Migration Test Matrix Gaps\nThe `migration_test` session in `noxfile.py` did not explicitly parametrize both supported SQLAlchemy versions (1.4 and 2.0+), leaving migration workflows vulnerable to dependency drift.\n\n---\n\n## Proposed Resolution\n\nAddressed in PR: https://github.com/googleapis/google-cloud-python/pull/18570\n","author":{"url":"https://github.com/chalmerlowe","@type":"Person","name":"chalmerlowe"},"datePublished":"2026-10-06T11:14:41Z","url":"https://github.com/googleapis/google-cloud-python/issues/18580"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:73e301ae-2238-1de8-ee35-c2217f554563
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB194:264CD6:8A574D:B689D3:6AFE7A42
html-safe-nonceada38decb4c0efb329e8d20b92ecfd53ee72cc0140022040353ca5d36525c542
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTk0OjI2NENENjo4QTU3NEQ6QjY4OUQzOjZBRkU3QTQyIiwidmlzaXRvcl9pZCI6IjE2NTcwNTYyMzM1MDYzNzIxNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2d0eaf5f2d94f5219b76b592703d6b8ae98356b2a15b208bdbb5d71f2b68b6c6
hovercard-subject-tagissue:5727428417
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/18580/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cb0b8c0e052c9f8acb3d17fbb03620fd1e7473871bbbdc8f4b3d82befb5dd27f/googleapis/google-cloud-python/issues/18580
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cb0b8c0e052c9f8acb3d17fbb03620fd1e7473871bbbdc8f4b3d82befb5dd27f/googleapis/google-cloud-python/issues/18580
og:image:altDescription Recent upstream releases of Alembic (1.20.0) and SQLAlchemy (2.1.3) introduced several breaking changes and test failures in the sqlalchemy-spanner package: 1. Alembic 1.20+ / SQLAlchem...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechalmerlowe
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/18580#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18580
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F18580
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18580
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18580
Reloadhttps://github.com/googleapis/google-cloud-python/issues/18580
googleapishttps://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Codehttps://github.com/googleapis/google-cloud-python
Issues450 (450)https://github.com/googleapis/google-cloud-python/issues
Pull requests200 (200)https://github.com/googleapis/google-cloud-python/pulls
Discussionshttps://github.com/googleapis/google-cloud-python/discussions
Actionshttps://github.com/googleapis/google-cloud-python/actions
Projectshttps://github.com/googleapis/google-cloud-python/projects
Security and qualityhttps://github.com/googleapis/google-cloud-python/security
Insightshttps://github.com/googleapis/google-cloud-python/insights
https://github.com/googleapis/google-cloud-python
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18580
New issuehttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18580
#18570https://github.com/googleapis/google-cloud-python/pull/18570
[sqlalchemy-spanner] Compliance test and migration test failures with Alembic 1.20 and SQLAlchemy 2.1https://github.com/googleapis/google-cloud-python/issues/18580#top
#18570https://github.com/googleapis/google-cloud-python/pull/18570
api: spannerIssues related to the Spanner API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/chalmerlowe
chalmerlowehttps://github.com/chalmerlowe
on Oct 6, 2026https://github.com/googleapis/google-cloud-python/issues/18580#issue-5727428417
#18570https://github.com/googleapis/google-cloud-python/pull/18570
chalmerlowehttps://github.com/chalmerlowe
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
api: spannerIssues related to the Spanner API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
on Oct 6, 2026https://github.com/googleapis/google-cloud-python/issues/18580#event-32592482636
chalmerlowehttps://github.com/chalmerlowe
completedhttps://github.com/googleapis/google-cloud-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#18570https://github.com/googleapis/google-cloud-python/pull/18570
on Oct 7, 2026https://github.com/googleapis/google-cloud-python/issues/18580#event-32670008956
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleapis/google-cloud-python/issues/18580
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleapis/google-cloud-python/issues/18580
api: spannerIssues related to the Spanner API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.