17
0

Accepting request 599639 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/599639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=50
This commit is contained in:
2018-04-26 11:37:26 +00:00
committed by Git OBS Bridge
4 changed files with 52 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cb00cc9b9f92ef8b4391c8a2051f81eeafefe32d63c6b395fd51401e9a39edb
size 5565074

3
SQLAlchemy-1.2.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6cda03b0187d6ed796ff70e87c9a7dce2c2c9650a7bc3c022cd331416853c31
size 5571719

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Sat Apr 21 16:35:48 UTC 2018 - arun@gmx.de
- update to version 1.2.7:
* orm
+ [orm] [bug] Fixed regression in 1.2 within sharded query feature
where the new “identity_token” element was not being correctly
considered within the scope of a lazy load operation, when
searching the identity map for a related many-to-one
element. The new behavior will allow for making use of the
“id_chooser” in order to determine the best identity key to
retrieve from the identity map. In order to achieve this, some
refactoring of 1.2s “identity_token” approach has made some
slight changes to the implementation of ShardedQuery which
should be noted for other derivations of this class.
References: #4228
+ [orm] [bug] Fixed issue in single-inheritance loading where the
use of an aliased entity against a single-inheritance subclass
in conjunction with the Query.select_from() method would cause
the SQL to be rendered with the unaliased table mixed in to the
query, causing a cartesian product. In particular this was
affecting the new “selectin” loader when used against a
single-inheritance subclass. References: #4241
* sql
+ [sql] [bug] Fixed issue where the compilation of an INSERT
statement with the “literal_binds” option that also uses an
explicit sequence and “inline” generation, as on Postgresql and
Oracle, would fail to accommodate the extra keyword argument
within the sequence processing routine. References: #4231
* postgresql
+ [postgresql] [feature] Added new PG type postgresql.REGCLASS
which assists in casting table names to OID values. Pull request
courtesy Sebastian Bank. References: #4160
+ [postgresql] [bug] Fixed bug where the special “not equals”
operator for the Postgresql “range” datatypes such as DATERANGE
would fail to render “IS NOT NULL” when compared to the Python
None value. References: #4229
* mssql
+ [mssql] [bug] Fixed 1.2 regression caused by #4060 where the
query used to reflect SQL Server cross-schema foreign keys was
limiting the criteria incorrectly. References: #4234
* oracle
+ [oracle] [bug] The Oracle NUMBER datatype is reflected as
INTEGER if the precision is NULL and the scale is zero, as this
is how INTEGER values come back when reflected from Oracles
tables. Pull request courtesy Kent Bower.
-------------------------------------------------------------------
Sun Apr 1 22:17:46 UTC 2018 - arun@gmx.de

View File

@@ -20,12 +20,12 @@
%define oldpython python
%bcond_without tests
Name: python-SQLAlchemy
Version: 1.2.6
Version: 1.2.7
Release: 0
Summary: Database Abstraction Library
License: MIT
Group: Development/Languages/Python
Url: http://www.sqlalchemy.org
URL: http://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
BuildRequires: %{python_module devel}
# Test requirements: