Commit Graph

2505 Commits

Author SHA1 Message Date
Zuul b7c0e20cd8 Merge "tox: Drop envdir" 2024-03-01 17:50:00 +00:00
Zuul c66d778f3f Merge "Bump hacking" 2024-02-08 16:12:47 +00:00
OpenStack Release Bot 0cf86fd4c7 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: If9179d8b58020bca59f192143340e723555220a4
2024-02-06 15:50:54 +00:00
Takashi Kajinami 916814ec7a tox: Drop envdir
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~

According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293

Change-Id: I2f5ed23988842f41fe91a90a31041106100c9895
2024-02-02 23:52:54 +09:00
Takashi Kajinami 8965392ac3 Bump hacking
hacking 3.0.x is too old.

Change-Id: I9205cd709546d0bc827c1e95e4d6d06eaa408ad3
2024-01-27 23:33:11 +09:00
Zuul 49b1294cb3 Merge "Update python classifier in setup.cfg" 2024-01-26 16:33:38 +00:00
Zuul c23ecc2640 Merge "Remove deprecated pbr options" 2024-01-26 16:28:00 +00:00
Zuul 834d3a6fd3 Merge "Remove six dependency" 2024-01-26 16:27:58 +00:00
Ghanshyam Mann f9d4c2f96f Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: I76d2682e4c3dae9ed9bf0742f9850c84d8b34468
2024-01-03 23:57:01 -08:00
Zuul 83dfa1e211 Merge "Declare Python 3.10 support" 2023-12-22 06:31:56 +00:00
Aarni Koskela 1833d5bb5c Remove six dependency
This client hasn't been compatible with Python 2 in years,
so there is no point depending on a Python 2/Python 3
compatibility library.

Change-Id: I6979fcf0f92408751d9c3df937c8d4c060cfff54
2023-12-20 15:43:57 +02:00
Takashi Kajinami d7ec8cb0f2 Remove deprecated pbr options
The api_doc_dir option and the autodoc_index_modules option were both
deprecated in pbr 4.2.

The required options for the sphinxcontrib-apidoc extension are already
defined in doc/source/conf.py .

Change-Id: Id1f59c0be87ae10e2cf3fc05cd8b6f561eeccd85
2023-12-20 11:42:50 +09:00
Zuul e02dc90a87 Merge "Stop installing python-all-dev in Ubuntu/Debian" 2023-12-14 09:51:22 +00:00
Takashi Kajinami 922b4182a3 Stop installing python-all-dev in Ubuntu/Debian
... because python 2 is no longer supported. The package is no longer
available in recent Debian which is used in Python 3.11 job.

Change-Id: I83d8224e3e3aefef53a1c4b11419a96aadfbf65a
2023-11-09 01:48:11 +09:00
Takashi Kajinami cb1be57d38 Declare Python 3.10 support
... and removes the remaining code and dependency for Python < 3.8.

Change-Id: I9aa4b4fa6b73b6fbc792789b4bc63b7fb0370806
2023-10-07 12:08:28 +09:00
OpenStack Release Bot f43d64d85a Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I6411a02acc09b1727af76cae302e28cd20a10e12
2023-09-25 16:50:37 +02:00
Zuul 00858022c3 Merge "Update master for stable/2023.1" 2023-09-25 14:32:21 +00:00
Zuul c0dfeabfb9 Merge "Replace abc.abstractproperty with property and abc.abstractmethod" 2023-09-22 03:58:18 +00:00
Dave Wilde 141787ae8b Fix the gate
This patch resolves the issues with the gate by passing the tests
that are trying to use the old keystoneauth plugins. This is not
the correct fix, but it get's us past the gate issues. We need to
look at deprecating python-keystoneclient.

Change-Id: I6bd85d18432d0d077e774fcd51a6ba40d1d66be0
2023-04-27 14:33:24 +02:00
OpenStack Release Bot 237c818c98 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I9a771872941abcb8286af19c4468cac081383e6b
2023-03-02 13:49:22 +00:00
OpenStack Release Bot 4763cd8052 Switch to 2023.1 Python3 unit tests and generic template name
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
2022-09-14 09:10:26 +00:00
OpenStack Release Bot d0fbb84de6 Update master for stable/zed
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
2022-09-09 15:12:51 +00:00
ljhuang ab1ac4d180 Replace abc.abstractproperty with property and abc.abstractmethod
Replace abc.abstractproperty with property and abc.abstractmethod,
as abc.abstractproperty has been deprecated since python3.3[1]

[1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc

Change-Id: Idfaf5bb3a0552f1128416821de58dc8e1bb584f0
2022-08-03 17:49:49 +08:00
Wenxiang Wu bc8e9e73b1 fix: remove error python2 defense code
bug #1980177

Change-Id: I5e0a79b44e5cf80c82137f000a9dbd078fc931f2
2022-07-06 11:34:02 +08:00
Zuul 11d5abea38 Merge "Bump tox minversion to 3.18.0" 2022-06-03 17:31:16 +00:00
Takashi Kajinami 5753fcd120 Bump tox minversion to 3.18.0
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
2022-05-22 22:26:05 +09:00
Ghanshyam Mann 67aa3b93db Update python testing as per zed cycle teting runtime
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
2022-05-10 19:47:57 -05:00
Zuul 71ed5bd125 Merge "Use TOX_CONSTRAINTS_FILE" 2022-05-06 17:07:09 +00:00
Ghanshyam Mann 36510a81b0 Drop lower-constraints.txt and its testing
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
2022-04-30 20:20:31 -05:00
Zuul 9fdc2758bf Merge "trivial: Drop os-testr" 2022-04-29 17:21:42 +00:00
Zuul ef18e13db1 Merge "Remove translation sections from setup.cfg" 2022-04-29 17:21:39 +00:00
Zuul b79a10f0b5 Merge "use importlib.metadata to get keyring version" 2022-04-29 17:21:37 +00:00
Zuul 3c2d574837 Merge "Stop to use the __future__ module." 2022-04-29 17:15:15 +00:00
zhangboye d5d19334cd Use TOX_CONSTRAINTS_FILE
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
2022-04-29 15:36:20 +00:00
Zuul 92b1b45cba Merge "Stop using an admin endpoint by default" 2022-04-23 11:17:32 +00:00
Zuul 238269c07f Merge "remove unicode from code" 2022-04-22 17:21:06 +00:00
Doug Hellmann 6940b4ff0a use importlib.metadata to get keyring version
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>
2022-04-22 15:48:44 +00:00
wangzihao 77cd7fa638 trivial: Drop os-testr
os-testr is dead. Long live stestr

Change-Id: I218a29502912376b116d3b42f571df1b384e2ba6
2022-04-22 15:47:04 +00:00
wu.chunyang ca66b728ce Remove translation sections from setup.cfg
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
2022-04-22 15:46:38 +00:00
Hervé Beraud 32996f268c Stop to use the __future__ module.
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
2022-04-22 15:40:13 +00:00
zhangtongjian 07c7f94601 remove unicode from code
Change-Id: I2d2d025b0d8bda2ffc7be4d30489728c05f53c8e
2022-04-19 15:57:10 +08:00
OpenStack Release Bot ea1308ad0e Update master for stable/yoga
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
2022-03-11 10:53:07 -06:00
OpenStack Release Bot 8d8c31e500 Update master for stable/xena
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
2022-03-04 10:43:46 -06:00
OpenStack Release Bot 893747d4ff Update master for stable/wallaby
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
2022-03-04 10:42:27 -06:00
OpenStack Release Bot 59419f7899 Update master for stable/victoria
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
2022-03-04 16:37:47 +00:00
Zuul 0e26418f64 Merge "Fix bindep.txt to work with newer CentOS and RHEL" 2022-02-25 18:28:09 +00:00
Grzegorz Grasza 0e2f6788f0 Fix bindep.txt to work with newer CentOS and RHEL
Tested this with centos7, rhel7, rhel8, fedora35.

Change-Id: Ibfe495ab3d5e282bc38d5e31c7b10c4018767a20
2022-02-21 15:34:45 +01:00
Takashi Kajinami b15dfff348 setup.cfg: Replace dashes by underscores
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
2022-02-05 17:08:39 +00:00
Zuul 100253d52e Merge "Add access to /v3/auth/systems" 2021-11-22 23:02:47 +00:00
Radomir Dopieralski 56c7b502c0 Add access to /v3/auth/systems
Closes-bug: 1945649
Change-Id: I7df5d9bf3cfb0e58e0e129a56170c8fe33523a4c
2021-11-22 15:15:20 +01:00