From ab81fedc5743294ca4469780ccb7ee95d6b81aaa7e7715eaed0d178541573c76 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Jun 2020 13:34:50 +0000 Subject: [PATCH 1/2] - update to 0.36.6: - Reverted #426 and added support for Legacy Encrypted Type (#450, pull request courtesy of rushilsrivastava) - Added psycopg2cffi support for create_database and drop_database (#447, pull request courtesy of DominicBurkart) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy-Utils?expand=0&rev=58 --- SQLAlchemy-Utils-0.36.5.tar.gz | 3 --- SQLAlchemy-Utils-0.36.6.tar.gz | 3 +++ python-SQLAlchemy-Utils.changes | 7 +++++++ python-SQLAlchemy-Utils.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 SQLAlchemy-Utils-0.36.5.tar.gz create mode 100644 SQLAlchemy-Utils-0.36.6.tar.gz diff --git a/SQLAlchemy-Utils-0.36.5.tar.gz b/SQLAlchemy-Utils-0.36.5.tar.gz deleted file mode 100644 index 468f1d8..0000000 --- a/SQLAlchemy-Utils-0.36.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:680068c4b671225c183815e19b6f4adc765a9989dd5d9e8e9c900ede30cc7434 -size 131216 diff --git a/SQLAlchemy-Utils-0.36.6.tar.gz b/SQLAlchemy-Utils-0.36.6.tar.gz new file mode 100644 index 0000000..9986c9e --- /dev/null +++ b/SQLAlchemy-Utils-0.36.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a7fab14bed80df065412bbf71a0a9b0bfeb4b7c111c2d9bffe57283082f3a6b +size 131690 diff --git a/python-SQLAlchemy-Utils.changes b/python-SQLAlchemy-Utils.changes index 231ab18..73964ac 100644 --- a/python-SQLAlchemy-Utils.changes +++ b/python-SQLAlchemy-Utils.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 8 13:33:49 UTC 2020 - Dirk Mueller + +- update to 0.36.6: + - Reverted #426 and added support for Legacy Encrypted Type (#450, pull request courtesy of rushilsrivastava) + - Added psycopg2cffi support for create_database and drop_database (#447, pull request courtesy of DominicBurkart) + ------------------------------------------------------------------- Sat May 9 16:12:59 UTC 2020 - Arun Persaud diff --git a/python-SQLAlchemy-Utils.spec b/python-SQLAlchemy-Utils.spec index aea98a1..97b2af1 100644 --- a/python-SQLAlchemy-Utils.spec +++ b/python-SQLAlchemy-Utils.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-SQLAlchemy-Utils -Version: 0.36.5 +Version: 0.36.6 Release: 0 Summary: Various utility functions for SQLAlchemy License: BSD-3-Clause From 45630863b2df22d9e16ecdf7ee97e3f2ebd0fa98ea849e4d41e99e1ab3b469d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2020 12:15:18 +0000 Subject: [PATCH 2/2] - Add missing deps - Reenable testsuite by skipping the tests needing pgsql OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy-Utils?expand=0&rev=59 --- python-SQLAlchemy-Utils.changes | 6 ++++++ python-SQLAlchemy-Utils.spec | 31 +++++++++++++++++++++++++++---- 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/python-SQLAlchemy-Utils.changes b/python-SQLAlchemy-Utils.changes index 73964ac..1734280 100644 --- a/python-SQLAlchemy-Utils.changes +++ b/python-SQLAlchemy-Utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 9 12:14:36 UTC 2020 - Tomáš Chvátal + +- Add missing deps +- Reenable testsuite by skipping the tests needing pgsql + ------------------------------------------------------------------- Mon Jun 8 13:33:49 UTC 2020 - Dirk Mueller diff --git a/python-SQLAlchemy-Utils.spec b/python-SQLAlchemy-Utils.spec index 97b2af1..bfd25aa 100644 --- a/python-SQLAlchemy-Utils.spec +++ b/python-SQLAlchemy-Utils.spec @@ -26,19 +26,26 @@ License: BSD-3-Clause URL: https://github.com/kvesteri/sqlalchemy-utils Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy-Utils/SQLAlchemy-Utils-%{version}.tar.gz BuildRequires: %{python_module Babel >= 1.3} +BuildRequires: %{python_module Jinja2 >= 2.3} +BuildRequires: %{python_module Pygments >= 1.2} BuildRequires: %{python_module SQLAlchemy >= 1.0} BuildRequires: %{python_module anyjson >= 0.3.3} BuildRequires: %{python_module arrow >= 0.3.4} BuildRequires: %{python_module colour >= 0.0.4} BuildRequires: %{python_module cryptography >= 0.6} +BuildRequires: %{python_module docutils >= 0.10} BuildRequires: %{python_module flexmock >= 0.9.7} BuildRequires: %{python_module furl >= 0.4.1} BuildRequires: %{python_module intervals >= 0.7.1} -BuildRequires: %{python_module mock} +BuildRequires: %{python_module mock >= 2.0.0} BuildRequires: %{python_module passlib >= 1.6} +BuildRequires: %{python_module pendulum >= 2.0.5} BuildRequires: %{python_module phonenumbers >= 5.9.2} +BuildRequires: %{python_module psycopg2 >= 2.5.1} +BuildRequires: %{python_module psycopg2cffi >= 2.8.1} +BuildRequires: %{python_module pyodbc} BuildRequires: %{python_module pytest >= 2.7.1} -BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module python-dateutil >= 2.6} BuildRequires: %{python_module pytz >= 2014.2} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} @@ -55,6 +62,7 @@ Recommends: python-dateutil Recommends: python-furl >= 0.4.1 Recommends: python-intervals >= 0.7.1 Recommends: python-passlib >= 1.6 +Recommends: python-pendulum >= 2.0.5 Recommends: python-phonenumbers >= 5.9.2 BuildArch: noarch %python_subpackages @@ -73,8 +81,23 @@ Various utility functions and custom data types for SQLAlchemy. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# requires initialized pgsql database -#%%pytest +# needs running pgsql / mssql / mysql +rm tests/test_asserts.py +rm tests/test_translation_hybrid.py +rm tests/aggregate/test_o2m_o2m_o2m.py +rm tests/aggregate/test_search_vectors.py +rm tests/aggregate/test_with_ondelete_cascade.py +rm tests/observes/test_column_property.py +rm tests/observes/test_m2m_m2m_m2m.py +rm tests/observes/test_o2m_o2o_o2m.py +rm tests/observes/test_o2m_o2m_o2m.py +rm tests/observes/test_o2o_o2o.py +rm tests/observes/test_o2o_o2o_o2o.py +rm tests/relationships/test_select_correlated_expression.py +rm tests/types/test_composite.py +rm tests/types/test_ltree.py +rm tests/types/test_tsvector.py +%pytest -k 'not (TestDatabasePostgres or TestDatabaseMssql or OnPostgres or OnMysql or TestPostgres or TestMysql or TestSortQueryRelationshipCounts or TestSortQueryWithPolymorphicInheritance or TestMaterializedViews or TestLazyEvaluatedSelectExpressionsForAggregates or TestAggregatesWithManyToManyRelationships or TestAggregateManyToManyAndManyToMany or TestAggregateOneToManyAndOneToMany or TestJSONSQL or TestJSONBSQL or TestSortQueryWithCustomPolymorphic or TestAggregateOneToManyAndManyToMany or test_timezone)' %files %{python_files} %license LICENSE