Hello community, here is the log from the commit of package python-oslo.db for openSUSE:Factory checked in at 2018-02-14 10:50:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.db (Old) and /work/SRC/openSUSE:Factory/.python-oslo.db.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.db" Wed Feb 14 10:50:48 2018 rev:13 rq:575945 version:4.33.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.db/python-oslo.db.changes 2018-01-24 15:27:43.334169560 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.db.new/python-oslo.db.changes 2018-02-14 10:50:49.407408196 +0100 @@ -1,0 +2,10 @@ +Tue Jan 30 15:14:08 UTC 2018 - [email protected] + +- update to version 4.33.0 + - Remove function optimize_db_test_loader in test_base.py + - Updated from global requirements + - add bandit to pep8 job + - Drop tox-mysql-python job + - Use the new PTI for document build + +------------------------------------------------------------------- Old: ---- oslo.db-4.32.0.tar.gz New: ---- oslo.db-4.33.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.db.spec ++++++ --- /var/tmp/diff_new_pack.q2ybEW/_old 2018-02-14 10:50:50.079384013 +0100 +++ /var/tmp/diff_new_pack.q2ybEW/_new 2018-02-14 10:50:50.083383869 +0100 @@ -17,13 +17,13 @@ Name: python-oslo.db -Version: 4.32.0 +Version: 4.33.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-4.32.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.db/oslo.db-4.33.0.tar.gz BuildRequires: openstack-macros BuildRequires: python-PyMySQL >= 0.7.6 BuildRequires: python-alembic >= 0.8.10 @@ -78,7 +78,7 @@ Documentation for the Oslo database handling library. %prep -%autosetup -p1 -n oslo.db-4.32.0 +%autosetup -p1 -n oslo.db-4.33.0 %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg ++++++ oslo.db-4.32.0.tar.gz -> oslo.db-4.33.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/.zuul.yaml new/oslo.db-4.33.0/.zuul.yaml --- old/oslo.db-4.32.0/.zuul.yaml 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/.zuul.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -- project: - name: openstack/oslo.db - check: - jobs: - - oslo.db-tox-mysql-python - gate: - jobs: - - oslo.db-tox-mysql-python - -- job: - name: oslo.db-tox-mysql-python - parent: legacy-base - run: playbooks/legacy/oslo.db-tox-mysql-python/run.yaml - post-run: playbooks/legacy/oslo.db-tox-mysql-python/post.yaml - timeout: 2400 - required-projects: - - openstack/requirements diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/ChangeLog new/oslo.db-4.33.0/ChangeLog --- old/oslo.db-4.32.0/ChangeLog 2017-12-12 15:06:48.000000000 +0100 +++ new/oslo.db-4.33.0/ChangeLog 2018-01-08 15:14:51.000000000 +0100 @@ -1,6 +1,15 @@ CHANGES ======= +4.33.0 +------ + +* Updated from global requirements +* add bandit to pep8 job +* Drop tox-mysql-python job +* Use the new PTI for document build +* Updated from global requirements + 4.32.0 ------ @@ -49,6 +58,7 @@ * Updated from global requirements * Remove property message for DBInvalidUnicodeParameter and InvalidSortKey * Throw DBMigrationError instead of DbMigrationError +* Remove function optimize\_db\_test\_loader in test\_base.py * Remove provisioned\_engine in class BackendImpl * Remove AutoString\* in ndb.py * Remove class InsertFromSelect diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/PKG-INFO new/oslo.db-4.33.0/PKG-INFO --- old/oslo.db-4.32.0/PKG-INFO 2017-12-12 15:06:48.000000000 +0100 +++ new/oslo.db-4.33.0/PKG-INFO 2018-01-08 15:14:51.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.db -Version: 4.32.0 +Version: 4.33.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-4.32.0/doc/requirements.txt new/oslo.db-4.33.0/doc/requirements.txt --- old/oslo.db-4.32.0/doc/requirements.txt 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/doc/requirements.txt 2018-01-08 15:11:38.000000000 +0100 @@ -3,3 +3,11 @@ # process, which may cause wedges in the gate later. openstackdocstheme>=1.17.0 # Apache-2.0 sphinx>=1.6.2 # BSD +doc8>=0.6.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 + +# These modules are needed when generating document +fixtures>=3.0.0 # Apache-2.0/BSD +testresources>=2.0.0 # Apache-2.0/BSD +testscenarios>=0.4 # Apache-2.0/BSD +oslotest>=1.10.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo.db.egg-info/PKG-INFO new/oslo.db-4.33.0/oslo.db.egg-info/PKG-INFO --- old/oslo.db-4.32.0/oslo.db.egg-info/PKG-INFO 2017-12-12 15:06:48.000000000 +0100 +++ new/oslo.db-4.33.0/oslo.db.egg-info/PKG-INFO 2018-01-08 15:14:51.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: oslo.db -Version: 4.32.0 +Version: 4.33.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-4.32.0/oslo.db.egg-info/SOURCES.txt new/oslo.db-4.33.0/oslo.db.egg-info/SOURCES.txt --- old/oslo.db-4.32.0/oslo.db.egg-info/SOURCES.txt 2017-12-12 15:06:48.000000000 +0100 +++ new/oslo.db-4.33.0/oslo.db.egg-info/SOURCES.txt 2018-01-08 15:14:51.000000000 +0100 @@ -1,7 +1,6 @@ .coveragerc .mailmap .testr.conf -.zuul.yaml AUTHORS CONTRIBUTING.rst ChangeLog @@ -86,8 +85,6 @@ oslo_db/tests/sqlalchemy/test_types.py oslo_db/tests/sqlalchemy/test_update_match.py oslo_db/tests/sqlalchemy/test_utils.py -playbooks/legacy/oslo.db-tox-mysql-python/post.yaml -playbooks/legacy/oslo.db-tox-mysql-python/run.yaml releasenotes/notes/MySQL-python-no-longer-tested-2a6c32cce6b03215.yaml releasenotes/notes/add-reno-e5c2f63e73c25959.yaml releasenotes/notes/connection_debug_min_max-bf6d53d49be7ca52.yaml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo.db.egg-info/pbr.json new/oslo.db-4.33.0/oslo.db.egg-info/pbr.json --- old/oslo.db-4.32.0/oslo.db.egg-info/pbr.json 2017-12-12 15:06:48.000000000 +0100 +++ new/oslo.db-4.33.0/oslo.db.egg-info/pbr.json 2018-01-08 15:14:51.000000000 +0100 @@ -1 +1 @@ -{"git_version": "85cf42e", "is_release": true} \ No newline at end of file +{"git_version": "ea1ec64", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo.db.egg-info/requires.txt new/oslo.db-4.33.0/oslo.db.egg-info/requires.txt --- old/oslo.db-4.32.0/oslo.db.egg-info/requires.txt 2017-12-12 15:06:48.000000000 +0100 +++ new/oslo.db-4.33.0/oslo.db.egg-info/requires.txt 2018-01-08 15:14:51.000000000 +0100 @@ -3,7 +3,7 @@ debtcollector>=1.2.0 oslo.i18n>=3.15.3 oslo.config>=5.1.0 -oslo.utils>=3.31.0 +oslo.utils>=3.33.0 SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 sqlalchemy-migrate>=0.11.0 stevedore>=1.20.0 @@ -25,16 +25,13 @@ [test] hacking!=0.13.0,<0.14,>=0.12.0 coverage!=4.4,>=4.0 -doc8>=0.6.0 eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 fixtures>=3.0.0 mock>=2.0.0 python-subunit>=1.0.0 -sphinx>=1.6.2 -openstackdocstheme>=1.17.0 oslotest>=1.10.0 oslo.context>=2.19.2 testrepository>=0.0.18 testtools>=2.2.0 os-testr>=1.0.0 -reno>=2.5.0 +bandit>=1.1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo_db/sqlalchemy/enginefacade.py new/oslo.db-4.33.0/oslo_db/sqlalchemy/enginefacade.py --- old/oslo.db-4.32.0/oslo_db/sqlalchemy/enginefacade.py 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/oslo_db/sqlalchemy/enginefacade.py 2018-01-08 15:12:07.000000000 +0100 @@ -843,7 +843,8 @@ new = self._clone() new._root = new new._root_factory = self._root_factory._create_factory_copy() - assert not new._factory._started + if new._factory._started: + raise AssertionError('TransactionFactory is already started') return new def patch_factory(self, factory_or_manager): @@ -869,7 +870,8 @@ raise ValueError( "_TransactionContextManager or " "_TransactionFactory expected.") - assert self._root is self + if self._root is not self: + raise AssertionError('patch_factory only works for root factory.') existing_factory = self._root_factory self._root_factory = factory diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo_db/sqlalchemy/test_base.py new/oslo.db-4.33.0/oslo_db/sqlalchemy/test_base.py --- old/oslo.db-4.32.0/oslo_db/sqlalchemy/test_base.py 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/oslo_db/sqlalchemy/test_base.py 2018-01-08 15:12:07.000000000 +0100 @@ -32,7 +32,6 @@ from oslo_db.sqlalchemy import enginefacade from oslo_db.sqlalchemy import provision from oslo_db.sqlalchemy import session -from oslo_db.sqlalchemy.test_fixtures import optimize_package_test_loader @debtcollector.removals.removed_class("DbFixture") @@ -241,7 +240,3 @@ @debtcollector.removals.removed_class("PostgreSQLOpportunisticTestCase") class PostgreSQLOpportunisticTestCase(OpportunisticTestCase): FIXTURE = PostgreSQLOpportunisticFixture - - -optimize_db_test_loader = debtcollector.moves.moved_function( - optimize_package_test_loader, "optimize_db_test_loader", __name__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo_db/sqlalchemy/test_fixtures.py new/oslo.db-4.33.0/oslo_db/sqlalchemy/test_fixtures.py --- old/oslo.db-4.32.0/oslo_db/sqlalchemy/test_fixtures.py 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/oslo_db/sqlalchemy/test_fixtures.py 2018-01-08 15:12:07.000000000 +0100 @@ -402,8 +402,9 @@ This fixture relies upon the use of the OpportunisticDBTestMixin to supply a test.resources attribute, and also works much more effectively when combined the testresources.OptimisingTestSuite. The - optimize_db_test_loader() function should be used at the module and package - levels to optimize database provisioning across many tests. + optimize_package_test_loader() function should be + used at the module and package levels to optimize database + provisioning across many tests. """ def __init__(self, test, driver=None, ident=None): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo_db/sqlalchemy/update_match.py new/oslo.db-4.33.0/oslo_db/sqlalchemy/update_match.py --- old/oslo.db-4.32.0/oslo_db/sqlalchemy/update_match.py 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/oslo_db/sqlalchemy/update_match.py 2018-01-08 15:12:07.000000000 +0100 @@ -164,9 +164,9 @@ entity = inspect(specimen) mapper = entity.mapper - assert \ - [desc['type'] for desc in query.column_descriptions] == \ - [mapper.class_], "Query does not match given specimen" + if [desc['type'] for desc in query.column_descriptions] != \ + [mapper.class_]: + raise AssertionError("Query does not match given specimen") criteria = manufacture_entity_criteria( specimen, include_only=include_only, exclude=[surrogate_key]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo_db/sqlalchemy/utils.py new/oslo.db-4.33.0/oslo_db/sqlalchemy/utils.py --- old/oslo.db-4.32.0/oslo_db/sqlalchemy/utils.py 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/oslo_db/sqlalchemy/utils.py 2018-01-08 15:12:07.000000000 +0100 @@ -181,7 +181,9 @@ LOG.warning('Unique keys not in sort_keys. ' 'The sorting order may be unstable.') - assert(not (sort_dir and sort_dirs)) + if sort_dir and sort_dirs: + raise AssertionError('Disallow set sort_dir and ' + 'sort_dirs at the same time.') # Default the sort direction to ascending if sort_dirs is None and sort_dir is None: @@ -191,7 +193,8 @@ if sort_dirs is None: sort_dirs = [sort_dir for _sort_key in sort_keys] - assert(len(sort_dirs) == len(sort_keys)) + if len(sort_dirs) != len(sort_keys): + raise AssertionError('sort_dirs and sort_keys must have same length.') # Add sorting for current_sort_key, current_sort_dir in zip(sort_keys, sort_dirs): @@ -1152,7 +1155,8 @@ fks = [] for ref_table_name in referents: for fk in insp.get_foreign_keys(ref_table_name): - assert fk.get('name') + if not fk.get('name'): + raise AssertionError("foreign key hasn't a name.") if fk['referred_table'] == table_name and \ column_name in fk['referred_columns']: fk['source_table'] = ref_table_name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/oslo_db/tests/sqlalchemy/test_fixtures.py new/oslo.db-4.33.0/oslo_db/tests/sqlalchemy/test_fixtures.py --- old/oslo.db-4.32.0/oslo_db/tests/sqlalchemy/test_fixtures.py 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/oslo_db/tests/sqlalchemy/test_fixtures.py 2018-01-08 15:12:07.000000000 +0100 @@ -265,9 +265,6 @@ def test_package_level(self): self._test_package_level(test_fixtures.optimize_package_test_loader) - def test_package_level_legacy(self): - self._test_package_level(legacy_test_base.optimize_db_test_loader) - def _test_package_level(self, fn): load_tests = fn( os.path.join(start_dir, "__init__.py")) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/playbooks/legacy/oslo.db-tox-mysql-python/post.yaml new/oslo.db-4.33.0/playbooks/legacy/oslo.db-tox-mysql-python/post.yaml --- old/oslo.db-4.32.0/playbooks/legacy/oslo.db-tox-mysql-python/post.yaml 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/playbooks/legacy/oslo.db-tox-mysql-python/post.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,67 +0,0 @@ -- hosts: primary - tasks: - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=**/*nose_results.html - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=**/*testr_results.html.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/.testrepository/tmp* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=**/*testrepository.subunit.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}/tox' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/.tox/*/log/* - - --include=*/ - - --exclude=* - - --prune-empty-dirs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/playbooks/legacy/oslo.db-tox-mysql-python/run.yaml new/oslo.db-4.33.0/playbooks/legacy/oslo.db-tox-mysql-python/run.yaml --- old/oslo.db-4.32.0/playbooks/legacy/oslo.db-tox-mysql-python/run.yaml 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/playbooks/legacy/oslo.db-tox-mysql-python/run.yaml 1970-01-01 01:00:00.000000000 +0100 @@ -1,86 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-oslo.db-tox-mysql-python from old job gate-oslo.db-tox-mysql-python-ubuntu-xenial - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - CLONEMAP=`mktemp` - REQS_DIR=`mktemp -d` - function cleanup { - mkdir -p $WORKSPACE - rm -rf $CLONEMAP $REQS_DIR - } - trap cleanup EXIT - cat > $CLONEMAP << EOF - clonemap: - - name: $ZUUL_PROJECT - dest: . - EOF - # zuul cloner works poorly if there are 2 names that are the - # same in here. - if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then - cat >> $CLONEMAP << EOF - - name: openstack/requirements - dest: $REQS_DIR - EOF - fi - /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ - git://git.openstack.org $ZUUL_PROJECT openstack/requirements - # REQS_DIR is not set for openstack/requirements and there is also - # no need to copy in this case. - if [[ "$ZUUL_PROJECT" != "openstack/requirements" ]]; then - cp $REQS_DIR/upper-constraints.txt ./ - fi - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - if [ -x tools/test-setup.sh ] ; then - tools/test-setup.sh - fi - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -x - sudo rm -f /etc/sudoers.d/zuul - # Prove that general sudo access is actually revoked - ! sudo -n true - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: /usr/local/jenkins/slave_scripts/run-tox.sh mysql-python - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - OUT=`git ls-files --other --exclude-standard --directory` - if [ -z "$OUT" ]; then - echo "No extra files created during test." - exit 0 - else - echo "The following un-ignored files were created during the test:" - echo "$OUT" - exit 0 # TODO: change to 1 to fail tests. - fi - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/requirements.txt new/oslo.db-4.33.0/requirements.txt --- old/oslo.db-4.32.0/requirements.txt 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/requirements.txt 2018-01-08 15:12:07.000000000 +0100 @@ -7,7 +7,7 @@ debtcollector>=1.2.0 # Apache-2.0 oslo.i18n>=3.15.3 # Apache-2.0 oslo.config>=5.1.0 # Apache-2.0 -oslo.utils>=3.31.0 # Apache-2.0 +oslo.utils>=3.33.0 # Apache-2.0 SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT sqlalchemy-migrate>=0.11.0 # Apache-2.0 stevedore>=1.20.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/setup.cfg new/oslo.db-4.33.0/setup.cfg --- old/oslo.db-4.32.0/setup.cfg 2017-12-12 15:06:48.000000000 +0100 +++ new/oslo.db-4.33.0/setup.cfg 2018-01-08 15:14:51.000000000 +0100 @@ -26,19 +26,16 @@ test = hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 - doc8>=0.6.0 # Apache-2.0 eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT fixtures>=3.0.0 # Apache-2.0/BSD mock>=2.0.0 # BSD python-subunit>=1.0.0 # Apache-2.0/BSD - sphinx>=1.6.2 # BSD - openstackdocstheme>=1.17.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0 oslo.context>=2.19.2 # Apache-2.0 testrepository>=0.0.18 # Apache-2.0/BSD testtools>=2.2.0 # MIT os-testr>=1.0.0 # Apache-2.0 - reno>=2.5.0 # Apache-2.0 + bandit>=1.1.0 # Apache-2.0 fixtures = testresources>=2.0.0 # Apache-2.0/BSD testscenarios>=0.4 # Apache-2.0/BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.db-4.32.0/tox.ini new/oslo.db-4.33.0/tox.ini --- old/oslo.db-4.32.0/tox.ini 2017-12-12 15:02:34.000000000 +0100 +++ new/oslo.db-4.33.0/tox.ini 2018-01-08 15:12:07.000000000 +0100 @@ -34,7 +34,10 @@ env TEST_EVENTLET=1 bash tools/pretty_tox.sh '{posargs}' [testenv:pep8] -commands = flake8 +commands = + flake8 + # Run security linter + bandit -r oslo_db -x tests -n5 --skip B105,B311 [testenv:venv] commands = {posargs} @@ -43,11 +46,13 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_db --testr-args='{posargs}' [testenv:docs] +deps = -r{toxinidir}/doc/requirements.txt commands = doc8 -e .rst CONTRIBUTING.rst HACKING.rst README.rst doc/source - python setup.py build_sphinx + sphinx-build -b html doc/source doc/build/html [testenv:releasenotes] +deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8]
