Hello community,

here is the log from the commit of package python-SQLAlchemy-Utils for 
openSUSE:Factory checked in at 2019-01-21 11:01:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-SQLAlchemy-Utils"

Mon Jan 21 11:01:48 2019 rev:17 rq:667299 version:0.33.11

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-SQLAlchemy-Utils/python-SQLAlchemy-Utils.changes
  2019-01-08 12:31:21.184084236 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-SQLAlchemy-Utils.new.28833/python-SQLAlchemy-Utils.changes
       2019-01-21 11:03:34.667025697 +0100
@@ -1,0 +2,7 @@
+Sun Jan 20 04:34:11 UTC 2019 - Arun Persaud <[email protected]>
+
+- update to version 0.33.11:
+  * Added support for creating and dropping a PostgreSQL database when
+    using pg8000 driver (#303, pull request courtesy of mohaseeb)
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-SQLAlchemy-Utils.spec ++++++
--- /var/tmp/diff_new_pack.HLnq9N/_old  2019-01-21 11:03:35.275024917 +0100
+++ /var/tmp/diff_new_pack.HLnq9N/_new  2019-01-21 11:03:35.275024917 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-SQLAlchemy-Utils
-Version:        0.33.10
+Version:        0.33.11
 Release:        0
 Summary:        Various utility functions for SQLAlchemy
 License:        BSD-3-Clause

++++++ SQLAlchemy-Utils-0.33.10.tar.gz -> SQLAlchemy-Utils-0.33.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.33.10/CHANGES.rst 
new/SQLAlchemy-Utils-0.33.11/CHANGES.rst
--- old/SQLAlchemy-Utils-0.33.10/CHANGES.rst    2018-12-27 12:42:21.000000000 
+0100
+++ new/SQLAlchemy-Utils-0.33.11/CHANGES.rst    2019-01-13 15:14:21.000000000 
+0100
@@ -4,6 +4,12 @@
 Here you can see the full list of changes between each SQLAlchemy-Utils 
release.
 
 
+0.33.11 (2019-01-13)
+^^^^^^^^^^^^^^^^^^^^
+
+- Added support for creating and dropping a PostgreSQL database when using 
pg8000 driver (#303, pull request courtesy of mohaseeb)
+
+
 0.33.10 (2018-12-27)
 ^^^^^^^^^^^^^^^^^^^^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.33.10/PKG-INFO 
new/SQLAlchemy-Utils-0.33.11/PKG-INFO
--- old/SQLAlchemy-Utils-0.33.10/PKG-INFO       2018-12-27 12:49:22.000000000 
+0100
+++ new/SQLAlchemy-Utils-0.33.11/PKG-INFO       2019-01-13 15:21:50.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: SQLAlchemy-Utils
-Version: 0.33.10
+Version: 0.33.11
 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.10/SQLAlchemy_Utils.egg-info/PKG-INFO 
new/SQLAlchemy-Utils-0.33.11/SQLAlchemy_Utils.egg-info/PKG-INFO
--- old/SQLAlchemy-Utils-0.33.10/SQLAlchemy_Utils.egg-info/PKG-INFO     
2018-12-27 12:49:22.000000000 +0100
+++ new/SQLAlchemy-Utils-0.33.11/SQLAlchemy_Utils.egg-info/PKG-INFO     
2019-01-13 15:21:49.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: SQLAlchemy-Utils
-Version: 0.33.10
+Version: 0.33.11
 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.10/SQLAlchemy_Utils.egg-info/requires.txt 
new/SQLAlchemy-Utils-0.33.11/SQLAlchemy_Utils.egg-info/requires.txt
--- old/SQLAlchemy-Utils-0.33.10/SQLAlchemy_Utils.egg-info/requires.txt 
2018-12-27 12:49:22.000000000 +0100
+++ new/SQLAlchemy-Utils-0.33.11/SQLAlchemy_Utils.egg-info/requires.txt 
2019-01-13 15:21:49.000000000 +0100
@@ -39,6 +39,7 @@
 flexmock>=0.9.7
 mock==2.0.0
 psycopg2>=2.5.1
+pg8000>=1.12.4
 pytz>=2014.2
 python-dateutil>=2.2
 pymysql
@@ -64,6 +65,7 @@
 flexmock>=0.9.7
 mock==2.0.0
 psycopg2>=2.5.1
+pg8000>=1.12.4
 pytz>=2014.2
 python-dateutil>=2.2
 pymysql
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SQLAlchemy-Utils-0.33.10/setup.py 
new/SQLAlchemy-Utils-0.33.11/setup.py
--- old/SQLAlchemy-Utils-0.33.10/setup.py       2018-11-19 08:53:23.000000000 
+0100
+++ new/SQLAlchemy-Utils-0.33.11/setup.py       2019-01-13 15:14:28.000000000 
+0100
@@ -31,6 +31,7 @@
         'flexmock>=0.9.7',
         'mock==2.0.0',
         'psycopg2>=2.5.1',
+        'pg8000>=1.12.4',
         'pytz>=2014.2',
         'python-dateutil>=2.2',
         'pymysql',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SQLAlchemy-Utils-0.33.10/sqlalchemy_utils/__init__.py 
new/SQLAlchemy-Utils-0.33.11/sqlalchemy_utils/__init__.py
--- old/SQLAlchemy-Utils-0.33.10/sqlalchemy_utils/__init__.py   2018-12-27 
12:42:25.000000000 +0100
+++ new/SQLAlchemy-Utils-0.33.11/sqlalchemy_utils/__init__.py   2019-01-13 
15:14:36.000000000 +0100
@@ -100,4 +100,4 @@
     refresh_materialized_view
 )
 
-__version__ = '0.33.10'
+__version__ = '0.33.11'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SQLAlchemy-Utils-0.33.10/sqlalchemy_utils/functions/database.py 
new/SQLAlchemy-Utils-0.33.11/sqlalchemy_utils/functions/database.py
--- old/SQLAlchemy-Utils-0.33.10/sqlalchemy_utils/functions/database.py 
2018-12-04 14:36:31.000000000 +0100
+++ new/SQLAlchemy-Utils-0.33.11/sqlalchemy_utils/functions/database.py 
2019-01-13 15:14:28.000000000 +0100
@@ -546,6 +546,8 @@
 
     if url.drivername == 'mssql+pyodbc':
         engine = sa.create_engine(url, connect_args={'autocommit': True})
+    elif url.drivername == 'postgresql+pg8000':
+        engine = sa.create_engine(url, isolation_level='AUTOCOMMIT')
     else:
         engine = sa.create_engine(url)
     result_proxy = None
@@ -614,6 +616,8 @@
 
     if url.drivername == 'mssql+pyodbc':
         engine = sa.create_engine(url, connect_args={'autocommit': True})
+    elif url.drivername == 'postgresql+pg8000':
+        engine = sa.create_engine(url, isolation_level='AUTOCOMMIT')
     else:
         engine = sa.create_engine(url)
     conn_resource = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/SQLAlchemy-Utils-0.33.10/tests/functions/test_database.py 
new/SQLAlchemy-Utils-0.33.11/tests/functions/test_database.py
--- old/SQLAlchemy-Utils-0.33.10/tests/functions/test_database.py       
2018-12-04 14:36:31.000000000 +0100
+++ new/SQLAlchemy-Utils-0.33.11/tests/functions/test_database.py       
2019-01-13 15:14:28.000000000 +0100
@@ -81,6 +81,16 @@
         create_database(dsn, template='my_template')
 
 
+class TestDatabasePostgresPg8000(DatabaseTest):
+
+    @pytest.fixture
+    def dsn(self, postgresql_db_user):
+        return 'postgresql+pg8000://{0}@localhost/{1}'.format(
+            postgresql_db_user,
+            'db_to_test_create_and_drop_via_pg8000_driver'
+        )
+
+
 @pytest.mark.usefixtures('postgresql_dsn')
 class TestDatabasePostgresWithQuotedName(DatabaseTest):
 


Reply via email to