summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Switch to 2023.1 Python3 unit tests and generic template nameHEAD5.1.0stable/2023.1masterOpenStack Release Bot2022-09-141-1/+1
| | | | | | | | | | | | This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for antelope. Also, updating the template name to generic one. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I3a119e8b17c4c217f5dbcb01e254862bcf54a3a0
* Update master for stable/zedOpenStack Release Bot2022-09-092-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/zed. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/zed. Sem-Ver: feature Change-Id: Iee4d908a040943741e0bd8e29746ca758444681c
* fix: remove error python2 defense code5.0.1Wenxiang Wu2022-07-061-13/+3
| | | | | | bug #1980177 Change-Id: I5e0a79b44e5cf80c82137f000a9dbd078fc931f2
* Merge "Bump tox minversion to 3.18.0"5.0.0Zuul2022-06-031-3/+3
|\
| * Bump tox minversion to 3.18.0Takashi Kajinami2022-05-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Since tox 3.18.0, the whitelist_externals option has been deprecated in favor of the new allow_list_externals option[1]. This change bumps the minversion of tox so that we can replace the deprecated option. [1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I5aa8d079fc8e132cd90293b889ed53cb7d46da19
* | Update python testing as per zed cycle teting runtimeGhanshyam Mann2022-05-103-4/+8
| | | | | | | | | | | | | | | | | | In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: Iac9b528727fda29f8e350c3db06fe5c0a2a971bd
* | Merge "Use TOX_CONSTRAINTS_FILE"4.5.0Zuul2022-05-061-1/+1
|\ \
| * | Use TOX_CONSTRAINTS_FILEzhangboye2022-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>. Change-Id: I432a16bad7fbba98a72a5c8dd5129c837097e619
* | | Drop lower-constraints.txt and its testingGhanshyam Mann2022-04-303-77/+4
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | As discussed in TC PTG[1] and TC resolution[2], we are dropping the lower-constraints.txt file and its testing. We will keep lower bounds in the requirements.txt file but with a note that these are not tested lower bounds and we try our best to keep them updated. [1] https://etherpad.opendev.org/p/tc-zed-ptg#L326 [2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal Change-Id: I2eea42d3909896ea8606dc9cde681b2cc1cfb62f
* | Merge "trivial: Drop os-testr"Zuul2022-04-291-1/+0
|\ \
| * | trivial: Drop os-testrwangzihao2022-04-221-1/+0
| | | | | | | | | | | | | | | | | | os-testr is dead. Long live stestr Change-Id: I218a29502912376b116d3b42f571df1b384e2ba6
* | | Merge "Remove translation sections from setup.cfg"Zuul2022-04-293-15/+0
|\ \ \
| * | | Remove translation sections from setup.cfgwu.chunyang2022-04-223-15/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These translation sections are not needed anymore, Babel can generate translation files without them. Remove babel.cfg as well, this is the default role and not needed anymore. also remove Babel from requirements[1] [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html Change-Id: I0de45b0ced44fc0b4110b42912ab7682f243aaa2
* | | Merge "use importlib.metadata to get keyring version"Zuul2022-04-293-5/+17
|\ \ \
| * | | use importlib.metadata to get keyring versionDoug Hellmann2022-04-223-5/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Importing pkg_resources has a side-effect of scanning the metadata of all of the installed python modules to build an in-memory cache. That cache isn't used anywhere in keystoneclient, and it can be expensive to build. The importlib.metadata module in the 3.8 standard library (and the importlib_metadata library for earlier versions) provides the same version lookup service using a more efficient scanning implementation. Switching from pkg_resources to importlib.metadata will help application startup time, which is especially important for command line programs such as python-openstackclient. Change-Id: Ia89044ff1876eeb2793cd08ed9095ce2ffe89e09 Depends-On: Ic6db7af34c87a636bfe55bacae03c42154f4b9c7 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | | Merge "Stop to use the __future__ module."Zuul2022-04-295-10/+0
|\ \ \ | |_|/ |/| |
| * | Stop to use the __future__ module.Hervé Beraud2022-04-225-10/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I0173b210e343ccf6b00c3b66959c001fdb1d699b
* | Merge "Stop using an admin endpoint by default"Zuul2022-04-234-7/+24
|\ \
| * | Stop using an admin endpoint by defaultDr. Jens Harbott2021-11-054-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | With V3 of the identity API, we no longer need to have a dedicated admin endpoint, so stop requesting one by default, allowing deployments to actually work without one. Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Change-Id: I96cc9c14008bcc59992d06c89f8f50895390f11e
* | | Merge "remove unicode from code"Zuul2022-04-226-19/+19
|\ \ \ | |_|/ |/| |
| * | remove unicode from codezhangtongjian2022-04-196-19/+19
| |/ | | | | | | Change-Id: I2d2d025b0d8bda2ffc7be4d30489728c05f53c8e
* | Update master for stable/yogaOpenStack Release Bot2022-03-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/yoga. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/yoga. Sem-Ver: feature Change-Id: I0856420ed57a8a98b086f75922aa228c43e9273c
* | Update master for stable/xenaOpenStack Release Bot2022-03-042-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: Id7127c22dd9865c8ac08a1239f0ba483b9dacddc
* | Update master for stable/wallabyOpenStack Release Bot2022-03-042-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: I76270b66d167fbfe2da69524765f787b74249aa4
* | Update master for stable/victoriaOpenStack Release Bot2022-03-042-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: I952631a191752b560f3069a5b8572e3ccf93aedd Sem-Ver: feature
* | Merge "Fix bindep.txt to work with newer CentOS and RHEL"Zuul2022-02-251-4/+3
|\ \
| * | Fix bindep.txt to work with newer CentOS and RHELGrzegorz Grasza2022-02-211-4/+3
| | | | | | | | | | | | | | | | | | Tested this with centos7, rhel7, rhel8, fedora35. Change-Id: Ibfe495ab3d5e282bc38d5e31c7b10c4018767a20
* | | setup.cfg: Replace dashes by underscoresTakashi Kajinami2022-02-051-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since setuptools v54.1.0[1], the parmeters with dash have been deprecated in favor of the new parameters with underscore. This change updates the parameters accordingly to avoid the warnings like the example below. 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: I0335bf0e7382597abddc0cadd6fc49775ad1396e
* | Merge "Add access to /v3/auth/systems"4.4.0Zuul2021-11-223-0/+63
|\ \
| * | Add access to /v3/auth/systemsRadomir Dopieralski2021-11-223-0/+63
| |/ | | | | | | | | Closes-bug: 1945649 Change-Id: I7df5d9bf3cfb0e58e0e129a56170c8fe33523a4c
* | Merge "Drop lower-constrait job"Zuul2021-11-021-1/+0
|\ \
| * | Drop lower-constrait jobTakashi Kajinami2021-04-051-1/+0
| |/ | | | | | | | | | | | | | | | | | | Lower-constraints is not required and has been dropped from Keystone because of an issue with the new dependency resolver in pip[1]. The job is currently broken so let's disable it to unblock gate first. [1] d6610594d1b766a8ee3ac65182b951f2a3d431f7 Change-Id: I67b8981b211c5d15154c919ea6f4f75639863437
* | Fix doc error to unblock the gateRadomir Dopieralski2021-10-141-0/+1
|/ | | | | | /home/zuul/src/opendev.org/openstack/python-keystoneclient/.tox/docs/lib/python3.8/site-packages/keystoneauth1/fixture/discovery.py:docstring of keystoneauth1.fixture.discovery.DiscoveryList:1:duplicate object description of keystoneauth1.fixture.discovery.DiscoveryList, other instance in api/keystoneclient.fixture, use :noindex: for one of them Change-Id: Id2722a1b275be88af6d0337684f1eb012b7f4ce1
* Merge "Replace assertItemsEqual with assertCountEqual"xena-emwallaby-em4.3.04.2.0Zuul2020-09-092-8/+8
|\
| * Replace assertItemsEqual with assertCountEqualgugug2020-07-122-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assertItemsEqual was removed from Python's unittest.TestCase in Python 3.3 [1][2]. We have been able to use them since then, because testtools required unittest2, which still included it. With testtools removing Python 2.7 support [3][4], we will lose support for assertItemsEqual, so we should switch to use assertCountEqual. [1] - https://bugs.python.org/issue17866 [2] - https://hg.python.org/cpython/rev/d9921cb6e3cd [3] - testing-cabal/testtools#286 [4] - testing-cabal/testtools#277 Change-Id: Ib5985049235ee1b6018fc172a67e3b05970a6c42
* | [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-08-162-4/+4
|/ | | | | | | | | | | | | | | | | | | As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. Story: #2007865 Task: #40190 Closes-Bug: #1886298 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h> Change-Id: Ieada47b1455e635208bafe12168fadcb65bc72b9
* Merge "Fix hacking min version to 3.0.1"victoria-em4.1.1Zuul2020-06-302-5/+1
|\
| * Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-152-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. Also removing the hacking and other related dep from lower-constraints file as theose are blacklisted requirements and does not need to be present there. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: I636e12ccfb0ad12bfe7f8095cbd196d36902f645
* | Merge "Use unittest.mock instead of third party mock"Zuul2020-06-1915-15/+15
|\ \
| * | Use unittest.mock instead of third party mockSean McGinnis2020-04-1815-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I7498ea2353cccca7b23d9ef74015a566ac431f90 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | Merge "Switch to newer openstackdocstheme and reno versions"4.1.0Zuul2020-05-213-11/+12
|\ \ \
| * | | Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-203-11/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * parallelizing building of documents Update Sphinx version as well. openstackdocstheme renames some variables, so follow the renames. A couple of variables are also not needed anymore, remove them. Set openstackdocs_pdf_link to link to PDF file. 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. Depends-On: https://review.opendev.org/729744 Change-Id: I311a5daa382dfca07e618eb6cbb3f44bd0502b02
* | | Fix test-requirements.txtAndreas Jaeger2020-05-181-2/+1
| | | | | | | | | | | | | | | | | | | | | python_version==2.7 is not supported anymore, remove this line to unbreak the repo. Change-Id: I15de57f071a3080239a4418561e4ad610289e478
* | | Merge "Update the minversion parameter."Zuul2020-05-181-4/+2
|\ \ \ | |/ / |/| |
| * | Update the minversion parameter.Daniel Bengtsson2020-04-101-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the minversion parameter to use the python -m pip to install python packages: https://tox.readthedocs.io/en/latest/changelog.html#id185 It's recommend to use this. Remove the useless install_command parameter. Change-Id: I8c6081d58e22db10c62e2706a8fcddfccb3fa69d
* | | Merge "Add py38 package metadata"Zuul2020-05-051-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: I49640c50a7b78212a5c2ad03acb43be7adf98305 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: I35b2404890339a4e1f18adf49a2de58d45bb1523 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* | | Merge "Add Python3 victoria unit tests"Zuul2020-04-221-1/+1
|\ \ \
| * | | Add Python3 victoria unit testsOpenStack Release Bot2020-04-111-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: I3f8b39b40588804dc644de63d792f4178c019a7d