- 22 Jul, 2021 1 commit
-
-
Takashi Kajinami authored
The following arguments of the RequestContext class are deprecated since oslo.context 2.18[1]. user : renamed to user_id tenant : renamed to project_id domain : renamed to domain_id user_domain : renamed to user_domain_id project_domain: renamed to project_domain_id This change updates arguments used accordingly. [1] d78cf592e1e3e7aa0fc99bfdd655e82f5c44dfe3 Change-Id: I815790106e42ca3cb5b8b3cf98b065a27b9a520e
-
- 01 Jun, 2021 1 commit
-
-
Zuul authored
-
- 26 May, 2021 1 commit
-
-
Zuul authored
-
- 06 May, 2021 1 commit
-
-
dengzhaosen authored
update python to python3 Change-Id: I08e9b66e03c59af7f6600633aaa87d55fcd46a56
-
- 30 Apr, 2021 1 commit
-
-
songwenping authored
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: I19543673ddf80d93e28f5503b7672f64a6cecf2a
-
- 27 Apr, 2021 1 commit
-
-
Jorhson Deng authored
We support Python 3.6 as a minimum now, making these checks no-ops. Change-Id: Ifd84fe4d7282e93998dc37cab4adda6d99d4adc1
-
- 16 Apr, 2021 4 commits
-
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
songwenping authored
Lower-constraints is not a requirement of the OpenStack Python PTI [0] and there currently is a discussion on the mailing list [1] about dropping the test, with the oslo team already having done so [2]. The new dependency resolver in pip fails due to incompatible dependency versions in our lower-constraints file, meaning that we were never providing any real guarantees with it. To unblock the CI, I am disabling lower-constraints job for now, with the option to reenable it in case we fix the constraints, and based on the outcome of the mailing list discussions and consensus. [0]. https://governance.openstack.org/tc/reference/pti/python.html [1]. http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019672.html [2]. http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019659.html Change-Id: I04e49f005841eb341c2d53cbc469252c089d1ab5
-
- 15 Apr, 2021 1 commit
-
-
Eric Harney authored
Add a missing space, this currently generates "setto" in config files. Change-Id: I4086fcab1e96e9127d7fe084d887cf57c8f87828
-
- 06 Apr, 2021 1 commit
-
-
Zuul authored
-
- 22 Mar, 2021 1 commit
-
-
Daniel Bengtsson authored
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 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: I9a16d80f361f223c4c5c8cdcf90e920abd89f679
-
- 21 Jan, 2021 1 commit
-
-
Zuul authored
-
- 19 Jan, 2021 1 commit
-
-
Ben Nemec authored
Adding warrior princess release to the list of releases. :-) Change-Id: I6bf6997899f6c95ed1074563164b82fce37f26f3
-
- 14 Jan, 2021 1 commit
-
-
Zuul authored
-
- 03 Jan, 2021 1 commit
-
-
xuanyandong authored
Change-Id: I4e4e6fc55053e9d524620022af442f1313a97446
-
- 18 Dec, 2020 1 commit
-
-
Hervé Beraud authored
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: I339b18e533c75283c58409a2cdce001e4b5fbb18
-
- 04 Nov, 2020 2 commits
-
-
Hervé Beraud authored
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: Ic4b4627cf0bbd401c870f813f2a5884950c7cb6a
-
Hervé Beraud authored
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: I4bad27f2daab336437ae7a85c79a4928b9fe894c
-
- 11 Oct, 2020 1 commit
-
-
OpenStack Proposal Bot authored
For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ic35ce5b2b13b0d8611d9ee222ec651d352a6831b
-
- 22 Sep, 2020 1 commit
-
-
Zuul authored
-
- 11 Sep, 2020 2 commits
-
-
OpenStack Release Bot authored
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: I7416f5611f80725280567c40a6c08f7a65df6152
-
OpenStack Release Bot authored
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: I59c55e7511840efe49cf08138b5837e3f1dfeeb3 Sem-Ver: feature
-
- 08 Sep, 2020 1 commit
-
-
Hervé Beraud authored
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: I6663d5e0866e03f8eb8c0543d3e3e0bbfb2399ac Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 06 Aug, 2020 2 commits
- 29 Jul, 2020 1 commit
-
-
Luigi Toscano authored
Make it a native Zuul v3 job. It is a simple variant of the base 'grenade' job where oslo.log is installed from source instead of pip. Also use a slightly more common name by dropping the "-devstack" suffix (all grenade jobs are also devstack jobs). Change-Id: I2f335358dd467f57a2178df66414bdc634eb6400
-
- 24 Jul, 2020 1 commit
-
-
Moisés Guimarães de Medeiros authored
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: Idca2a092bdfe762d23632e44e55be9290d692de8 Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 11 Jul, 2020 1 commit
-
-
Jan Vondra authored
When running under uwsgi a new key "uwsgi_name" is added to log events when using FluentFormatter that could be used for further analysis. It's value is taken from uwsgi configuration upon formatter initialization. Change-Id: I158409677523978246c26bf1168f323974d817a5 Closes-Bug: 1887232
-
- 30 Jun, 2020 1 commit
-
-
Zuul authored
-
- 18 Jun, 2020 1 commit
-
-
Goutham Pacha Ravi authored
with these once could use versionutils.deprecated.VICTORIA and versionutils.deprecated.WALLABY in config annotations and logs. Change-Id: I784dfe70c451958bf686f7d0e5ea9f5540bae08c
-
- 03 Jun, 2020 1 commit
-
-
Zuul authored
-
- 02 Jun, 2020 1 commit
-
-
Hervé Beraud authored
The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: I2f3e6a91ec94f14d7a5cd65b1a32d55eb788c216
-
- 01 Jun, 2020 1 commit
-
-
Brian Haley authored
Use a default value of None for facility in OSJournalHandler class, as is done in the OSSysLogHandler class. Neutron started failing with a: E1120: No value for argument 'facility' in constructor call With a recent release of oslo.log. Change-Id: I5269b82d219fd2377535120d9d266238d50431b3 Related-Bug: #1871840
-
- 28 May, 2020 1 commit
-
-
Zuul authored
-
- 26 May, 2020 2 commits
- 22 May, 2020 1 commit
-
-
Zuul authored
-
- 21 May, 2020 1 commit
-
-
Andreas Jaeger authored
Switch to openstackdocstheme 2.2.1 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. Remove these requirements from lower-constraints, they are not needed during installation. openstackdocstheme renames some variables, so follow the renames. A couple of variables are also not needed anymore, remove them. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I26d5cf722635d12c3cdfde6ec25b0d3e16377b2f
-