From da9501e87fbac4b93d2047cedcf9feb9d0b45d9f582c503abe3c8c674b50d5d6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 4 May 2022 19:57:32 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.4.36:=20=20=20*=20details?= =?UTF-8?q?=20on=20https://docs.sqlalchemy.org/en/14/changelog/changelog?= =?UTF-8?q?=5F14.html#change-1.4.36=20=20=20*=20Fixed=20regression=20where?= =?UTF-8?q?=20the=20change=20made=20for=20#7861,=20released=20in=20version?= =?UTF-8?q?=20=20=20=20=201.4.33,=20that=20brought=20the=20Insert=20constr?= =?UTF-8?q?uct=20to=20be=20partially=20recognized=20as=20an=20=20=20=20=20?= =?UTF-8?q?ORM-enabled=20statement=20=20=20*=20Modified=20the=20Declarativ?= =?UTF-8?q?eMeta=20metaclass=20to=20pass=20cls.=5F=5Fdict=5F=5F=20into=20t?= =?UTF-8?q?he=20=20=20=20=20declarative=20scanning=20process=20to=20look?= =?UTF-8?q?=20for=20attributes,=20rather=20than=20the=20=20=20=20=20separa?= =?UTF-8?q?te=20dictionary=20passed=20to=20the=20type=E2=80=99s=20=5F=5Fin?= =?UTF-8?q?it=5F=5F()=20method=20=20=20*=20Fixed=20a=20memory=20leak=20in?= =?UTF-8?q?=20the=20C=20extensions=20which=20could=20occur=20when=20callin?= =?UTF-8?q?g=20upon=20=20=20=20=20named=20members=20of=20Row=20when=20the?= =?UTF-8?q?=20member=20does=20not=20exist=20under=20Python=203=20=20=20*?= =?UTF-8?q?=20Added=20a=20warning=20regarding=20a=20bug=20which=20exists?= =?UTF-8?q?=20in=20the=20Result.columns()=20method=20=20=20=20=20when=20pa?= =?UTF-8?q?ssing=200=20for=20the=20index=20in=20conjunction=20with=20a=20R?= =?UTF-8?q?esult=20that=20will=20return=20=20=20=20=20a=20single=20ORM=20e?= =?UTF-8?q?ntity,=20which=20indicates=20that=20the=20current=20behavior=20?= =?UTF-8?q?of=20=20=20=20=20Result.columns()=20is=20broken=20in=20this=20c?= =?UTF-8?q?ase=20as=20the=20Result=20object=20will=20yield=20scalar=20=20?= =?UTF-8?q?=20=20=20values=20and=20not=20Row=20objects=20=20=20*=20Fixed?= =?UTF-8?q?=20bug=20where=20ForeignKeyConstraint=20naming=20conventions=20?= =?UTF-8?q?using=20the=20=20=20=20=20referred=5Fcolumn=5F0=20naming=20conv?= =?UTF-8?q?ention=20key=20would=20not=20work=20if=20the=20foreign=20key=20?= =?UTF-8?q?=20=20=20=20constraint=20were=20set=20up=20as=20a=20ForeignKey?= =?UTF-8?q?=20object=20rather=20than=20an=20explicit=20=20=20=20=20Foreign?= =?UTF-8?q?KeyConstraint=20object.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=209 --- SQLAlchemy-1.4.35.tar.gz | 3 --- SQLAlchemy-1.4.36.tar.gz | 3 +++ python-SQLAlchemy.changes | 23 +++++++++++++++++++++++ python-SQLAlchemy.spec | 2 +- 4 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 SQLAlchemy-1.4.35.tar.gz create mode 100644 SQLAlchemy-1.4.36.tar.gz diff --git a/SQLAlchemy-1.4.35.tar.gz b/SQLAlchemy-1.4.35.tar.gz deleted file mode 100644 index 132cf2f..0000000 --- a/SQLAlchemy-1.4.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ffc813b01dc6473990f5e575f210ca5ac2f5465ace3908b78ffd6d20058aab5 -size 8136388 diff --git a/SQLAlchemy-1.4.36.tar.gz b/SQLAlchemy-1.4.36.tar.gz new file mode 100644 index 0000000..f737bfa --- /dev/null +++ b/SQLAlchemy-1.4.36.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64678ac321d64a45901ef2e24725ec5e783f1f4a588305e196431447e7ace243 +size 8146415 diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index 30ac1a4..127247e 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed May 4 19:54:39 UTC 2022 - Dirk Müller + +- update to 1.4.36: + * details on https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.36 + * Fixed regression where the change made for #7861, released in version + 1.4.33, that brought the Insert construct to be partially recognized as an + ORM-enabled statement + * Modified the DeclarativeMeta metaclass to pass cls.__dict__ into the + declarative scanning process to look for attributes, rather than the + separate dictionary passed to the type’s __init__() method + * Fixed a memory leak in the C extensions which could occur when calling upon + named members of Row when the member does not exist under Python 3 + * Added a warning regarding a bug which exists in the Result.columns() method + when passing 0 for the index in conjunction with a Result that will return + a single ORM entity, which indicates that the current behavior of + Result.columns() is broken in this case as the Result object will yield scalar + values and not Row objects + * Fixed bug where ForeignKeyConstraint naming conventions using the + referred_column_0 naming convention key would not work if the foreign key + constraint were set up as a ForeignKey object rather than an explicit + ForeignKeyConstraint object. + ------------------------------------------------------------------- Wed Apr 20 08:25:03 UTC 2022 - pgajdos@suse.com diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 32a5ad8..eec5dec 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -20,7 +20,7 @@ %define skip_python2 1 %define oldpython python Name: python-SQLAlchemy -Version: 1.4.35 +Version: 1.4.36 Release: 0 Summary: Database Abstraction Library License: MIT