Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oslo.db for openSUSE:Factory 
checked in at 2021-05-10 15:37:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.db (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.db.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.db"

Mon May 10 15:37:38 2021 rev:22 rq:889992 version:8.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.db/python-oslo.db.changes    
2020-10-26 16:17:18.134982852 +0100
+++ /work/SRC/openSUSE:Factory/.python-oslo.db.new.2988/python-oslo.db.changes  
2021-05-10 15:39:49.329455685 +0200
@@ -1,0 +2,11 @@
+Sun May  2 17:13:27 UTC 2021 - [email protected]
+
+- update to version 8.5.0
+  - Deprecate 'oslo_db.sqlalchemy.migration' module
+  - Deprecate the 'oslo_db.sqlalchemy.migration_cli' module
+  - Adding pre-commit
+  - Update master for stable/victoria
+  - Add Python3 wallaby unit tests
+  - Imported Translations from Zanata
+
+-------------------------------------------------------------------

Old:
----
  oslo.db-8.4.0.tar.gz

New:
----
  oslo.db-8.5.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.db.spec ++++++
--- /var/tmp/diff_new_pack.p2t1eD/_old  2021-05-10 15:39:49.765453901 +0200
+++ /var/tmp/diff_new_pack.p2t1eD/_new  2021-05-10 15:39:49.769453884 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.db
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           python-oslo.db
-Version:        8.4.0
+Version:        8.5.0
 Release:        0
 Summary:        OpenStack oslo.db library
 License:        Apache-2.0
 Group:          Development/Languages/Python
-URL:            https://launchpad.net/oslo.db
-Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.db/oslo.db-8.4.0.tar.gz
+URL:            https://docs.openstack.org/oslo.db
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.db/oslo.db-8.5.0.tar.gz
 BuildRequires:  openstack-macros
 BuildRequires:  python3-PyMySQL
 BuildRequires:  python3-alembic >= 0.9.6
@@ -51,13 +51,12 @@
 %description
 The OpenStack Oslo database handling library. Provides database connectivity
 to the different backends and helper utils.
-* Documentation: https://docs.openstack.org/developer/oslo.db
-* Source: http://git.openstack.org/cgit/openstack/oslo.db
-* Bugs: https://bugs.launchpad.net/oslo
+* Documentation: https://docs.openstack.org/oslo.db/latest/
+* Source: https://opendev.org/openstack/oslo.db/
+* Bugs: https://bugs.launchpad.net/oslo.db
 
 %package -n python3-oslo.db
 Summary:        OpenStack oslo.db library
-Group:          Development/Languages/Python
 Requires:       python3-PyMySQL
 Requires:       python3-SQLAlchemy >= 1.2.0
 Requires:       python3-alembic >= 0.9.6
@@ -76,9 +75,9 @@
 %description -n python3-oslo.db
 The OpenStack Oslo database handling library. Provides database connectivity
 to the different backends and helper utils.
-* Documentation: https://docs.openstack.org/developer/oslo.db
-* Source: http://git.openstack.org/cgit/openstack/oslo.db
-* Bugs: https://bugs.launchpad.net/oslo
+* Documentation: https://docs.openstack.org/oslo.db/latest/
+* Source: https://opendev.org/openstack/oslo.db/
+* Bugs: https://bugs.launchpad.net/oslo.db
 
 This package contains the Python 3.x module.
 
@@ -93,7 +92,7 @@
 Documentation for the Oslo database handling library.
 
 %prep
-%autosetup -p1 -n oslo.db-8.4.0
+%autosetup -p1 -n oslo.db-8.5.0
 %py_req_cleanup
 
 %build

++++++ _service ++++++
--- /var/tmp/diff_new_pack.p2t1eD/_old  2021-05-10 15:39:49.797453770 +0200
+++ /var/tmp/diff_new_pack.p2t1eD/_new  2021-05-10 15:39:49.801453753 +0200
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/victoria/openstack/oslo.db/oslo.db.spec.j2</param>
+    <param 
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/wallaby/openstack/oslo.db/oslo.db.spec.j2</param>
     <param name="output-name">python-oslo.db.spec</param>
-    <param 
name="requirements">https://opendev.org/openstack/oslo.db/raw/branch/stable/victoria/requirements.txt</param>
+    <param 
name="requirements">https://opendev.org/openstack/oslo.db/raw/branch/stable/wallaby/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>
     <param name="changelog-provider">gh,openstack,oslo.db</param>
   </service>

++++++ oslo.db-8.4.0.tar.gz -> oslo.db-8.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/.pre-commit-config.yaml 
new/oslo.db-8.5.0/.pre-commit-config.yaml
--- old/oslo.db-8.4.0/.pre-commit-config.yaml   1970-01-01 01:00:00.000000000 
+0100
+++ new/oslo.db-8.5.0/.pre-commit-config.yaml   2020-12-04 09:42:22.000000000 
+0100
@@ -0,0 +1,35 @@
+# We from the Oslo project decided to pin repos based on the
+# commit hash instead of the version tag to prevend arbitrary
+# code from running in developer's machines.  To update to a
+# newer version, run `pre-commit autoupdate` and then replace
+# the newer versions with their commit hash.
+
+default_language_version:
+  python: python3
+
+repos:
+  - repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: ebc15addedad713c86ef18ae9632c88e187dd0af  # v3.1.0
+    hooks:
+      - id: trailing-whitespace
+      # Replaces or checks mixed line ending
+      - id: mixed-line-ending
+        args: ['--fix', 'lf']
+        exclude: '.*\.(svg)$'
+      # Forbid files which have a UTF-8 byte-order marker
+      - id: check-byte-order-marker
+      # Checks that non-binary executables have a proper shebang
+      - id: check-executables-have-shebangs
+      # Check for files that contain merge conflict strings.
+      - id: check-merge-conflict
+      # Check for debugger imports and py37+ breakpoint()
+      # calls in python source
+      - id: debug-statements
+      - id: check-yaml
+        files: .*\.(yaml|yml)$
+  - repo: https://gitlab.com/pycqa/flake8
+    rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3
+    hooks:
+      - id: flake8
+        additional_dependencies:
+          - hacking>=3.0.1,<3.1.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/.zuul.yaml new/oslo.db-8.5.0/.zuul.yaml
--- old/oslo.db-8.4.0/.zuul.yaml        2020-09-11 21:18:17.000000000 +0200
+++ new/oslo.db-8.5.0/.zuul.yaml        2020-12-04 09:42:22.000000000 +0100
@@ -3,7 +3,7 @@
       - check-requirements
       - lib-forward-testing-python3
       - openstack-lower-constraints-jobs
-      - openstack-python3-victoria-jobs
+      - openstack-python3-wallaby-jobs
       - periodic-stable-jobs
       - publish-openstack-docs-pti
       - release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/ChangeLog new/oslo.db-8.5.0/ChangeLog
--- old/oslo.db-8.4.0/ChangeLog 2020-09-11 21:20:08.000000000 +0200
+++ new/oslo.db-8.5.0/ChangeLog 2020-12-04 09:42:48.000000000 +0100
@@ -1,6 +1,16 @@
 CHANGES
 =======
 
+8.5.0
+-----
+
+* Deprecate the 'oslo\_db.sqlalchemy.migration\_cli' module
+* Deprecate 'oslo\_db.sqlalchemy.migration' module
+* Imported Translations from Zanata
+* Adding pre-commit
+* Add Python3 wallaby unit tests
+* Update master for stable/victoria
+
 8.4.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/PKG-INFO new/oslo.db-8.5.0/PKG-INFO
--- old/oslo.db-8.4.0/PKG-INFO  2020-09-11 21:20:08.000000000 +0200
+++ new/oslo.db-8.5.0/PKG-INFO  2020-12-04 09:42:49.216502200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: oslo.db
-Version: 8.4.0
+Version: 8.5.0
 Summary: Oslo Database library
 Home-page: https://docs.openstack.org/oslo.db/latest
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/doc/source/conf.py 
new/oslo.db-8.5.0/doc/source/conf.py
--- old/oslo.db-8.4.0/doc/source/conf.py        2020-09-11 21:18:17.000000000 
+0200
+++ new/oslo.db-8.5.0/doc/source/conf.py        2020-12-04 09:42:22.000000000 
+0100
@@ -1,15 +1,17 @@
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
+# -*- coding: utf-8 -*-
+# Copyright (C) 2020 Red Hat, Inc.
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-# implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
 
 # -- General configuration ----------------------------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/oslo.db.egg-info/PKG-INFO 
new/oslo.db-8.5.0/oslo.db.egg-info/PKG-INFO
--- old/oslo.db-8.4.0/oslo.db.egg-info/PKG-INFO 2020-09-11 21:20:08.000000000 
+0200
+++ new/oslo.db-8.5.0/oslo.db.egg-info/PKG-INFO 2020-12-04 09:42:49.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: oslo.db
-Version: 8.4.0
+Version: 8.5.0
 Summary: Oslo Database library
 Home-page: https://docs.openstack.org/oslo.db/latest
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/oslo.db.egg-info/SOURCES.txt 
new/oslo.db-8.5.0/oslo.db.egg-info/SOURCES.txt
--- old/oslo.db-8.4.0/oslo.db.egg-info/SOURCES.txt      2020-09-11 
21:20:08.000000000 +0200
+++ new/oslo.db-8.5.0/oslo.db.egg-info/SOURCES.txt      2020-12-04 
09:42:49.000000000 +0100
@@ -1,5 +1,6 @@
 .coveragerc
 .mailmap
+.pre-commit-config.yaml
 .stestr.conf
 .zuul.yaml
 AUTHORS
@@ -93,6 +94,7 @@
 releasenotes/notes/add_facade_started-14f9bc34fac89371.yaml
 releasenotes/notes/connection_debug_min_max-bf6d53d49be7ca52.yaml
 releasenotes/notes/deprecate-insert-from-select-ea831381ebd7e7cf.yaml
+releasenotes/notes/deprecate-sqlalchemy-migrate-6f899935615d6984.yaml
 releasenotes/notes/deprecate_config_sqlite_db-bd41d49343049319.yaml
 releasenotes/notes/deprecate_idle_timeout-029d9f2cb7184b28.yaml
 releasenotes/notes/drop-python27-support-2308d7fbcd66cc22.yaml
@@ -117,6 +119,7 @@
 releasenotes/source/train.rst
 releasenotes/source/unreleased.rst
 releasenotes/source/ussuri.rst
+releasenotes/source/victoria.rst
 releasenotes/source/_static/.placeholder
 releasenotes/source/_templates/.placeholder
 releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/oslo.db.egg-info/pbr.json 
new/oslo.db-8.5.0/oslo.db.egg-info/pbr.json
--- old/oslo.db-8.4.0/oslo.db.egg-info/pbr.json 2020-09-11 21:20:08.000000000 
+0200
+++ new/oslo.db-8.5.0/oslo.db.egg-info/pbr.json 2020-12-04 09:42:49.000000000 
+0100
@@ -1 +1 @@
-{"git_version": "e42c733", "is_release": true}
\ No newline at end of file
+{"git_version": "503db60", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/oslo.db.egg-info/requires.txt 
new/oslo.db-8.5.0/oslo.db.egg-info/requires.txt
--- old/oslo.db-8.4.0/oslo.db.egg-info/requires.txt     2020-09-11 
21:20:08.000000000 +0200
+++ new/oslo.db-8.5.0/oslo.db.egg-info/requires.txt     2020-12-04 
09:42:49.000000000 +0100
@@ -26,6 +26,7 @@
 oslo.context>=2.19.2
 oslotest>=3.2.0
 pifpaf>=0.10.0
+pre-commit>=2.6.0
 psycopg2>=2.8.0
 python-subunit>=1.0.0
 stestr>=2.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/oslo_db/sqlalchemy/migration.py 
new/oslo.db-8.5.0/oslo_db/sqlalchemy/migration.py
--- old/oslo.db-8.4.0/oslo_db/sqlalchemy/migration.py   2020-09-11 
21:18:17.000000000 +0200
+++ new/oslo.db-8.5.0/oslo_db/sqlalchemy/migration.py   2020-12-04 
09:42:22.000000000 +0100
@@ -41,6 +41,7 @@
 
 import os
 
+from debtcollector import removals
 from migrate import exceptions as versioning_exceptions
 from migrate.versioning import api as versioning_api
 from migrate.versioning.repository import Repository
@@ -50,6 +51,13 @@
 from oslo_db import exception
 
 
+_removed_msg = (
+    'sqlalchemy-migrate support in oslo_db is deprecated; consider '
+    'migrating to alembic'
+)
+
+
[email protected](message=_removed_msg, version='8.3.0')
 def db_sync(engine, abs_path, version=None, init_version=0, sanity_check=True):
     """Upgrade or downgrade a database.
 
@@ -116,6 +124,7 @@
                                ) % ','.join(table_names))
 
 
[email protected](message=_removed_msg, version='8.3.0')
 def db_version(engine, abs_path, init_version):
     """Show the current version of the repository.
 
@@ -141,6 +150,7 @@
                   "manually."))
 
 
[email protected](message=_removed_msg, version='8.3.0')
 def db_version_control(engine, abs_path, version=None):
     """Mark a database as under this repository's version control.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.db-8.4.0/oslo_db/sqlalchemy/migration_cli/manager.py 
new/oslo.db-8.5.0/oslo_db/sqlalchemy/migration_cli/manager.py
--- old/oslo.db-8.4.0/oslo_db/sqlalchemy/migration_cli/manager.py       
2020-09-11 21:18:17.000000000 +0200
+++ new/oslo.db-8.5.0/oslo_db/sqlalchemy/migration_cli/manager.py       
2020-12-04 09:42:22.000000000 +0100
@@ -10,6 +10,7 @@
 #    License for the specific language governing permissions and limitations
 #    under the License.
 
+from debtcollector import removals
 import sqlalchemy
 from stevedore import enabled
 
@@ -24,6 +25,12 @@
     return ext.obj.enabled
 
 
[email protected](
+    message='Support for sqlalchemy-migrate and with it the migration manager '
+    'is deprecated for removal; consider migrating to and using alembic '
+    'directly',
+    version='8.3.0'
+)
 class MigrationManager(object):
 
     def __init__(self, migration_config, engine=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.db-8.4.0/releasenotes/notes/deprecate-sqlalchemy-migrate-6f899935615d6984.yaml
 
new/oslo.db-8.5.0/releasenotes/notes/deprecate-sqlalchemy-migrate-6f899935615d6984.yaml
--- 
old/oslo.db-8.4.0/releasenotes/notes/deprecate-sqlalchemy-migrate-6f899935615d6984.yaml
     1970-01-01 01:00:00.000000000 +0100
+++ 
new/oslo.db-8.5.0/releasenotes/notes/deprecate-sqlalchemy-migrate-6f899935615d6984.yaml
     2020-12-04 09:42:22.000000000 +0100
@@ -0,0 +1,14 @@
+---
+deprecations:
+  - |
+    The ``oslo_db.sqlalchemy.migration`` module is deprecated for removal.
+    It only supports ``sqlalchemy-migrate``, which is no longer under active
+    development and has been effectively replaced by ``alembic``. Users of
+    this module should consider switching to ``alembic`` or, if necessary,
+    using ``sqlalchemy-migrate`` directly.
+  - |
+    The ``oslo_db.sqlalchemy.migration_cli`` module is deprecated for removal.
+    It was intended to provide an abstraction layer over different migration
+    backends - specifically ``sqlalchemy-migrate`` and ``alembic`` - however,
+    takeup has been limited and its expected that users will use ``alembic``
+    directly nowadays.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/releasenotes/source/index.rst 
new/oslo.db-8.5.0/releasenotes/source/index.rst
--- old/oslo.db-8.4.0/releasenotes/source/index.rst     2020-09-11 
21:18:17.000000000 +0200
+++ new/oslo.db-8.5.0/releasenotes/source/index.rst     2020-12-04 
09:42:22.000000000 +0100
@@ -6,6 +6,7 @@
     :maxdepth: 1
 
     unreleased
+    victoria
     ussuri
     train
     stein
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/oslo.db-8.4.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 
new/oslo.db-8.5.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po
--- 
old/oslo.db-8.4.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po  
    2020-09-11 21:18:17.000000000 +0200
+++ 
new/oslo.db-8.5.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po  
    2020-12-04 09:42:22.000000000 +0100
@@ -7,11 +7,11 @@
 msgstr ""
 "Project-Id-Version: oslo.db\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-04-14 14:56+0000\n"
+"POT-Creation-Date: 2020-10-05 17:36+0000\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2020-04-18 07:58+0000\n"
+"PO-Revision-Date: 2020-10-10 02:27+0000\n"
 "Last-Translator: Andi Chandler <[email protected]>\n"
 "Language-Team: English (United Kingdom)\n"
 "Language: en_GB\n"
@@ -292,6 +292,9 @@
 msgid "Ussuri Series Release Notes"
 msgstr "Ussuri Series Release Notes"
 
+msgid "Victoria Series Release Notes"
+msgstr "Victoria Series Release Notes"
+
 msgid "and the ML thread:"
 msgstr "and the ML thread:"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/releasenotes/source/victoria.rst 
new/oslo.db-8.5.0/releasenotes/source/victoria.rst
--- old/oslo.db-8.4.0/releasenotes/source/victoria.rst  1970-01-01 
01:00:00.000000000 +0100
+++ new/oslo.db-8.5.0/releasenotes/source/victoria.rst  2020-12-04 
09:42:22.000000000 +0100
@@ -0,0 +1,6 @@
+=============================
+Victoria Series Release Notes
+=============================
+
+.. release-notes::
+   :branch: stable/victoria
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/test-requirements.txt 
new/oslo.db-8.5.0/test-requirements.txt
--- old/oslo.db-8.4.0/test-requirements.txt     2020-09-11 21:18:17.000000000 
+0200
+++ new/oslo.db-8.5.0/test-requirements.txt     2020-12-04 09:42:22.000000000 
+0100
@@ -14,3 +14,4 @@
 pifpaf>=0.10.0 # Apache-2.0
 PyMySQL>=0.7.6 # MIT License
 psycopg2>=2.8.0 # LGPL/ZPL
+pre-commit>=2.6.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.db-8.4.0/tox.ini new/oslo.db-8.5.0/tox.ini
--- old/oslo.db-8.4.0/tox.ini   2020-09-11 21:18:17.000000000 +0200
+++ new/oslo.db-8.5.0/tox.ini   2020-12-04 09:42:22.000000000 +0100
@@ -24,7 +24,7 @@
 
 [testenv:pep8]
 commands =
-  flake8
+  pre-commit run -a
   # Run security linter
   bandit -r oslo_db -x tests -n5 --skip B105,B311
 

Reply via email to