summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix context from_dict() for system_scopexena-em3.3.2stable/xenaMichael Johnson2021-10-043-1/+8
| | | | | | | | | | | | | A previous patch[1] added "system_scope" to the context for to_dict() but the from_dict() method was not updated. This caused the system_scope to always be None. This patch corrects that by adding "system_scope" to the list of values that may need to be extracted from the context dict. [1] https://review.opendev.org/c/openstack/oslo.context/+/530509 Change-Id: Ica23d5c4183a692de3cb65a7ad72b19f47988ca6 (cherry picked from commit 8290621b058081754db55c2584c00b8b166369aa)
* Update TOX_CONSTRAINTS_FILE for stable/xenaOpenStack Release Bot2021-09-101-2/+2
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/xena branch, tests will continue to use the upper-constraints list on master. Change-Id: I44c7e7b514db31223c9e42f0efd61b771d06ed35
* Update .gitreview for stable/xenaOpenStack Release Bot2021-09-101-0/+1
| | | | Change-Id: I18a724eb5d0813d3a42fbd7c4a19467b124aa7d9
* Merge "Ussuri+ is python3 only and update python to python3"3.3.1Zuul2021-05-263-3/+3
|\
| * Ussuri+ is python3 only and update python to python3dengzhaosen2021-05-063-3/+3
| | | | | | | | Change-Id: I504494cac13fb8b887df16fe6b93bf587ba35630
* | setup.cfg: Replace dashes with underscores3.3.0yangyawei2021-05-141-4/+4
|/ | | | | | | | | | | | | | | | Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I4400fcf1bdcdedfa8dccf806f99ded36660e276e
* Merge "Fix formatting of release list"Zuul2021-04-211-13/+13
|\
| * Fix formatting of release listPierre Riteau2021-04-161-13/+13
| | | | | | | | Change-Id: Iae6d7115baf6ff0a99d7d3149b28ccd19541fae1
* | Merge "Use py3 as the default runtime for tox"Zuul2021-04-161-1/+1
|\ \
| * | Use py3 as the default runtime for toxHervé Beraud2020-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving on py3 as the default runtime for tox to avoid to update this at each new cycle. Wallaby support officially the following runtimes [1]: - Python 3.6 - Python 3.8 During Victoria Python 3.7 was used as the default runtime [2] however this version isn't longer officially supported. [1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria Change-Id: Iebd65c5ae0b3478d7e313e6cf947c746f50dd4a0
* | | Merge "Use TOX_CONSTRAINTS_FILE"Zuul2021-04-161-2/+2
|\ \ \ | |_|/ |/| |
| * | Use TOX_CONSTRAINTS_FILEHervé Beraud2020-11-041-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ [2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I6e159fccb36d1c68beb2b20357311b618106bc3e
* | Merge "Drop use of deprecated collections classes"Zuul2021-04-160-0/+0
|\ \
| * | Drop use of deprecated collections classesStephen Finucane2021-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | These were moved in Python 3.3 and the aliases will be dropped in 3.10. Change-Id: I5b289c21f752e3135af86c4180feead8b997f61d Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* | | Merge "Add Python3 xena unit tests"Zuul2021-04-151-1/+1
|\ \ \
| * | | Add Python3 xena unit testsOpenStack Release Bot2021-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I14bcd7aa56501fb7fc0d620c0ed896ab057bfa5f
* | | | Merge "Update master for stable/wallaby"Zuul2021-04-152-0/+7
|\ \ \ \ | |/ / /
| * | | Update master for stable/wallabyOpenStack Release Bot2021-03-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I345b4b257a3fdfee2c122147443bb3d918e8f16e
* | | | Merge "Remove lower-constraints remnants"Zuul2021-03-292-35/+0
|\ \ \ \
| * | | | Remove lower-constraints remnantswu.shiming2021-02-192-35/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | These were missed in change: If2a9cf05f382ae28846b95e5bb29669ee57f9bcd Change-Id: I364eea549d42e75471288c597bd9dd8094d87c64
* | | | Move flake8 as a pre-commit local target.Daniel Bengtsson2021-03-231-3/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal here is to avoid conflicts between flake8 and hacking version each 2 days. Inspired from nova's approach[1]. The flake8 version to install will be determined by hacking and requirements[2] will stay aligned instead of relying on different versions. [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35 [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1 Change-Id: I668a7489b215adb89f301de65159ad442cdb7718
* | | Switch to collections.abc.MutableMapping3.2.0Ben Nemec2021-01-291-2/+2
|/ / | | | | | | | | | | | | collections.MutableMapping has been deprecated since Python 3.3 and is removed in Python 3.10. The functionality should be identical. Change-Id: Ic9b2f8a89a92ac3a5fa5f49bb19f13e547d12eda
* | Dropping lower constraints testingHervé Beraud2020-12-181-1/+0
|/ | | | | | | | | | | | | We facing errors related to the new pip resolver, this topic was discussed on the ML and QA team proposed to to test lower-constraints [1]. I propose to drop this test because the complexity and recurring pain needed to maintain that now exceeds the benefits provided by this mechanismes. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Change-Id: If2a9cf05f382ae28846b95e5bb29669ee57f9bcd
* Merge "Adding pre-commit"Zuul2020-09-225-5/+42
|\
| * Adding pre-commitHervé Beraud2020-09-085-5/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced changes: - pre-commit config and rules. - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: I4473e5e96419e4da9c8922d5832249da23c61acd Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | Add Python3 wallaby unit testsOpenStack Release Bot2020-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I268381b54fdecefd856f724793112b2de39cd3ef
* | Update master for stable/victoriaOpenStack Release Bot2020-09-112-0/+7
|/ | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: Ic5bf0a3d63047020ab1872b2e7164d0974f4427c Sem-Ver: feature
* Merge "drop mock from lower-constraints"3.1.1Zuul2020-08-171-1/+0
|\
| * drop mock from lower-constraintsHervé Beraud2020-06-091-1/+0
| | | | | | | | | | | | | | | | | | | | The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we don't need it in lower-constraints. These changes will help us to drop `mock` from openstack/requirements Change-Id: I6896e1ca4c8f20aa56cf444a8e29a7bbced95427
* | Bump bandit versionMoisés Guimarães de Medeiros2020-07-252-2/+2
| | | | | | | | | | | | | | | | This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393 Change-Id: I2e498fd13356f571acb905384206b4c97e6c5d92 Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
* | Merge "Align contributing doc with oslo's policy"Zuul2020-06-301-0/+5
|\ \ | |/ |/|
| * Align contributing doc with oslo's policyHervé Beraud2020-05-041-0/+5
| | | | | | | | | | | | | | | | Related to: - https://review.opendev.org/#/c/723044/ - https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html Change-Id: I613d0ea9423e75ca8f0f5cfca9fd82115c782f94
* | Fix pygments stylemelissaml2020-06-042-6/+2
| | | | | | | | | | | | | | | | New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I69a051117890860e3dc524a6361f5acb21820a02
* | Merge "Fix hacking min version to 3.0.1"3.1.0Zuul2020-05-261-1/+1
|\ \
| * | Fix hacking min version to 3.0.1zhangboye2020-05-221-1/+1
| | | | | | | | | | | | Change-Id: Icc7d4b4016e44edfc4750ab3be0f180d6fb55d52
* | | Merge "Add release notes links to doc index"Zuul2020-05-261-0/+6
|\ \ \
| * | | Add release notes links to doc indexHervé Beraud2020-04-161-0/+6
| | | | | | | | | | | | | | | | Change-Id: I2e1fa7512529c90a5ada0402483849837bd2e14d
* | | | Merge "Remove the unused coding style modules"Zuul2020-05-261-5/+0
|\ \ \ \
| * | | | Remove the unused coding style modulesjacky062020-05-151-5/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python modules related to coding style checks (listed in blacklist.txt in openstack/requirements repo) are dropped from lower-constraints.txt as they are not actually used in tests (other than pep8). more info: https://github.com/openstack/requirements/blob/master/blacklist.txt Change-Id: Ia5502d5425eea30ce5fb4d14b9275f7c5be91f86
* | | | Remove translation sections from setup.cfgmelissaml2020-05-222-17/+0
| |_|/ |/| | | | | | | | | | | | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Change-Id: I0191aab0e89f12c2d1c62f9f35988307ce416e31
* | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-183-9/+9
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. openstackdocstheme renames some variables, so follow the renames. A couple of variables are also not needed anymore, remove them. Depends-On: https://review.opendev.org/728938 Change-Id: If23ebf2dcf6304d5ea50c5e427bfad217ce0d235
* | Merge "Add py38 package metadata"Zuul2020-04-271-0/+1
|\ \
| * | Add py38 package metadataSean McGinnis2020-04-241-0/+1
| |/ | | | | | | | | | | | | | | | | Now that we are running the Victoria tests that include a voting py38, we can now add the Python 3.8 metadata to the package information to reflect that support. Change-Id: I0e7e44d72b851ece75e28556b32f2644669246de Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
|/ | | | | | | | | | | | | | Python 3.8 is now our highest level supported python runtime. This updates the default tox target environments to swap out py37 for py38 to make sure local development testing is covering this version. This does not impact zuul jobs in any way, nor prevent local tests against py37. It just changes the default if none is explicitly provided. Change-Id: I0dff5f597bd431159b868d210d1c199d373bb318 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Add Python3 victoria unit testsOpenStack Release Bot2020-04-141-1/+1
| | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for victoria. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I9cc55a45d28a7dfbab410eec4345df2566330920
* Update master for stable/ussuriOpenStack Release Bot2020-04-142-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/ussuri. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/ussuri. Change-Id: I90f8c542352a4f7c61f039c81137e37cbe2898f6 Sem-Ver: feature
* Don't build universal wheel3.0.2Andreas Jaeger2020-04-041-2/+0
| | | | | | | - Remove obsolete sections from setup.cfg: * Wheel is not needed for python 3 only repo Change-Id: If9976d5e6021872abd49f57fba135a1ba7024c7b
* Update hacking for Python33.0.1Andreas Jaeger2020-03-301-1/+1
| | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Change-Id: I447f5d69e6932b41878ff5d138b19b319038f6fb
* Filter out auth_token_info from logging valuesBen Nemec2020-03-102-6/+17
| | | | | | | | | | | | | auth_token_info is a common field that subclasses of RequestContext add. It contains things like the token itself and the entire catalog, both of which are undesirable to log. The token is a security concern and the catalog is huge, which bloats the logs an unacceptable amount. This change removes the auth_token_info key from the logging dict that we return to the log formatter, which eliminates both problems. Change-Id: If5ebaa3c1859d32cd05f51defe173fc625b21af5 Closes-Bug: 1866705
* Merge "remove outdated header"Zuul2020-02-131-1/+0
|\