Skip to content

Commit 7e86374

Browse files
chore(deps-dev): bump sqlalchemy from 2.0.50 to 2.0.51 (#1062)
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 2.0.50 to 2.0.51. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/sqlalchemy/releases">sqlalchemy's releases</a>.</em></p> <blockquote> <h1>2.0.51</h1> <p>Released: June 15, 2026</p> <h2>orm</h2> <ul> <li> <p><strong>[orm] [bug]</strong> Fixed issue where <code>_orm.subqueryload()</code> combined with <code>PropComparator.of_type()</code> and <code>PropComparator.and_()</code> would silently drop the additional filter criteria, causing all related objects to be loaded instead of only those matching the filter. The <code>LoaderCriteriaOption</code> was being constructed against the base entity rather than the effective entity indicated by <code>PropComparator.of_type()</code>. Pull request courtesy Arya Rizky.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/13207">#13207</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed bug where a failure during <code>tpc_prepare()</code> within <code>_orm.Session.commit()</code> for a two-phase session would raise <code>IllegalStateChangeError</code> instead of the original database exception. The internal <code>_prepare_impl()</code> method's error handler was unable to invoke <code>_orm.SessionTransaction.rollback()</code> due to a state-change guard, preventing proper cleanup and masking the underlying error.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/13356">#13356</a></p> </li> </ul> <h2>engine</h2> <ul> <li> <p><strong>[engine] [bug]</strong> Fixed issue where <code>Result.freeze()</code> would lose track of ambiguous column names present in the original <code>CursorResult</code>, causing key-based access on the thawed result to silently return a value instead of raising <code>InvalidRequestError</code>. The <code>SimpleResultMetaData</code> now accepts and propagates ambiguous key information so that frozen, thawed, and pickled results raise consistently for duplicate column names. Pull request courtesy Saurabh Kohli.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/9427">#9427</a></p> </li> </ul> <h2>sql</h2> <ul> <li> <p><strong>[sql] [bug]</strong> Fixed issue where <code>_sql.StatementLambdaElement</code> would proxy attribute access through the cached &quot;expected&quot; expression rather than the resolved expression, causing stale closure-bound parameter values to be used when a lambda statement was extended with non-lambda criteria such as an additional <code>.where()</code> clause. Courtesy cjc0013.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/10827">#10827</a></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/sqlalchemy/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sqlalchemy&package-manager=uv&previous-version=2.0.50&new-version=2.0.51)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Roy Moore <roy@moore.co.il>
1 parent 3558785 commit 7e86374

2 files changed

Lines changed: 52 additions & 52 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ cratedb = [
5959
"sqlalchemy-cratedb"
6060
]
6161
db2 = [
62-
"sqlalchemy>=2",
62+
"sqlalchemy",
6363
"ibm_db_sa; platform_machine != 'aarch64' and platform_machine != 'arm64'",
6464
]
6565
elasticsearch = []
@@ -87,16 +87,16 @@ minio = ["minio>=7"]
8787
milvus = []
8888
mongodb = ["pymongo>=4"]
8989
mqtt = []
90-
mssql = ["sqlalchemy>=2", "pymssql>=2"]
91-
mysql = ["sqlalchemy>=2", "pymysql[rsa]>=1"]
90+
mssql = ["sqlalchemy", "pymssql>=2"]
91+
mysql = ["sqlalchemy", "pymysql[rsa]>=1"]
9292
nats = ["nats-py>=2"]
9393
neo4j = ["neo4j>=6"]
9494
nginx = []
9595
openfga = ["openfga-sdk"]
9696
opensearch = ["opensearch-py>=3; python_version < '4.0'"]
9797
ollama = []
98-
oracle = ["sqlalchemy>=2", "oracledb>=3"]
99-
oracle-free = ["sqlalchemy>=2", "oracledb>=3"]
98+
oracle = ["sqlalchemy", "oracledb>=3"]
99+
oracle-free = ["sqlalchemy", "oracledb>=3"]
100100
postgres = []
101101
qdrant = ["qdrant-client>=1"]
102102
rabbitmq = ["pika>=1"]
@@ -122,7 +122,7 @@ test = [
122122
# TODO: Check what test requirements are really need and for which modules
123123
# Make a group for each module requiring extra deps in order to test
124124
# Each module with minimal extra depencies
125-
"sqlalchemy>=2",
125+
"sqlalchemy",
126126
"psycopg2-binary==2.9.11",
127127
"pg8000==1.31.5",
128128
"psycopg>=3",

0 commit comments

Comments
 (0)