[openstack-dev] oslo.db 1.4.0 released

Doug Hellmann doug at doughellmann.com
Mon Jan 12 18:27:04 UTC 2015


The Oslo team is pleased to announce the release of
oslo.db 1.4.0: oslo.db library

The primary reason for this release is to move the code
out of the oslo namespace package as part of
https://blueprints.launchpad.net/oslo-incubator/+spec/drop-namespace-packages

For more details, please see the git log history below and
 http://launchpad.net/oslo.db/+milestone/1.4.0

Please report issues through launchpad:
 http://bugs.launchpad.net/oslo.db

----------------------------------------

Changes in openstack/oslo.db  1.3.0..1.4.0

9a510e8 Fix slowest test output after test run
2c3768c Updated from global requirements
bce8ed3 Make sure sort_key_attr is QueryableAttribute when query
cfbe5c5 Ensure mysql_sql_mode is set for MySQLOpportunisticTests
efbb388 Add pretty_tox wrapper script
91b0199 Fix PatchStacktraceTest test
3043338 Ensure PostgreSQL connection errors are wrapped
75b402b Remove check_foreign_keys from ModelsMigrationsSync
7063585 Move files out of the namespace package
4a57952 Updated from global requirements
c6ddb04 Fix the link to the bug reporting site

  diffstat (except docs and test files):

 .testr.conf                                        |    2 +-
 README.rst                                         |   10 +-
 oslo/db/__init__.py                                |   26 +
 oslo/db/_i18n.py                                   |   35 -
 oslo/db/api.py                                     |  216 +---
 oslo/db/concurrency.py                             |   68 +-
 oslo/db/exception.py                               |  160 +--
 oslo/db/options.py                                 |  229 +---
 oslo/db/sqlalchemy/compat/__init__.py              |   23 +-
 oslo/db/sqlalchemy/compat/engine_connect.py        |   60 --
 oslo/db/sqlalchemy/compat/handle_error.py          |  289 -----
 oslo/db/sqlalchemy/compat/utils.py                 |   17 +-
 oslo/db/sqlalchemy/exc_filters.py                  |  349 +-----
 oslo/db/sqlalchemy/migration.py                    |  165 +--
 oslo/db/sqlalchemy/migration_cli/README.rst        |    9 -
 oslo/db/sqlalchemy/migration_cli/__init__.py       |   18 +
 oslo/db/sqlalchemy/migration_cli/ext_alembic.py    |   78 --
 oslo/db/sqlalchemy/migration_cli/ext_base.py       |   79 --
 oslo/db/sqlalchemy/migration_cli/ext_migrate.py    |   69 --
 oslo/db/sqlalchemy/migration_cli/manager.py        |   71 --
 oslo/db/sqlalchemy/models.py                       |  115 +-
 oslo/db/sqlalchemy/provision.py                    |  494 +--------
 oslo/db/sqlalchemy/session.py                      |  834 +--------------
 oslo/db/sqlalchemy/test_base.py                    |  132 +--
 oslo/db/sqlalchemy/test_migrations.py              |  600 +----------
 oslo/db/sqlalchemy/utils.py                        |  999 +-----------------
 oslo_db/__init__.py                                |    0
 oslo_db/_i18n.py                                   |   35 +
 oslo_db/api.py                                     |  229 ++++
 oslo_db/concurrency.py                             |   81 ++
 oslo_db/exception.py                               |  173 +++
 oslo_db/options.py                                 |  220 ++++
 oslo_db/sqlalchemy/__init__.py                     |    0
 oslo_db/sqlalchemy/compat/__init__.py              |   30 +
 oslo_db/sqlalchemy/compat/engine_connect.py        |   60 ++
 oslo_db/sqlalchemy/compat/handle_error.py          |  289 +++++
 oslo_db/sqlalchemy/compat/utils.py                 |   26 +
 oslo_db/sqlalchemy/exc_filters.py                  |  359 +++++++
 oslo_db/sqlalchemy/migration.py                    |  160 +++
 oslo_db/sqlalchemy/migration_cli/README.rst        |    9 +
 oslo_db/sqlalchemy/migration_cli/__init__.py       |    0
 oslo_db/sqlalchemy/migration_cli/ext_alembic.py    |   78 ++
 oslo_db/sqlalchemy/migration_cli/ext_base.py       |   79 ++
 oslo_db/sqlalchemy/migration_cli/ext_migrate.py    |   69 ++
 oslo_db/sqlalchemy/migration_cli/manager.py        |   71 ++
 oslo_db/sqlalchemy/models.py                       |  128 +++
 oslo_db/sqlalchemy/provision.py                    |  514 +++++++++
 oslo_db/sqlalchemy/session.py                      |  847 +++++++++++++++
 oslo_db/sqlalchemy/test_base.py                    |  127 +++
 oslo_db/sqlalchemy/test_migrations.py              |  542 ++++++++++
 oslo_db/sqlalchemy/utils.py                        | 1014 ++++++++++++++++++
 .../sqlalchemy/test_engine_connect.py              |   68 ++
 .../old_import_api/sqlalchemy/test_exc_filters.py  |  833 +++++++++++++++
 .../old_import_api/sqlalchemy/test_handle_error.py |  194 ++++
 .../old_import_api/sqlalchemy/test_migrate_cli.py  |  222 ++++
 .../sqlalchemy/test_migration_common.py            |  174 +++
 .../old_import_api/sqlalchemy/test_migrations.py   |  309 ++++++
 .../old_import_api/sqlalchemy/test_options.py      |  127 +++
 .../old_import_api/sqlalchemy/test_sqlalchemy.py   |  566 ++++++++++
 requirements.txt                                   |    6 +-
 setup.cfg                                          |    9 +-
 test-requirements-py2.txt                          |    1 +
 test-requirements-py3.txt                          |    1 +
 tests/__init__.py                                  |    0
 tests/base.py                                      |   53 -
 tests/sqlalchemy/__init__.py                       |    0
 tests/sqlalchemy/test_engine_connect.py            |   68 --
 tests/sqlalchemy/test_exc_filters.py               |  833 ---------------
 tests/sqlalchemy/test_handle_error.py              |  194 ----
 tests/sqlalchemy/test_migrate_cli.py               |  222 ----
 tests/sqlalchemy/test_migration_common.py          |  212 ----
 tests/sqlalchemy/test_migrations.py                |  309 ------
 tests/sqlalchemy/test_models.py                    |  146 ---
 tests/sqlalchemy/test_options.py                   |  127 ---
 tests/sqlalchemy/test_sqlalchemy.py                |  649 ------------
 tests/sqlalchemy/test_utils.py                     | 1090 -------------------
 tests/test_api.py                                  |  177 ----
 tests/test_concurrency.py                          |  108 --
 tests/utils.py                                     |   40 -
 tools/pretty_tox.sh                                |   16 +
 tools/run_cross_tests.sh                           |    5 +
 tox.ini                                            |    5 +-
 119 files changed, 13770 insertions(+), 9306 deletions(-)

  Requirements updates:

 diff --git a/requirements.txt b/requirements.txt
 index 8ab53a0..3522b8d 100644
 --- a/requirements.txt
 +++ b/requirements.txt
 @@ -6 +6 @@ pbr>=0.6,!=0.7,<1.0
 -alembic>=0.6.4
 +alembic>=0.7.1
 @@ -10,2 +10,2 @@ oslo.i18n>=1.0.0  # Apache-2.0
 -oslo.config>=1.4.0  # Apache-2.0
 -oslo.utils>=1.1.0                       # Apache-2.0
 +oslo.config>=1.6.0  # Apache-2.0
 +oslo.utils>=1.2.0                       # Apache-2.0
 diff --git a/test-requirements-py2.txt b/test-requirements-py2.txt
 index ac5c18a..2cb1c75 100644
 --- a/test-requirements-py2.txt
 +++ b/test-requirements-py2.txt
 @@ -19,0 +20 @@ testtools>=0.9.36,!=1.2.0
 +tempest-lib
 diff --git a/test-requirements-py3.txt b/test-requirements-py3.txt
 index 58b9a3d..d248785 100644
 --- a/test-requirements-py3.txt
 +++ b/test-requirements-py3.txt
 @@ -18,0 +19 @@ testtools>=0.9.36,!=1.2.0
 +tempest-lib


More information about the OpenStack-dev mailing list