From 7e0b551e770ff560a7b212f11ceccb70e708522934694aa8a9387212e1f2043d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 4 Jun 2022 08:51:19 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.4.37=20=20=20*=20details=20?= =?UTF-8?q?on=20https://docs.sqlalchemy.org/en/14/changelog/changelog=5F14?= =?UTF-8?q?.html#change-1.4.37=20=20=20*=20Fixed=20issue=20where=20using?= =?UTF-8?q?=20a=20column=5Fproperty()=20construct=20containing=20a=20subqu?= =?UTF-8?q?ery=20=20=20=20=20against=20an=20already-mapped=20column=20attr?= =?UTF-8?q?ibute=20would=20not=20correctly=20apply=20=20=20=20=20ORM-compi?= =?UTF-8?q?lation=20behaviors=20to=20the=20subquery,=20including=20that=20?= =?UTF-8?q?the=20=E2=80=9CIN=E2=80=9D=20expression=20=20=20=20=20added=20f?= =?UTF-8?q?or=20a=20single-table=20inherits=20expression=20would=20fail=20?= =?UTF-8?q?to=20be=20included.=20=20=20*=20Fixed=20issue=20where=20ORM=20r?= =?UTF-8?q?esults=20would=20apply=20incorrect=20key=20names=20to=20the=20?= =?UTF-8?q?=20=20=20=20returned=20Row=20objects=20in=20the=20case=20where?= =?UTF-8?q?=20the=20set=20of=20columns=20to=20be=20selected=20=20=20=20=20?= =?UTF-8?q?were=20changed,=20such=20as=20when=20using=20Select.with=5Fonly?= =?UTF-8?q?=5Fcolumns().=20=20=20*=20Fixed=20bug,=20likely=20a=20regressio?= =?UTF-8?q?n=20from=201.3,=20where=20usage=20of=20column=20names=20that=20?= =?UTF-8?q?=20=20=20=20require=20bound=20parameter=20escaping,=20more=20co?= =?UTF-8?q?ncretely=20when=20using=20Oracle=20with=20=20=20=20=20column=20?= =?UTF-8?q?names=20that=20require=20quoting=20such=20as=20those=20that=20s?= =?UTF-8?q?tart=20with=20an=20=20=20=20=20underscore,=20or=20in=20less=20c?= =?UTF-8?q?ommon=20cases=20with=20some=20PostgreSQL=20drivers=20when=20usi?= =?UTF-8?q?ng=20=20=20=20=20column=20names=20that=20contain=20percent=20si?= =?UTF-8?q?gns,=20would=20cause=20the=20ORM=20versioning=20=20=20=20=20fea?= =?UTF-8?q?ture=20to=20not=20work=20correctly=20if=20the=20versioning=20co?= =?UTF-8?q?lumn=20itself=20had=20such=20a=20=20=20=20=20name,=20as=20the?= =?UTF-8?q?=20ORM=20assumes=20certain=20bound=20parameter=20naming=20conve?= =?UTF-8?q?ntions=20that=20=20=20=20=20were=20being=20interfered=20with=20?= =?UTF-8?q?via=20the=20quotes.=20This=20issue=20is=20related=20to=20#8053?= =?UTF-8?q?=20=20=20=20=20and=20essentially=20revises=20the=20approach=20t?= =?UTF-8?q?owards=20fixing=20this,=20revising=20the=20=20=20=20=20original?= =?UTF-8?q?=20issue=20#5653=20that=20created=20the=20initial=20implementat?= =?UTF-8?q?ion=20for=20=20=20=20=20generalized=20bound-parameter=20name=20?= =?UTF-8?q?quoting.?= 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=211 --- SQLAlchemy-1.4.36.tar.gz | 3 --- SQLAlchemy-1.4.37.tar.gz | 3 +++ python-SQLAlchemy.changes | 24 ++++++++++++++++++++++++ python-SQLAlchemy.spec | 2 +- 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 SQLAlchemy-1.4.36.tar.gz create mode 100644 SQLAlchemy-1.4.37.tar.gz diff --git a/SQLAlchemy-1.4.36.tar.gz b/SQLAlchemy-1.4.36.tar.gz deleted file mode 100644 index f737bfa..0000000 --- a/SQLAlchemy-1.4.36.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64678ac321d64a45901ef2e24725ec5e783f1f4a588305e196431447e7ace243 -size 8146415 diff --git a/SQLAlchemy-1.4.37.tar.gz b/SQLAlchemy-1.4.37.tar.gz new file mode 100644 index 0000000..ca9cbff --- /dev/null +++ b/SQLAlchemy-1.4.37.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3688f92c62db6c5df268e2264891078f17ecb91e3141b400f2e28d0f75796dea +size 8155965 diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index 127247e..dc2387a 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sat Jun 4 08:49:42 UTC 2022 - Dirk Müller + +- update to 1.4.37 + * details on https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.37 + * Fixed issue where using a column_property() construct containing a subquery + against an already-mapped column attribute would not correctly apply + ORM-compilation behaviors to the subquery, including that the “IN” expression + added for a single-table inherits expression would fail to be included. + * Fixed issue where ORM results would apply incorrect key names to the + returned Row objects in the case where the set of columns to be selected + were changed, such as when using Select.with_only_columns(). + * Fixed bug, likely a regression from 1.3, where usage of column names that + require bound parameter escaping, more concretely when using Oracle with + column names that require quoting such as those that start with an + underscore, or in less common cases with some PostgreSQL drivers when using + column names that contain percent signs, would cause the ORM versioning + feature to not work correctly if the versioning column itself had such a + name, as the ORM assumes certain bound parameter naming conventions that + were being interfered with via the quotes. This issue is related to #8053 + and essentially revises the approach towards fixing this, revising the + original issue #5653 that created the initial implementation for + generalized bound-parameter name quoting. + ------------------------------------------------------------------- Wed May 4 19:54:39 UTC 2022 - Dirk Müller diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index eec5dec..8fa71ff 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.36 +Version: 1.4.37 Release: 0 Summary: Database Abstraction Library License: MIT