From c7d6061eb055c6216837d83277293e36fe23941edb3c70658d067a8ffa363c69 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 11 Mar 2019 05:18:08 +0000 Subject: [PATCH] Accepting request 683603 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/683603 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=135 --- SQLAlchemy-1.3.0.tar.gz | 3 --- SQLAlchemy-1.3.1.tar.gz | 3 +++ python-SQLAlchemy.changes | 21 +++++++++++++++++++++ python-SQLAlchemy.spec | 4 +--- test.patch | 36 ------------------------------------ 5 files changed, 25 insertions(+), 42 deletions(-) delete mode 100644 SQLAlchemy-1.3.0.tar.gz create mode 100644 SQLAlchemy-1.3.1.tar.gz delete mode 100644 test.patch diff --git a/SQLAlchemy-1.3.0.tar.gz b/SQLAlchemy-1.3.0.tar.gz deleted file mode 100644 index 4e90d07..0000000 --- a/SQLAlchemy-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11ead7047ff3f394ed0d4b62aded6c5d970a9b718e1dc6add9f5e79442cc5b14 -size 5862243 diff --git a/SQLAlchemy-1.3.1.tar.gz b/SQLAlchemy-1.3.1.tar.gz new file mode 100644 index 0000000..20b1e37 --- /dev/null +++ b/SQLAlchemy-1.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:781fb7b9d194ed3fc596b8f0dd4623ff160e3e825dd8c15472376a438c19598b +size 5864223 diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index 27fbe6e..913e878 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Sun Mar 10 16:34:50 UTC 2019 - Arun Persaud + +- specfile: + * removed test.patch (included upstream) + +- update to version 1.3.1: + * orm + + [orm] [bug] [ext] Fixed regression where an association proxy + linked to a synonym would no longer work, both at instance level + and at class level. References: #4522 + * mssql + + [mssql] [bug] A commit() is emitted after an isolation level + change to SNAPSHOT, as both pyodbc and pymssql open an implicit + transaction which blocks subsequent SQL from being emitted in + the current transaction. References: #4536 + + [mssql] [bug] Fixed regression in SQL Server reflection due to + #4393 where the removal of open-ended **kw from the Float + datatype caused reflection of this type to fail due to a “scale” + argument being passed. References: #4525 + ------------------------------------------------------------------- Wed Mar 6 13:27:40 UTC 2019 - Tomáš Chvátal diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 1b0a89e..1b18728 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-SQLAlchemy -Version: 1.3.0 +Version: 1.3.1 Release: 0 Summary: Database Abstraction Library License: MIT Group: Development/Languages/Python URL: http://www.sqlalchemy.org Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz -Patch0: test.patch # devel is needed for optional C extensions cprocessors.so, cresultproxy.so and cutils.so BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -68,7 +67,6 @@ reference for python-SQLAlchemy. %setup -q -n SQLAlchemy-%{version} rm -rf doc/build # Remove unnecessary scripts for building documentation sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py -%patch0 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" diff --git a/test.patch b/test.patch deleted file mode 100644 index 832c23b..0000000 --- a/test.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 3a2263fe7c244325748820840fb3084630f75705 Mon Sep 17 00:00:00 2001 -From: Mike Bayer -Date: Wed, 06 Mar 2019 08:18:26 -0500 -Subject: [PATCH] Loosen SingletonThreadPoolTest - -This test is non-critical as the SingletonThreadPool is -not production-level robust under multithreaded scenarios in -any case. - -Fixes: #4527 -Change-Id: Ie19ebd69438c97b2d8adb571f8f1b2c56894f7fb ---- - -diff --git a/test/engine/test_pool.py b/test/engine/test_pool.py -index 1aadd47..5979388 100644 ---- a/test/engine/test_pool.py -+++ b/test/engine/test_pool.py -@@ -15,6 +15,7 @@ - from sqlalchemy.testing import fixtures - from sqlalchemy.testing import is_ - from sqlalchemy.testing import is_not_ -+from sqlalchemy.testing import is_true - from sqlalchemy.testing.engines import testing_engine - from sqlalchemy.testing.mock import ANY - from sqlalchemy.testing.mock import call -@@ -1809,7 +1810,9 @@ - threads.append(th) - for th in threads: - th.join(join_timeout) -- eq_(len(p._all_conns), 3) -+ -+ lp = len(p._all_conns) -+ is_true(3 <= lp <=4) - - if strong_refs: - still_opened = len([c for c in sr if not c.close.call_count])