Hello community,

here is the log from the commit of package python-SQLAlchemy-Utils for 
openSUSE:Factory checked in at 2019-07-24 20:36:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-SQLAlchemy-Utils"

Wed Jul 24 20:36:35 2019 rev:19 rq:718175 version:0.34.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils/python-SQLAlchemy-Utils.changes
  2019-06-17 10:34:37.357225729 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new.4126/python-SQLAlchemy-Utils.changes
        2019-07-24 20:36:36.410567031 +0200
@@ -1,0 +2,14 @@
+Wed Jul 24 10:05:50 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Run fdupes
+- Add missing deps and recommends
+
+-------------------------------------------------------------------
+Sun Jul 21 17:08:23 UTC 2019 - Arun Persaud <[email protected]>
+
+- update to version 0.34.1:
+  * Remove deprecation warnings (#379, pull request courtesy of
+    Le-Stagiaire)
+  * Drop py34 support
+
+-------------------------------------------------------------------

Old:
----
  SQLAlchemy-Utils-0.34.0.tar.gz

New:
----
  SQLAlchemy-Utils-0.34.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-SQLAlchemy-Utils.spec ++++++
--- /var/tmp/diff_new_pack.oMon0B/_old  2019-07-24 20:36:37.814566877 +0200
+++ /var/tmp/diff_new_pack.oMon0B/_new  2019-07-24 20:36:37.846566874 +0200
@@ -18,18 +18,51 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-SQLAlchemy-Utils
-Version:        0.34.0
+Version:        0.34.1
 Release:        0
 Summary:        Various utility functions for SQLAlchemy
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 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 SQLAlchemy}
+BuildRequires:  %{python_module Babel >= 1.3}
+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 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 passlib >= 1.6}
+BuildRequires:  %{python_module phonenumbers >= 5.9.2}
+BuildRequires:  %{python_module pytest >= 2.7.1}
+BuildRequires:  %{python_module python-dateutil}
+BuildRequires:  %{python_module pytz >= 2014.2}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  fdupes
+BuildRequires:  python-enum34
+BuildRequires:  python-ipaddr
 BuildRequires:  python-rpm-macros
-Requires:       python-SQLAlchemy
+Requires:       python-SQLAlchemy >= 1.0
+Requires:       python-six
+Recommends:     python-Babel >= 1.3
+Recommends:     python-anyjson >= 0.3.3
+Recommends:     python-arrow >= 0.3.4
+Recommends:     python-colour >= 0.0.4
+Recommends:     python-cryptography >= 0.6
+Recommends:     python-dateutil
+Recommends:     python-furl >= 0.4.1
+Recommends:     python-intervals >= 0.7.1
+Recommends:     python-passlib >= 1.6
+Recommends:     python-phonenumbers >= 5.9.2
 BuildArch:      noarch
+%ifpython2
+Requires:       python-enum34
+Requires:       python-ipaddr
+%endif
 %python_subpackages
 
 %description
@@ -43,6 +76,11 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+# requires initialized pgsql database
+#%%pytest
 
 %files %{python_files}
 %license LICENSE

++++++ SQLAlchemy-Utils-0.34.0.tar.gz -> SQLAlchemy-Utils-0.34.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.34.0/CHANGES.rst 
new/SQLAlchemy-Utils-0.34.1/CHANGES.rst
--- old/SQLAlchemy-Utils-0.34.0/CHANGES.rst     2019-06-09 15:01:31.000000000 
+0200
+++ new/SQLAlchemy-Utils-0.34.1/CHANGES.rst     2019-07-15 14:45:22.000000000 
+0200
@@ -4,6 +4,13 @@
 Here you can see the full list of changes between each SQLAlchemy-Utils 
release.
 
 
+0.34.1 (2019-07-15)
+^^^^^^^^^^^^^^^^^^^
+
+- Remove deprecation warnings (#379, pull request courtesy of Le-Stagiaire)
+- Drop py34 support
+
+
 0.34.0 (2019-06-09)
 ^^^^^^^^^^^^^^^^^^^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.34.0/PKG-INFO 
new/SQLAlchemy-Utils-0.34.1/PKG-INFO
--- old/SQLAlchemy-Utils-0.34.0/PKG-INFO        2019-06-09 15:13:59.000000000 
+0200
+++ new/SQLAlchemy-Utils-0.34.1/PKG-INFO        2019-07-15 15:04:41.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: SQLAlchemy-Utils
-Version: 0.34.0
+Version: 0.34.1
 Summary: Various utility functions for SQLAlchemy.
 Home-page: https://github.com/kvesteri/sqlalchemy-utils
 Author: Konsta Vesterinen, Ryan Leckey, Janne Vanhala, Vesa Uimonen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SQLAlchemy-Utils-0.34.0/SQLAlchemy_Utils.egg-info/PKG-INFO 
new/SQLAlchemy-Utils-0.34.1/SQLAlchemy_Utils.egg-info/PKG-INFO
--- old/SQLAlchemy-Utils-0.34.0/SQLAlchemy_Utils.egg-info/PKG-INFO      
2019-06-09 15:13:58.000000000 +0200
+++ new/SQLAlchemy-Utils-0.34.1/SQLAlchemy_Utils.egg-info/PKG-INFO      
2019-07-15 15:04:41.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: SQLAlchemy-Utils
-Version: 0.34.0
+Version: 0.34.1
 Summary: Various utility functions for SQLAlchemy.
 Home-page: https://github.com/kvesteri/sqlalchemy-utils
 Author: Konsta Vesterinen, Ryan Leckey, Janne Vanhala, Vesa Uimonen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.34.0/sqlalchemy_utils/__init__.py 
new/SQLAlchemy-Utils-0.34.1/sqlalchemy_utils/__init__.py
--- old/SQLAlchemy-Utils-0.34.0/sqlalchemy_utils/__init__.py    2019-06-09 
15:01:52.000000000 +0200
+++ new/SQLAlchemy-Utils-0.34.1/sqlalchemy_utils/__init__.py    2019-07-15 
15:04:24.000000000 +0200
@@ -100,4 +100,4 @@
     refresh_materialized_view
 )
 
-__version__ = '0.34.0'
+__version__ = '0.34.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SQLAlchemy-Utils-0.34.0/sqlalchemy_utils/functions/database.py 
new/SQLAlchemy-Utils-0.34.1/sqlalchemy_utils/functions/database.py
--- old/SQLAlchemy-Utils-0.34.0/sqlalchemy_utils/functions/database.py  
2019-06-09 14:59:02.000000000 +0200
+++ new/SQLAlchemy-Utils-0.34.1/sqlalchemy_utils/functions/database.py  
2019-07-15 14:44:13.000000000 +0200
@@ -1,4 +1,7 @@
-import collections
+try:
+    from collections.abc import Mapping, Sequence
+except ImportError:  # For python 2.7 support
+    from collections import Mapping, Sequence
 import itertools
 import os
 from copy import copy
@@ -167,7 +170,7 @@
         def scalar_convert(a):
             return sa.func.to_json(sa.text(a))
 
-    if isinstance(value, collections.Mapping):
+    if isinstance(value, Mapping):
         return sa.func.json_build_object(
             *(
                 json_sql(v, scalars_to_json=False)
@@ -176,7 +179,7 @@
         )
     elif isinstance(value, str):
         return scalar_convert("'{0}'".format(value))
-    elif isinstance(value, collections.Sequence):
+    elif isinstance(value, Sequence):
         return sa.func.json_build_array(
             *(
                 json_sql(v, scalars_to_json=False)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SQLAlchemy-Utils-0.34.0/tests/types/test_composite.py 
new/SQLAlchemy-Utils-0.34.1/tests/types/test_composite.py
--- old/SQLAlchemy-Utils-0.34.0/tests/types/test_composite.py   2016-04-25 
16:20:07.000000000 +0200
+++ new/SQLAlchemy-Utils-0.34.1/tests/types/test_composite.py   2019-07-15 
14:44:13.000000000 +0200
@@ -2,6 +2,7 @@
 import pytest
 import sqlalchemy as sa
 from sqlalchemy.orm import sessionmaker
+from sqlalchemy.orm.session import close_all_sessions
 
 from sqlalchemy_utils import (
     CompositeArray,
@@ -324,7 +325,7 @@
             session.execute('DROP TABLE account')
             session.execute('DROP TYPE money_type')
             session.commit()
-            session.close_all()
+            close_all_sessions()
             connection.close()
             remove_composite_listeners()
             engine.dispose()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.34.0/tests/types/test_password.py 
new/SQLAlchemy-Utils-0.34.1/tests/types/test_password.py
--- old/SQLAlchemy-Utils-0.34.0/tests/types/test_password.py    2016-11-19 
09:37:07.000000000 +0100
+++ new/SQLAlchemy-Utils-0.34.1/tests/types/test_password.py    2019-07-15 
14:44:13.000000000 +0200
@@ -109,7 +109,7 @@
         from passlib.hash import md5_crypt
 
         obj = User()
-        obj.password = Password(md5_crypt.encrypt('b'))
+        obj.password = Password(md5_crypt.hash('b'))
 
         assert obj.password.hash.decode('utf8').startswith('$1$')
         assert obj.password == 'b'
@@ -139,10 +139,10 @@
         from passlib.hash import md5_crypt
 
         obj = User()
-        obj.password = Password(md5_crypt.encrypt('b'))
+        obj.password = Password(md5_crypt.hash('b'))
 
         other = User()
-        other.password = Password(md5_crypt.encrypt('b'))
+        other.password = Password(md5_crypt.hash('b'))
 
         # Not sure what to assert here; the test raised an error before.
         assert obj.password != other.password
@@ -203,7 +203,7 @@
         from passlib.hash import md5_crypt
 
         obj = User()
-        obj.password = Password(md5_crypt.encrypt('b'))
+        obj.password = Password(md5_crypt.hash('b'))
 
         session.add(obj)
         session.commit()


Reply via email to