2520 Commits

Author SHA1 Message Date
Takashi Kajinami
0d43c46ffa Remove Python 3.8 support
Python 3.8 was removed from the tested runtimes for 2024.2[1] and has
not been tested since then.

Also add Python 3.12 which is part of the tested runtimes for 2025.1.
Now unit tests job with Python 3.12 is voting.

[1] https://governance.openstack.org/tc/reference/runtimes/2024.2.html

Change-Id: I69fdd7d996668f8f2b75a810b8c3d5c2d8f6ea3f
5.6.0
2024-10-24 18:23:59 +09:00
Zuul
9413fd6e37 Merge "Use a stronger hash algorithm in the example certs" 2024-09-06 16:16:06 +00:00
2e0235267d Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: I8487a5be26df658368fed0781c727159af98a939
2024-09-06 13:20:06 +00:00
Zuul
a63564959b Merge "Remove old excludes" 5.5.0 2024-07-26 16:17:45 +00:00
Zuul
faf6e9f486 Merge "reno: Update master for unmaintained/zed" 2024-07-02 21:23:23 +00:00
Zuul
50d1846941 Merge "Update master for stable/2024.1" 2024-05-21 13:38:11 +00:00
Zuul
96f5e1c946 Merge "reno: Update master for unmaintained/victoria" 2024-05-08 16:01:06 +00:00
Zuul
f2ed13467f Merge "reno: Update master for unmaintained/wallaby" 2024-05-08 16:01:05 +00:00
2fe440b76f reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I1518c70e3b4fb1c9eff31d2d77dbcd6c7f434835
2024-05-08 12:40:37 +00:00
Takashi Kajinami
60f89caa7a Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Change-Id: I967f796217b1b6d88aacffdcff73e224fc95cd60
2024-04-30 19:25:07 +09:00
cf981fac1d reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I9828fe65e9ad7fa99da07eff87758df45b49ceba
2024-03-26 16:45:36 +00:00
67c564234d reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Ie57c473d1a0858660fece53ec4f2cc5a23cf8d5d
2024-03-26 16:44:34 +00:00
a24415e843 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I17aae3eb3aa03db0e0bcd3c80af6308aa85bf425
2024-03-26 16:43:33 +00:00
07b7ddde96 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

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

Sem-Ver: feature
Change-Id: I751bab4e282dca57903e771fefc248d22a496317
2024-03-08 14:13:09 +00:00
Zuul
b7c0e20cd8 Merge "tox: Drop envdir" 2024-03-01 17:50:00 +00:00
Zuul
c66d778f3f Merge "Bump hacking" 5.4.0 2024-02-08 16:12:47 +00:00
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" 5.3.0 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
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
5.2.0
2023-04-27 14:33:24 +02:00
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
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
5.1.0 2023.1-eom
2022-09-14 09:10:26 +00:00
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
5.0.1
2022-07-06 11:34:02 +08:00
Zuul
11d5abea38 Merge "Bump tox minversion to 3.18.0" 5.0.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" 4.5.0 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