diff --git a/.zuul.yaml b/.zuul.yaml index 4066fb485dcffe5fa00d43fb7bf0120e30f09d3c..24a1c1141db25fee6de12f81b15d1c2b3258f766 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,7 +2,7 @@ templates: - check-requirements - lib-forward-testing-python3 - - openstack-python3-yoga-jobs + - openstack-python3-zed-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 diff --git a/oslo_db/tests/fixtures.py b/oslo_db/tests/fixtures.py index 46462782d43752742e093d67d97e316e7a14d1d4..468dcaec7fa8ade075f8aeb1a302fbb956d61136 100644 --- a/oslo_db/tests/fixtures.py +++ b/oslo_db/tests/fixtures.py @@ -45,11 +45,6 @@ class WarningsFixture(fixtures.Fixture): message=r'The Session.autocommit parameter is deprecated .*', category=sqla_exc.SADeprecationWarning) - warnings.filterwarnings( - 'once', - message=r'Calling \.begin\(\) when a transaction is already .*', - category=sqla_exc.SADeprecationWarning) - # ...plus things that aren't our fault # FIXME(stephenfin): These are caused by sqlalchemy-migrate, not us, diff --git a/oslo_db/tests/sqlalchemy/test_utils.py b/oslo_db/tests/sqlalchemy/test_utils.py index 087f7ec1a78924f4ff89543196448511217d6056..27ed6409bb95d1a7d3b3580c8b63695c0bc1c618 100644 --- a/oslo_db/tests/sqlalchemy/test_utils.py +++ b/oslo_db/tests/sqlalchemy/test_utils.py @@ -700,8 +700,7 @@ class TestMigrationUtils(db_test_base._DbTestCase): test_table.create(engine) with engine.connect() as conn, conn.begin(): - with conn.begin(): - conn.execute(test_table.insert(), values) + conn.execute(test_table.insert(), values) return test_table, values def test_drop_old_duplicate_entries_from_table(self): diff --git a/releasenotes/source/index.rst b/releasenotes/source/index.rst index 2d9a2abe84266bd30a8a45e95366ce40efa3e6d8..6d3ce9e08d3bc915952566277b1af39c70b58205 100644 --- a/releasenotes/source/index.rst +++ b/releasenotes/source/index.rst @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + yoga xena wallaby victoria diff --git a/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po b/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po index e36a023cf25524b16696ace0450894167053e46d..d4a3164d11134233771edc8c3ca6c96df1e3313c 100644 --- a/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po +++ b/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po @@ -3,21 +3,31 @@ # Andi Chandler , 2018. #zanata # Andi Chandler , 2019. #zanata # Andi Chandler , 2020. #zanata +# Andi Chandler , 2022. #zanata msgid "" msgstr "" "Project-Id-Version: oslo.db\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-05 17:36+0000\n" +"POT-Creation-Date: 2022-05-11 16:16+0000\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2020-10-10 02:27+0000\n" +"PO-Revision-Date: 2022-06-13 07:42+0000\n" "Last-Translator: Andi Chandler \n" "Language-Team: English (United Kingdom)\n" "Language: en_GB\n" "X-Generator: Zanata 4.3.3\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" +msgid "10.0.0" +msgstr "10.0.0" + +msgid "11.0.0" +msgstr "11.0.0" + +msgid "11.2.0" +msgstr "11.2.0" + msgid "2.6.0-9" msgstr "2.6.0-9" @@ -69,6 +79,24 @@ msgstr "5.0.0" msgid "7.0.0" msgstr "7.0.0" +msgid "8.1.1" +msgstr "8.1.1" + +msgid "8.4.1" +msgstr "8.4.1" + +msgid "8.5.0" +msgstr "8.5.0" + +msgid "8.5.1" +msgstr "8.5.1" + +msgid "9.0.0" +msgstr "9.0.0" + +msgid "9.1.0" +msgstr "9.1.0" + msgid "" "Added new ``.is_started`` boolean flag to enginefacade context manager and " "factory objects, so that double-configure scenarios can be prevented by " @@ -96,6 +124,13 @@ msgstr "" msgid "Bug Fixes" msgstr "Bug Fixes" +msgid "" +"Checks specific to the DB2 database have been removed. This database has not " +"been supported by any OpenStack project for many years." +msgstr "" +"Checks specific to the DB2 database have been removed. This database has not " +"been supported by any OpenStack project for many years." + msgid "" "Decorator ``oslo_db.api.wrap_db_retry`` now defaults to 10 retries. " "Previously the number of attempts was 0, and users had to explicitly pass " @@ -113,6 +148,17 @@ msgstr "Deprecation Notes" msgid "For details, please see the following LP:" msgstr "For details, please see the following LP:" +msgid "" +"In mysql 8.0.19, duplicate key error information is extended to include the " +"table name of the key. Previously, duplicate key error information included " +"only the key value and key name. This extends capabilities to handle changes " +"in duplicate key error information with newer mysql version since 8.0.19." +msgstr "" +"In MySQL 8.0.19, duplicate key error information is extended to include the " +"table name of the key. Previously, duplicate key error information included " +"only the key value and key name. This extends capabilities to handle changes " +"in duplicate key error information with newer MySQL version since 8.0.19." + msgid "Introduce reno for deployer release notes." msgstr "Introduce reno for deployer release notes." @@ -171,6 +217,20 @@ msgstr "Queens Series Release Notes" msgid "Removed deprecated database option ``min_pool_size``." msgstr "Removed deprecated database option ``min_pool_size``." +msgid "Removed deprecated database option ``sql_max_pool_size``." +msgstr "Removed deprecated database option ``sql_max_pool_size``." + +msgid "" +"Removed the ``[DATABASE] idle_timeout``, ``[database] idle_timeout``, " +"``[sql] idle_timeout``, ``[DEFAULT] sql_idle_timeout`` and ``[DATABASE] " +"sql_idle_timeout`` options. These were all legacy aliases for ``[database] " +"connection_recycle_time``." +msgstr "" +"Removed the ``[DATABASE] idle_timeout``, ``[database] idle_timeout``, " +"``[sql] idle_timeout``, ``[DEFAULT] sql_idle_timeout`` and ``[DATABASE] " +"sql_idle_timeout`` options. These were all legacy aliases for ``[database] " +"connection_recycle_time``." + msgid "" "Repaired the \"synchronous_reader\" modifier of enginefacade so that it " "refers to the \"writer\" engine when set to True, thereby allowing " @@ -197,6 +257,69 @@ msgstr "" "Support for Python 2.7 has been dropped. The minimum version of Python now " "supported is Python 3.6." +msgid "" +"The ``_walk_versions``, ``_migrate_down``, and ``_migrate_up`` methods of " +"the ``oslo_db.sqlalchemy.test_migrations.ModelsMigrationsSync`` base test " +"class have been removed. These were deprecated in 0.5.0 in favour of their " +"non-private equivalents, ``walk_versions``, ``migrate_down``, and " +"``migrate_up`` respectively." +msgstr "" +"The ``_walk_versions``, ``_migrate_down``, and ``_migrate_up`` methods of " +"the ``oslo_db.sqlalchemy.test_migrations.ModelsMigrationsSync`` base test " +"class have been removed. These were deprecated in 0.5.0 in favour of their " +"non-private equivalents, ``walk_versions``, ``migrate_down``, and " +"``migrate_up`` respectively." + +msgid "" +"The ``check_foreign_keys`` helper of the ``oslo_db.sqlalchemy." +"test_migrations.ModelsMigrationsSync`` base test class has been removed. " +"This was deprecated in 1.4.1 as alembic now supports this capability." +msgstr "" +"The ``check_foreign_keys`` helper of the ``oslo_db.sqlalchemy." +"test_migrations.ModelsMigrationsSync`` base test class has been removed. " +"This was deprecated in 1.4.1 as alembic now supports this capability." + +msgid "" +"The ``oslo_db.concurrency.TpoolDbapiWrapper`` class and supporting " +"``[database] use_tpool`` config option are now deprecated. This feature " +"never graduated from experimental status and is slated for removal due to " +"lack of maintenance and test coverage. Users should switch to ``oslo_db.api." +"DBAPI.from_config`` and remove references to the deprecated config option " +"from their documentation." +msgstr "" +"The ``oslo_db.concurrency.TpoolDbapiWrapper`` class and supporting " +"``[database] use_tpool`` config option are now deprecated. This feature " +"never graduated from experimental status and is slated for removal due to a " +"lack of maintenance and test coverage. Users should switch to ``oslo_db.api." +"DBAPI.from_config`` and remove references to the deprecated config option " +"from their documentation." + +msgid "" +"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." +msgstr "" +"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." + +msgid "" +"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." +msgstr "" +"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." + msgid "" "The allowed values for the ``connection_debug`` option are now restricted to " "the range between 0 and 100 (inclusive). Previously a number lower than 0 or " @@ -260,6 +383,24 @@ msgstr "" "handle spikes of concurrent requests and lower the probability of getting a " "pool timeout issue." +msgid "" +"The following helpers have been removed from the ``oslo_db.sqlalchemy." +"utils`` module:" +msgstr "" +"The following helpers have been removed from the ``oslo_db.sqlalchemy." +"utils`` module:" + +msgid "" +"These were unused outside of oslo.db and were not compatible with SQLAlchemy " +"2.0. In addition, the ``RollsBackTransaction`` fixture has been removed from " +"``oslo_db.sqlalchemy.test_fixtures``. This was similarly unused and " +"presented similar compatibility issues." +msgstr "" +"These were unused outside of oslo.db and were not compatible with SQLAlchemy " +"2.0. In addition, the ``RollsBackTransaction`` fixture has been removed from " +"``oslo_db.sqlalchemy.test_fixtures``. This was similarly unused and " +"presented similar compatibility issues." + msgid "" "This change potentially leads to increasing of the number of open " "connections to an RDBMS server. Depending on the configuration, you may see " @@ -295,6 +436,27 @@ msgstr "Ussuri Series Release Notes" msgid "Victoria Series Release Notes" msgstr "Victoria Series Release Notes" +msgid "Wallaby Series Release Notes" +msgstr "Wallaby Series Release Notes" + +msgid "Xena Series Release Notes" +msgstr "Xena Series Release Notes" + +msgid "Yoga Series Release Notes" +msgstr "Yoga Series Release Notes" + +msgid "``NonCommittingConnectable``" +msgstr "``NonCommittingConnectable``" + +msgid "``NonCommittingConnection``" +msgstr "``NonCommittingConnection``" + +msgid "``NonCommittingEngine``" +msgstr "``NonCommittingEngine``" + +msgid "``NonCommittingTransaction``" +msgstr "``NonCommittingTransaction``" + msgid "and the ML thread:" msgstr "and the ML thread:" diff --git a/releasenotes/source/yoga.rst b/releasenotes/source/yoga.rst new file mode 100644 index 0000000000000000000000000000000000000000..7cd5e908a7de01e943ed55fdd485eb0e393ba1c3 --- /dev/null +++ b/releasenotes/source/yoga.rst @@ -0,0 +1,6 @@ +========================= +Yoga Series Release Notes +========================= + +.. release-notes:: + :branch: stable/yoga diff --git a/setup.cfg b/setup.cfg index 7acd07930a6f0f6e6b1441687f981341b890e280..5baeb4ff094ab7bc14ded833d09c97483a00405d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ description_file = author = OpenStack author_email = openstack-discuss@lists.openstack.org home_page = https://docs.openstack.org/oslo.db/latest -python_requires = >=3.6 +python_requires = >=3.8 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -15,8 +15,6 @@ classifier = Operating System :: POSIX :: Linux Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3 :: Only