Hello community,

here is the log from the commit of package python-SQLAlchemy-Utils for 
openSUSE:Factory checked in at 2018-09-18 11:44:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-SQLAlchemy-Utils"

Tue Sep 18 11:44:09 2018 rev:11 rq:636126 version:0.33.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils/python-SQLAlchemy-Utils.changes
  2018-05-08 13:38:49.854324337 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new/python-SQLAlchemy-Utils.changes
     2018-09-18 11:44:20.623853770 +0200
@@ -1,0 +2,11 @@
+Sun Sep 16 15:28:26 UTC 2018 - Arun Persaud <[email protected]>
+
+- specfile:
+  * remove devel from noarch
+  * be more specific in %files section
+
+- update to version 0.33.4:
+  * Made PasswordType use `hash` function instead of deprecated
+    `encrypt` function (#341, pull request courtesy of libre-man)
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-SQLAlchemy-Utils.spec ++++++
--- /var/tmp/diff_new_pack.tIEEZB/_old  2018-09-18 11:44:21.503852853 +0200
+++ /var/tmp/diff_new_pack.tIEEZB/_new  2018-09-18 11:44:21.503852853 +0200
@@ -12,13 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-SQLAlchemy-Utils
-Version:        0.33.3
+Version:        0.33.4
 Release:        0
 Summary:        Various utility functions for SQLAlchemy
 License:        BSD-3-Clause
@@ -26,7 +26,6 @@
 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 devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 Requires:       python-SQLAlchemy
@@ -48,6 +47,8 @@
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/*
+%dir %{python_sitelib}/sqlalchemy_utils
+%{python_sitelib}/sqlalchemy_utils/*
+%{python_sitelib}/SQLAlchemy_Utils-%{version}-py*.egg-info
 
 %changelog

++++++ SQLAlchemy-Utils-0.33.3.tar.gz -> SQLAlchemy-Utils-0.33.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.33.3/CHANGES.rst 
new/SQLAlchemy-Utils-0.33.4/CHANGES.rst
--- old/SQLAlchemy-Utils-0.33.3/CHANGES.rst     2018-04-29 09:12:35.000000000 
+0200
+++ new/SQLAlchemy-Utils-0.33.4/CHANGES.rst     2018-09-11 09:51:09.000000000 
+0200
@@ -3,6 +3,11 @@
 
 Here you can see the full list of changes between each SQLAlchemy-Utils 
release.
 
+0.33.4 (2018-09-11)
+^^^^^^^^^^^^^^^^^^^
+
+- Made PasswordType use `hash` function instead of deprecated `encrypt` 
function (#341, pull request courtesy of libre-man)
+
 
 0.33.3 (2018-04-29)
 ^^^^^^^^^^^^^^^^^^^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.33.3/PKG-INFO 
new/SQLAlchemy-Utils-0.33.4/PKG-INFO
--- old/SQLAlchemy-Utils-0.33.3/PKG-INFO        2018-04-29 09:24:56.000000000 
+0200
+++ new/SQLAlchemy-Utils-0.33.4/PKG-INFO        2018-09-11 09:52:29.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: SQLAlchemy-Utils
-Version: 0.33.3
+Version: 0.33.4
 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.33.3/SQLAlchemy_Utils.egg-info/PKG-INFO 
new/SQLAlchemy-Utils-0.33.4/SQLAlchemy_Utils.egg-info/PKG-INFO
--- old/SQLAlchemy-Utils-0.33.3/SQLAlchemy_Utils.egg-info/PKG-INFO      
2018-04-29 09:24:56.000000000 +0200
+++ new/SQLAlchemy-Utils-0.33.4/SQLAlchemy_Utils.egg-info/PKG-INFO      
2018-09-11 09:52:29.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: SQLAlchemy-Utils
-Version: 0.33.3
+Version: 0.33.4
 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.33.3/sqlalchemy_utils/__init__.py 
new/SQLAlchemy-Utils-0.33.4/sqlalchemy_utils/__init__.py
--- old/SQLAlchemy-Utils-0.33.3/sqlalchemy_utils/__init__.py    2018-04-29 
09:12:41.000000000 +0200
+++ new/SQLAlchemy-Utils-0.33.4/sqlalchemy_utils/__init__.py    2018-09-11 
09:51:22.000000000 +0200
@@ -99,4 +99,4 @@
     WeekDaysType
 )
 
-__version__ = '0.33.3'
+__version__ = '0.33.4'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SQLAlchemy-Utils-0.33.3/sqlalchemy_utils/types/password.py 
new/SQLAlchemy-Utils-0.33.4/sqlalchemy_utils/types/password.py
--- old/SQLAlchemy-Utils-0.33.3/sqlalchemy_utils/types/password.py      
2016-11-19 09:37:07.000000000 +0100
+++ new/SQLAlchemy-Utils-0.33.4/sqlalchemy_utils/types/password.py      
2018-09-11 09:49:17.000000000 +0200
@@ -205,16 +205,16 @@
 
     def process_bind_param(self, value, dialect):
         if isinstance(value, Password):
-            # If were given a password secret; encrypt it.
+            # If were given a password secret; hash it.
             if value.secret is not None:
-                return self.context.encrypt(value.secret).encode('utf8')
+                return self.context.hash(value.secret).encode('utf8')
 
             # Value has already been hashed.
             return value.hash
 
         if isinstance(value, six.string_types):
             # Assume value has not been hashed.
-            return self.context.encrypt(value).encode('utf8')
+            return self.context.hash(value).encode('utf8')
 
     def process_result_value(self, value, dialect):
         if value is not None:
@@ -227,16 +227,16 @@
 
         if not isinstance(value, Password):
             # Hash the password using the default scheme.
-            value = self.context.encrypt(value).encode('utf8')
+            value = self.context.hash(value).encode('utf8')
             return Password(value, context=self.context)
 
         else:
             # If were given a password object; ensure the context is right.
             value.context = weakref.proxy(self.context)
 
-            # If were given a password secret; encrypt it.
+            # If were given a password secret; hash it.
             if value.secret is not None:
-                value.hash = self.context.encrypt(value.secret).encode('utf8')
+                value.hash = self.context.hash(value.secret).encode('utf8')
                 value.secret = None
 
         return value


Reply via email to