From 7768e53734e22725f9944e57133af8d6acb53d1a97f5a829d73a3be945615ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 19 Feb 2018 08:14:00 +0000 Subject: [PATCH] Accepting request 577789 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/577789 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=102 --- SQLAlchemy-1.2.2.tar.gz | 3 - SQLAlchemy-1.2.3.tar.gz | 3 + python-SQLAlchemy.changes | 114 ++++++++++++++++++++++++++++++++++++++ python-SQLAlchemy.spec | 2 +- 4 files changed, 118 insertions(+), 4 deletions(-) delete mode 100644 SQLAlchemy-1.2.2.tar.gz create mode 100644 SQLAlchemy-1.2.3.tar.gz diff --git a/SQLAlchemy-1.2.2.tar.gz b/SQLAlchemy-1.2.2.tar.gz deleted file mode 100644 index 4d20b20..0000000 --- a/SQLAlchemy-1.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64b4720f0a8e033db0154d3824f5bf677cf2797e11d44743cf0aebd2a0499d9d -size 5460157 diff --git a/SQLAlchemy-1.2.3.tar.gz b/SQLAlchemy-1.2.3.tar.gz new file mode 100644 index 0000000..5f46329 --- /dev/null +++ b/SQLAlchemy-1.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e9ec143e2e246f385cfb2de8daa89d2fa466279addcb7be9e102988fdf33d24 +size 5550800 diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index b7ac59c..660c49d 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,117 @@ +------------------------------------------------------------------- +Sun Feb 18 17:09:28 UTC 2018 - arun@gmx.de + +- update to version 1.2.3: + * orm + + [orm] [feature] Added new argument + attributes.set_attribute.inititator to the + attributes.set_attribute() function, allowing an event token + received from a listener function to be propagated to subsequent + set events. + + [orm] [bug] Fixed issue in post_update feature where an UPDATE + is emitted when the parent object has been deleted but the + dependent object is not. This issue has existed for a long time + however since 1.2 now asserts rows matched for post_update, this + was raising an error. This change is also backported to: 1.1.16 + References: #4187 + + [orm] [bug] Fixed regression caused by fix for issue #4116 + affecting versions 1.2.2 as well as 1.1.15, which had the effect + of mis-calculation of the “owning class” of an AssociationProxy + as the NoneType class in some declarative mixin/inheritance + situations as well as if the association proxy were accessed off + of an un-mapped class. The “figure out the owner” logic has been + replaced by an in-depth routine that searches through the + complete mapper hierarchy assigned to the class or subclass to + determine the correct (we hope) match; will not assign the owner + if no match is found. An exception is now raised if the proxy is + used against an un-mapped instance. This change is also + backported to: 1.1.16 References: #4185 + + [orm] [bug] Fixed bug where the Bundle object did not correctly + report upon the primary Mapper object represened by the bundle, + if any. An immediate side effect of this issue was that the new + selectinload loader strategy wouldn’t work with the horizontal + sharding extension. References: #4175 + + [orm] [bug] Fixed bug in concrete inheritance mapping where + user-defined attributes such as hybrid properties that mirror + the names of mapped attributes from sibling classes would be + overwritten by the mapper as non-accessible at the instance + level. Additionally ensured that user-bound descriptors are not + implicitly invoked at the class level during the mapper + configuration stage. References: #4188 + + [orm] [bug] Fixed bug where the orm.reconstructor() event helper + would not be recognized if it were applied to the __init__() + method of the mapped class. References: #4178 + * engine + + [engine] [bug] Fixed bug where events associated with an Engine + at the class level would be doubled when the + Engine.execution_options() method were used. To achieve this, + the semi-private class OptionEngine no longer accepts events + directly at the class level and will raise an error; the class + only propagates class-level events from its parent + Engine. Instance-level events continue to work as before. + References: #4181 + + [engine] [bug] The URL object now allows query keys to be + specified multiple times where their values will be joined into + a list. This is to support the plugins feature documented at + CreateEnginePlugin which documents that “plugin” can be passed + multiple times. Additionally, the plugin names can be passed to + create_engine() outside of the URL using the new + create_engine.plugins parameter. References: #4170 + * sql + + [sql] [feature] Added support for Enum to persist the values of + the enumeration, rather than the keys, when using a Python + pep-435 style enumerated object. The user supplies a callable + function that will return the string values to be + persisted. This allows enumerations against non-string values to + be value-persistable as well. Pull request courtesy Jon Snyder. + References: #3906 + + [sql] [bug] Fixed bug where the Enum type wouldn’t handle enum + “aliases” correctly, when more than one key refers to the same + value. Pull request courtesy Daniel Knell. References: #4180 + * postgresql + + [postgresql] [bug] Added “SSL SYSCALL error: Operation timed + out” to the list of messages that trigger a “disconnect” + scenario for the psycopg2 driver. Pull request courtesy André + Cruz. This change is also backported to: 1.1.16 + + [postgresql] [bug] Added “TRUNCATE” to the list of keywords + accepted by the Postgresql dialect as an “autocommit”-triggering + keyword. Pull request courtesy Jacob Hayes. This change is also + backported to: 1.1.16 + * sqlite + + [sqlite] [bug] Fixed the import error raised when a platform has + neither pysqlite2 nor sqlite3 installed, such that the + sqlite3-related import error is raised, not the pysqlite2 one + which is not the actual failure mode. Pull request courtesy + Robin. + * oracle + + [oracle] [feature] The ON DELETE options for foreign keys are + now part of Oracle reflection. Oracle does not support ON UPDATE + cascades. Pull request courtesy Miroslav Shubernetskiy. + + [oracle] [bug] Fixed bug in cx_Oracle disconnect detection, used + by pre_ping and other features, where an error could be raised + as DatabaseError which includes a numeric error code; previously + we weren’t checking in this case for a disconnect code. + References: #4182 + * misc + + [bug] [pool] Fixed a fairly serious connection pool bug where a + connection that is acquired after being refreshed as a result of + a user-defined DisconnectionError or due to the 1.2-released + “pre_ping” feature would not be correctly reset if the + connection were returned to the pool by weakref cleanup + (e.g. the front-facing object is garbage collected); the weakref + would still refer to the previously invalidated DBAPI connection + which would have the reset operation erroneously called upon it + instead. This would lead to stack traces in the logs and a + connection being checked into the pool without being reset, + which can cause locking issues. This change is also backported + to: 1.1.16 References: #4184 + + [bug] [tests] A test added in 1.2 thought to confirm a Python + 2.7 behavior turns out to be confirming the behavior only as of + Python 2.7.8. Python bug #8743 still impacts set comparison in + Python 2.7.7 and earlier, so the test in question involving + AssociationSet no longer runs for these older Python 2.7 + versions. References: #3265 + ------------------------------------------------------------------- Sun Jan 28 18:53:04 UTC 2018 - arun@gmx.de diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 77d57a4..a7afea0 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -21,7 +21,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-SQLAlchemy -Version: 1.2.2 +Version: 1.2.3 Release: 0 Url: http://www.sqlalchemy.org Summary: Database Abstraction Library