rel_2_0_33
版本发布时间: 2024-09-04 01:22:22
sqlalchemy/sqlalchemy最新发布版本:rel_2_0_36(2024-10-16 03:41:54)
2.0.33
Released: September 3, 2024
general
-
[general] [change] The pin for
setuptools<69.3
inpyproject.toml
has been removed. This pin was to prevent a sudden change in setuptools to use PEP 625 from taking place, which would change the file name of SQLAlchemy's source distribution on pypi to be an all lower case name, which is likely to cause problems with various build environments that expected the previous naming style. However, the presence of this pin is holding back environments that otherwise want to use a newer setuptools, so we've decided to move forward with this change, with the assumption that build environments will have largely accommodated the setuptools change by now.References: #11818
orm
-
[orm] [bug] [regression] Fixed regression from 1.3 where the column key used for a hybrid property might be populated with that of the underlying column that it returns, for a property that returns an ORM mapped column directly, rather than the key used by the hybrid property itself.
This change is also backported to: 1.4.54
References: #11728
-
[orm] [bug] Correctly cleanup the internal top-level module registry when no inner modules or classes are registered into it.
References: #11788
-
[orm] [bug] Improvements to the ORM annotated declarative type map lookup dealing with composed types such as
dict[str, Any]
linking to JSON (or others) with or without "future annotations" mode.References: #11814
engine
-
[engine] [bug] Fixed issue in internal reflection cache where particular reflection scenarios regarding same-named quoted_name() constructs would not be correctly cached. Pull request courtesy Felix Lüdin.
References: #11687
sql
-
[sql] [bug] [regression] Fixed regression in
_sql.Select.with_statement_hint()
and others where the generative behavior of the method stopped producing a copy of the object.References: #11703
schema
-
[schema] [bug] Fixed bug where the
metadata
element of anEnum
datatype would not be transferred to the newMetaData
object when the type had been copied via aTable.to_metadata()
operation, leading to inconsistent behaviors within create/drop sequences.References: #11802
typing
-
[typing] [bug] Fixed typing issue with
_sql.Select.with_only_columns()
.References: #11782
postgresql
-
[postgresql] [bug] Fixed critical issue in the asyncpg driver where a rollback or commit that fails specifically for the
MissingGreenlet
condition or any other error that is not raised by asyncpg itself would discard the asyncpg transaction in any case, even though the transaction were still idle, leaving to a server side condition with an idle transaction that then goes back into the connection pool. The flags for "transaction closed" are now not reset for errors that are raised outside of asyncpg itself. When asyncpg itself raises an error for.commit()
or.rollback()
, asyncpg does then discard of this transaction.This change is also backported to: 1.4.54
References: #11819
-
[postgresql] [bug] Revising the asyncpg
terminate()
fix first made in #10717 which improved the resiliency of this call under all circumstances, addingasyncio.CancelledError
to the list of exceptions that are intercepted as failing for a graceful.close()
which will then proceed to call.terminate()
.References: #11821
mysql
-
[mysql] [bug] Fixed issue in MySQL dialect where using INSERT..FROM SELECT in combination with ON DUPLICATE KEY UPDATE would erroneously render on MySQL 8 and above the "AS new" clause, leading to syntax failures. This clause is required on MySQL 8 to follow the VALUES clause if use of the "new" alias is present, however is not permitted to follow a FROM SELECT clause.
References: #11731
sqlite
-
[sqlite] [bug] Improvements to the regex used by the SQLite dialect to reflect the name and contents of a CHECK constraint. Constraints with newline, tab, or space characters in either or both the constraint text and constraint name are now properly reflected. Pull request courtesy Jeff Horemans.
References: #11677
-
[sqlite] [bug] Improvements to the regex used by the SQLite dialect to reflect the name and contents of a UNIQUE constraint that is defined inline within a column definition inside of a SQLite CREATE TABLE statement, accommodating for tab characters present within the column / constraint line. Pull request courtesy John A Stevenson.
References: #11746
mssql
-
[mssql] [bug] Added error "The server failed to resume the transaction" to the list of error strings for the pymssql driver in determining a disconnect scenario, as observed by one user using pymssql under otherwise unknown conditions as leaving an unusable connection in the connection pool which fails to ping cleanly.
References: #11822
tests
-
[tests] [bug] Added missing
array_type
property to the testing suiteSuiteRequirements
class.
1、 SQLAlchemy-2.0.33-cp310-cp310-macosx_10_9_x86_64.whl 1.99MB
2、 SQLAlchemy-2.0.33-cp310-cp310-macosx_11_0_arm64.whl 1.98MB
3、 SQLAlchemy-2.0.33-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.92MB
4、 SQLAlchemy-2.0.33-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.93MB
5、 SQLAlchemy-2.0.33-cp310-cp310-musllinux_1_2_aarch64.whl 2.89MB
6、 SQLAlchemy-2.0.33-cp310-cp310-musllinux_1_2_x86_64.whl 2.91MB
7、 SQLAlchemy-2.0.33-cp310-cp310-win32.whl 1.97MB
8、 SQLAlchemy-2.0.33-cp310-cp310-win_amd64.whl 1.99MB
9、 SQLAlchemy-2.0.33-cp311-cp311-macosx_10_9_x86_64.whl 1.99MB
10、 SQLAlchemy-2.0.33-cp311-cp311-macosx_11_0_arm64.whl 1.98MB
11、 SQLAlchemy-2.0.33-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.05MB
12、 SQLAlchemy-2.0.33-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.05MB
13、 SQLAlchemy-2.0.33-cp311-cp311-musllinux_1_2_aarch64.whl 2.99MB
14、 SQLAlchemy-2.0.33-cp311-cp311-musllinux_1_2_x86_64.whl 3.01MB
15、 SQLAlchemy-2.0.33-cp311-cp311-win32.whl 1.97MB
16、 SQLAlchemy-2.0.33-cp311-cp311-win_amd64.whl 1.99MB
17、 SQLAlchemy-2.0.33-cp312-cp312-macosx_10_9_x86_64.whl 1.99MB
18、 SQLAlchemy-2.0.33-cp312-cp312-macosx_11_0_arm64.whl 1.98MB
19、 SQLAlchemy-2.0.33-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.08MB
20、 SQLAlchemy-2.0.33-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.09MB
21、 SQLAlchemy-2.0.33-cp312-cp312-musllinux_1_2_aarch64.whl 3.03MB
22、 SQLAlchemy-2.0.33-cp312-cp312-musllinux_1_2_x86_64.whl 3.05MB
23、 SQLAlchemy-2.0.33-cp312-cp312-win32.whl 1.96MB
24、 SQLAlchemy-2.0.33-cp312-cp312-win_amd64.whl 1.99MB
25、 SQLAlchemy-2.0.33-cp37-cp37m-macosx_10_9_x86_64.whl 2MB
26、 SQLAlchemy-2.0.33-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.84MB
27、 SQLAlchemy-2.0.33-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.85MB
28、 SQLAlchemy-2.0.33-cp37-cp37m-musllinux_1_2_aarch64.whl 2.8MB
29、 SQLAlchemy-2.0.33-cp37-cp37m-musllinux_1_2_x86_64.whl 2.82MB
30、 SQLAlchemy-2.0.33-cp37-cp37m-win32.whl 1.97MB
31、 SQLAlchemy-2.0.33-cp37-cp37m-win_amd64.whl 1.99MB
32、 SQLAlchemy-2.0.33-cp38-cp38-macosx_10_9_x86_64.whl 2MB
33、 SQLAlchemy-2.0.33-cp38-cp38-macosx_11_0_arm64.whl 1.99MB
34、 SQLAlchemy-2.0.33-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.94MB
35、 SQLAlchemy-2.0.33-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.95MB
36、 SQLAlchemy-2.0.33-cp38-cp38-musllinux_1_2_aarch64.whl 2.9MB
37、 SQLAlchemy-2.0.33-cp38-cp38-musllinux_1_2_x86_64.whl 2.92MB
38、 SQLAlchemy-2.0.33-cp38-cp38-win32.whl 1.97MB
39、 SQLAlchemy-2.0.33-cp38-cp38-win_amd64.whl 1.99MB
40、 SQLAlchemy-2.0.33-cp39-cp39-macosx_10_9_x86_64.whl 2MB
41、 SQLAlchemy-2.0.33-cp39-cp39-macosx_11_0_arm64.whl 1.99MB
42、 SQLAlchemy-2.0.33-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.94MB
43、 SQLAlchemy-2.0.33-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.94MB
44、 SQLAlchemy-2.0.33-cp39-cp39-musllinux_1_2_aarch64.whl 2.9MB
45、 SQLAlchemy-2.0.33-cp39-cp39-musllinux_1_2_x86_64.whl 2.93MB
46、 SQLAlchemy-2.0.33-cp39-cp39-win32.whl 1.97MB
47、 SQLAlchemy-2.0.33-cp39-cp39-win_amd64.whl 1.99MB
48、 SQLAlchemy-2.0.33-py3-none-any.whl 1.79MB