This is a general best practice which brings (slight) performance
improvements and also structured logging.
Enable the hacking check to enforce it.
Change-Id: I1438382344507b05a88e59a675f398901ccbb9dc
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Also use explicit default to simplify logic.
Change-Id: I65e690485552a4b7fe36db2816b9478044968bd8
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
... according to the versions currently supported.
Change-Id: I93f0eed8b29cbb7779899ba9895e4f4233a884fa
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
Add file to the reno documentation build to show release notes for
stable/2025.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2025.2.
Sem-Ver: feature
Change-Id: I5784305bc51a413ed9a20d0fed252d1f141ef88f
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/add_release_note_page.sh
This reverts commit 3dcdcbde64.
Reason for revert:
There is still on-going discussion about the new license expression
and it may be changed in a near future. Until we get more stable
conclusion let's stick with the older format. See [1] to find details.
[1] https://review.opendev.org/c/openstack/nova/+/951226
Change-Id: Ic87fdba9d2dde5657fc2a4a8d640dd227321d6c1
... according to the following warning from setuptools.
SetuptoolsDeprecationWarning: License classifiers are deprecated.
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: Apache Software License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
Change-Id: Ica1da1203c70370ec29ddd67253bee4a807c08b1
pbr 6.1.1 introduced explicit dependency on setuptools, thus bumping
pbr allows us to remove direct and explicit dependency on setuptools.
Change-Id: I5131d21d178cce3389ffa7237efd8694315eece8
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
Co-Authored-By: Sean Mooney <work@seanmooney.info>
Change-Id: I0fd13f34ddeec25161d63437f2ea14f7b3a4c42e
... because usage of legacy format function was deprecated 8 years ago
and was recently removed from osc-lib[1].
[1] 0e7dada02b825b2f97ac3eb68544bdd438a3a099
Change-Id: I62521846b4aaf8036cd83e3f5a38d9eed6c520a7
tox automatically injects the environment so no manual override is
necessary.
Also remove basepython because tox uses the python version where tox
is installed by default, and we no longer expect that the tests may run
in env with python 2.
Change-Id: I4082aedf525f8d39dc65236d74e4063d3ae3a1ba
Update all .py source files by
$ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.
pep8 errors are fixed by
$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
--in-place heatclient
and a few manual adjustments.
Also replace a few remaining usage of %s by format or join.
Change-Id: I054046b414f809ff2e390713dd605f3732064148
This adds the --project parameter for the `stack list`
command in the OSC plugin so that we can retrieve the
stacks for a single project.
Change-Id: Ia1a198526292f4f8a6bccaa6235755525230e73e
Add file to the reno documentation build to show release notes for
stable/2025.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2025.1.
Sem-Ver: feature
Change-Id: Ie17fb89a3fe70eeb32896dae6bab8cd58ec05001
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: I6b28ffa86c76cce8d9d3873b864a2c093f3f4efc
These are detected as errors since the clean up was done[1] in
the requirements repository.
[1] 314734e938f107cbd5ebcc7af4d9167c11347406
Change-Id: Ia41294d1be0cb661c9fd8ecd7f01d08967e1e3e1
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: Iafa90de5fb36450d7d418862cceceb973e004862