Nowadays, the SDK and the unified OpenStack client should be used
instead of the service-specific clients.
Change-Id: I9f67db82e8cd4ef8e6ff6186de17e8f84dabbbbd
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: I0c77304938aaeb47036e672eff8288252fde7b2d
Python 3.8 is no longer be part of tested runtimes since 2024.2 and is
reaching its EOL soon. Bump the minimum supported python version.
Also declare Python 3.12 support because now it's part of the tested
runtimes.
Change-Id: Ie2b1cb2eb0f2eb6da3266c3fb55b5f3aef7e6af7
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
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: I4cdc92e17fb170b053191c0d99e5e873acbec00d
Due to a bug in Sphinx [1], the ':noindex:' flag is currently broken for
the 'module' directive. Workaround it by replacing it with the ':no-index'
flag, which is what we'll need come Sphinx 9.x anyway.
[1] https://github.com/sphinx-doc/sphinx/issues/12843
Change-Id: If3fa5c51b566ea0144acf84d186ce12c8127c9a8
Handle a change in Python 3.12 [1].
[1] cffb4c78d3
Change-Id: I772579d297ef51c57019218a4ca8a566987b9b5c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
The 'TestServersBootNovaClient.test_boot_server_using_image_with' tests
in 'novaclient.tests.functional.v2.legacy.test_servers' was failing due
to multiple networks errors. Something has changed here, but I don't
know what and I haven't bisected to figure it out. However, this test
was the only one that wasn't respecting the 'multiple_networks'
attribute we set to detect exactly this issue. Change that, fixing the
test in the process.
Closes-bug: #2077168
Change-Id: If8384aaf138559fe83ba4485049f9a7b45a44e12
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
These are detected as errors since the clean up was done[1] in
the requirements repository.
[1] 314734e938f107cbd5ebcc7af4d9167c11347406
Bump the minimum versions to avoid installing these known bad versions.
Change-Id: I3536dbbbec41d144c9f622c9ea3433917ac66c63
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: I5804821f5095072fea32bf2787cfff35133e8fd9
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: Ib4658c25e7f20a0e4bc8fd01e8ebacfb4a27b3e2
The following devstack change I3361d33885b2e3af7cad0141f9b799b2723ee8a1
may be a root cause for failing functional job. This commit should
verify this.
Change-Id: Ica272a5ce5d20dcb52e8a636849af2d71e15afb2
pip 23.1 removed the "setup.py install" fallback for projects
that do not have pyproject.toml and now uses a pyproject.toml
which is vendored in pip.
To address that, this change adds the minimal pyproject.toml
to enable pbr to be properly used to build editable wheels.
This is required to support installing devstack on
centos stream 9 and related distros with GLOBAL_VENV=True
Without this change the wsgi scripts are not generated in
editable mode. i.e. pip install -e /opt/stack/keystone
See https://pip.pypa.io/en/stable/news/#v23-1
and https://github.com/pypa/pip/issues/8368 for more
details on the removal of the fallback support.
setuptools v64.0.0 is used to support editable installs
via its PEP-660 implmentation
https://github.com/pypa/setuptools/pull/3488
Change-Id: Ieea0ac142e79a9de4d2fbf45fdad70d0ff079304
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: I7b70843227db7e74151f8483485cf9995724438f
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: Iac2e628333518455eef637f626ce6a3b54057afd
There are no client-side changes for either 2.94 or 2.95, so just do
the bump and add release notes.
Change-Id: I8c2bfd48526840fc618820b9ae6a12dc98cdef45
* removed skipsdist=True to make sure novaclient is available in the virtual
env. The usedevelop and skipsdist does not work together any more
https://github.com/tox-dev/tox/issues/2730. For bindep we still don't
need the current repo to be installed in the env so skipsdist added
there.
Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/866943
Change-Id: I979b91570c7b60273f35fbdf8464f6a9ee2007d6
The argparse lib in Python 3.11 will not allow you to register a
subparser more than once with the same name. We were inadvertently doing
this in two of our unit tests as part of our check for version handling.
There's no need for this. Stop doing it and simply create a new parser
each time.
An unnecessary check is removed from one of the tests since it confuses
matters.
Change-Id: I93827f84c456c9f6960e30e2424b67947254752c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Make use of a "sentinel" object to allow us to remove the use of kwargs
and provide a more helpful docstring. With any luck, Python will support
these objects natively in a future release [1].
[1] https://www.python.org/dev/peps/pep-0661/
Change-Id: I411c0393754c8fe8a6698f0d278b73f12209ace8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
In 2023.1 cycle, we are testing the python 3.10
as voting job so updating the python classifier.
Currently we have py3.8 unit test job running on focal
and python 3.10 job on Jammy.
Change-Id: I4ec8e9663ddf41aa5d3858446e4e382db041ce48
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: Icf54ae2ae9db6996da6b881898fea2de4b67190c