diff -Nru python-oslotest-4.4.1/AUTHORS python-oslotest-4.5.0/AUTHORS --- python-oslotest-4.4.1/AUTHORS 2020-09-11 19:21:58.000000000 +0000 +++ python-oslotest-4.5.0/AUTHORS 2021-09-06 08:37:55.000000000 +0000 @@ -12,6 +12,7 @@ Claudiu Belu Corey Bryant Danek Duvall +Daniel Bengtsson Davanum Srinivas Davanum Srinivas Dirk Mueller @@ -48,6 +49,7 @@ Sean McGinnis Sergey Kraynev Soren Hansen +Sorin Sbarnea Stephen Finucane Steve Martinelli Thomas Bechtold @@ -58,6 +60,7 @@ Vieri <15050873171@163.com> Vu Cong Tuan Yikun Jiang +YuehuiLei Yuriy Taraday ZhijunWei Zhongyue Luo @@ -70,5 +73,6 @@ venkatamahesh wanghui wangqi +wu.shiming yan.haifeng zhangboye diff -Nru python-oslotest-4.4.1/ChangeLog python-oslotest-4.5.0/ChangeLog --- python-oslotest-4.4.1/ChangeLog 2020-09-11 19:21:58.000000000 +0000 +++ python-oslotest-4.5.0/ChangeLog 2021-09-06 08:37:55.000000000 +0000 @@ -1,6 +1,21 @@ CHANGES ======= +4.5.0 +----- + +* setup.cfg: Replace dashes with underscores +* Use TOX\_CONSTRAINTS\_FILE +* Document unit of measure for OS\_TEST\_TIMEOUT +* Move flake8 as a pre-commit local target +* Remove lower-constraints remnants +* Dropping lower constraints testing +* Use TOX\_CONSTRAINTS\_FILE +* Use py3 as the default runtime for tox +* Adding pre-commit +* Add Python3 wallaby unit tests +* Update master for stable/victoria + 4.4.1 ----- diff -Nru python-oslotest-4.4.1/debian/changelog python-oslotest-4.5.0/debian/changelog --- python-oslotest-4.4.1/debian/changelog 2020-09-18 16:37:17.000000000 +0000 +++ python-oslotest-4.5.0/debian/changelog 2021-09-07 19:36:44.000000000 +0000 @@ -1,3 +1,13 @@ +python-oslotest (1:4.5.0-0ubuntu1) impish; urgency=medium + + [ Chris MacNaughton ] + * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev. + + [ Corey Bryant ] + * New upstream release for OpenStack Xena. + + -- Corey Bryant Tue, 07 Sep 2021 15:36:44 -0400 + python-oslotest (1:4.4.1-0ubuntu1) groovy; urgency=medium * New upstream release for OpenStack Victoria. diff -Nru python-oslotest-4.4.1/debian/control python-oslotest-4.5.0/debian/control --- python-oslotest-4.4.1/debian/control 2020-09-18 16:37:17.000000000 +0000 +++ python-oslotest-4.5.0/debian/control 2021-09-07 19:36:44.000000000 +0000 @@ -33,8 +33,8 @@ subunit, testrepository, Standards-Version: 4.5.0 -Vcs-Browser: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-oslotest -Vcs-Git: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-oslotest +Vcs-Browser: https://git.launchpad.net/~ubuntu-openstack-dev/ubuntu/+source/python-oslotest +Vcs-Git: https://git.launchpad.net/~ubuntu-openstack-dev/ubuntu/+source/python-oslotest Homepage: https://opendev.org/openstack/oslotest Testsuite: autopkgtest-pkg-python diff -Nru python-oslotest-4.4.1/doc/source/conf.py python-oslotest-4.5.0/doc/source/conf.py --- python-oslotest-4.4.1/doc/source/conf.py 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/doc/source/conf.py 2021-09-06 08:37:07.000000000 +0000 @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +# Copyright (C) 2020 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff -Nru python-oslotest-4.4.1/lower-constraints.txt python-oslotest-4.5.0/lower-constraints.txt --- python-oslotest-4.4.1/lower-constraints.txt 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/lower-constraints.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,40 +0,0 @@ -alabaster==0.7.10 -appdirs==1.3.0 -Babel==2.3.4 -coverage==4.0 -docutils==0.11 -dulwich==0.15.0 -extras==1.0.0 -fixtures==3.0.0 -flake8==2.5.5 -hacking==0.12.0 -imagesize==0.7.1 -iso8601==0.1.11 -Jinja2==2.10 -keystoneauth1==3.4.0 -linecache2==1.0.0 -MarkupSafe==1.0 -mccabe==0.2.1 -netaddr==0.7.18 -oslo.config==5.2.0 -oslo.i18n==3.15.3 -pbr==2.0.0 -pep8==1.5.7 -pyflakes==0.8.1 -Pygments==2.2.0 -python-mimeparse==1.6.0 -python-subunit==1.0.0 -pytz==2013.6 -PyYAML==3.12 -requests==2.14.2 -requestsexceptions==1.2.0 -rfc3986==0.3.1 -six==1.10.0 -snowballstemmer==1.2.1 -stestr==2.0.0 -stevedore==1.20.0 -testrepository==0.0.18 -testtools==2.2.0 -traceback2==1.4.0 -unittest2==1.1.0 -wrapt==1.7.0 diff -Nru python-oslotest-4.4.1/oslotest/base.py python-oslotest-4.5.0/oslotest/base.py --- python-oslotest-4.4.1/oslotest/base.py 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/oslotest/base.py 2021-09-06 08:37:07.000000000 +0000 @@ -36,7 +36,7 @@ """Base class for unit test classes. If the environment variable ``OS_TEST_TIMEOUT`` is set to an - integer value, a timer is configured to control how long + integer value (**seconds**), a timer is configured to control how long individual test cases can run. This lets tests fail for taking too long, and prevents deadlocks from completely hanging test runs. diff -Nru python-oslotest-4.4.1/oslotest.egg-info/pbr.json python-oslotest-4.5.0/oslotest.egg-info/pbr.json --- python-oslotest-4.4.1/oslotest.egg-info/pbr.json 2020-09-11 19:21:58.000000000 +0000 +++ python-oslotest-4.5.0/oslotest.egg-info/pbr.json 2021-09-06 08:37:55.000000000 +0000 @@ -1 +1 @@ -{"git_version": "aaf3a72", "is_release": true} \ No newline at end of file +{"git_version": "d4b1896", "is_release": true} \ No newline at end of file diff -Nru python-oslotest-4.4.1/oslotest.egg-info/PKG-INFO python-oslotest-4.5.0/oslotest.egg-info/PKG-INFO --- python-oslotest-4.4.1/oslotest.egg-info/PKG-INFO 2020-09-11 19:21:58.000000000 +0000 +++ python-oslotest-4.5.0/oslotest.egg-info/PKG-INFO 2021-09-06 08:37:55.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: oslotest -Version: 4.4.1 +Version: 4.5.0 Summary: Oslo test framework Home-page: https://docs.openstack.org/oslotest/latest/ Author: OpenStack diff -Nru python-oslotest-4.4.1/oslotest.egg-info/SOURCES.txt python-oslotest-4.5.0/oslotest.egg-info/SOURCES.txt --- python-oslotest-4.4.1/oslotest.egg-info/SOURCES.txt 2020-09-11 19:21:58.000000000 +0000 +++ python-oslotest-4.5.0/oslotest.egg-info/SOURCES.txt 2021-09-06 08:37:55.000000000 +0000 @@ -1,5 +1,6 @@ .coveragerc .mailmap +.pre-commit-config.yaml .stestr.conf .zuul.yaml AUTHORS @@ -8,7 +9,6 @@ HACKING.rst LICENSE README.rst -lower-constraints.txt requirements.txt setup.cfg setup.py @@ -74,6 +74,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 tools/oslo_debug_helper diff -Nru python-oslotest-4.4.1/PKG-INFO python-oslotest-4.5.0/PKG-INFO --- python-oslotest-4.4.1/PKG-INFO 2020-09-11 19:21:58.000000000 +0000 +++ python-oslotest-4.5.0/PKG-INFO 2021-09-06 08:37:55.193877500 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: oslotest -Version: 4.4.1 +Version: 4.5.0 Summary: Oslo test framework Home-page: https://docs.openstack.org/oslotest/latest/ Author: OpenStack diff -Nru python-oslotest-4.4.1/.pre-commit-config.yaml python-oslotest-4.5.0/.pre-commit-config.yaml --- python-oslotest-4.4.1/.pre-commit-config.yaml 1970-01-01 00:00:00.000000000 +0000 +++ python-oslotest-4.5.0/.pre-commit-config.yaml 2021-09-06 08:37:07.000000000 +0000 @@ -0,0 +1,39 @@ +# 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: 9136088a246768144165fcc3ecc3d31bb686920a # v3.3.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: local + hooks: + - id: flake8 + name: flake8 + additional_dependencies: + - hacking>=3.0.1,<3.1.0 + language: python + entry: flake8 + files: '^.*\.py$' + exclude: '^(doc|releasenotes|tools)/.*$' diff -Nru python-oslotest-4.4.1/releasenotes/source/index.rst python-oslotest-4.5.0/releasenotes/source/index.rst --- python-oslotest-4.4.1/releasenotes/source/index.rst 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/releasenotes/source/index.rst 2021-09-06 08:37:07.000000000 +0000 @@ -6,6 +6,7 @@ :maxdepth: 1 unreleased + victoria ussuri train stein diff -Nru python-oslotest-4.4.1/releasenotes/source/victoria.rst python-oslotest-4.5.0/releasenotes/source/victoria.rst --- python-oslotest-4.4.1/releasenotes/source/victoria.rst 1970-01-01 00:00:00.000000000 +0000 +++ python-oslotest-4.5.0/releasenotes/source/victoria.rst 2021-09-06 08:37:07.000000000 +0000 @@ -0,0 +1,6 @@ +============================= +Victoria Series Release Notes +============================= + +.. release-notes:: + :branch: stable/victoria diff -Nru python-oslotest-4.4.1/setup.cfg python-oslotest-4.5.0/setup.cfg --- python-oslotest-4.4.1/setup.cfg 2020-09-11 19:21:58.000000000 +0000 +++ python-oslotest-4.5.0/setup.cfg 2021-09-06 08:37:55.193877500 +0000 @@ -1,12 +1,12 @@ [metadata] name = oslotest summary = Oslo test framework -description-file = +description_file = README.rst author = OpenStack -author-email = openstack-discuss@lists.openstack.org -home-page = https://docs.openstack.org/oslotest/latest/ -python-requires = >=3.6 +author_email = openstack-discuss@lists.openstack.org +home_page = https://docs.openstack.org/oslotest/latest/ +python_requires = >=3.6 classifier = Environment :: OpenStack Intended Audience :: Developers diff -Nru python-oslotest-4.4.1/test-requirements.txt python-oslotest-4.5.0/test-requirements.txt --- python-oslotest-4.4.1/test-requirements.txt 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/test-requirements.txt 2021-09-06 08:37:07.000000000 +0000 @@ -11,3 +11,5 @@ oslo.config>=5.2.0 # Apache-2.0 stestr>=2.0.0 + +pre-commit>=2.6.0 # MIT diff -Nru python-oslotest-4.4.1/tools/oslo_run_pre_release_tests python-oslotest-4.5.0/tools/oslo_run_pre_release_tests --- python-oslotest-4.4.1/tools/oslo_run_pre_release_tests 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/tools/oslo_run_pre_release_tests 2021-09-06 08:37:07.000000000 +0000 @@ -26,8 +26,7 @@ def find_all_projects(repo_root): - """Scan the checked out repositories for all available projects. - """ + """Scan the checked out repositories for all available projects.""" pattern = os.path.join(repo_root, 'openstack/*') candidates = glob.glob(pattern) prefix_len = len(repo_root) @@ -39,7 +38,9 @@ def find_consuming_projects(lib_name, repo_root, projects): - """Filter the list of projects to only include entries that use the library. + """Filter the list of projects + + Filter the list of projects to only include entries that use the library. """ for p in projects: consumer = False diff -Nru python-oslotest-4.4.1/tox.ini python-oslotest-4.5.0/tox.ini --- python-oslotest-4.4.1/tox.ini 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/tox.ini 2021-09-06 08:37:07.000000000 +0000 @@ -1,18 +1,18 @@ [tox] minversion = 3.1.0 -envlist = py38,pep8 +envlist = py3,pep8 ignore_basepython_conflict = True [testenv] basepython = python3 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} [testenv:pep8] -commands = flake8 +commands = pre-commit run -a [testenv:cover] setenv = @@ -28,7 +28,7 @@ [testenv:docs] deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html @@ -38,12 +38,6 @@ deps = {[testenv:docs]deps} commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html -[testenv:lower-constraints] -deps = - -c{toxinidir}/lower-constraints.txt - -r{toxinidir}/test-requirements.txt - -r{toxinidir}/requirements.txt - [flake8] show-source = true exclude = .tox,dist,doc,*.egg,build diff -Nru python-oslotest-4.4.1/.zuul.yaml python-oslotest-4.5.0/.zuul.yaml --- python-oslotest-4.4.1/.zuul.yaml 2020-09-11 19:20:05.000000000 +0000 +++ python-oslotest-4.5.0/.zuul.yaml 2021-09-06 08:37:07.000000000 +0000 @@ -2,8 +2,7 @@ templates: - check-requirements - openstack-cover-jobs - - openstack-lower-constraints-jobs - - openstack-python3-victoria-jobs + - openstack-python3-wallaby-jobs - periodic-stable-jobs - publish-openstack-docs-pti - release-notes-jobs-python3