Commit graph

1471 commits

Author SHA1 Message Date
Takashi Kajinami
30dafe7d7e pre-commit: Update versions
Change-Id: Ida9f687195547cbb3afe4a727ed84c2e81c63365
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-10-05 19:26:43 +09:00
Zuul
6e495db406 Merge "Run pyupgrade to clean up Python 2 syntaxes" 2025-10-02 14:37:56 +00:00
OpenStack Release Bot
8e4b075dd1 Update master for stable/2025.2
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
2025-09-04 13:41:46 +00:00
Takashi Kajinami
d8a25e1ce1 Fix a typo in release note
Change-Id: Ibff6a20a1e1fb204eb48c2d8b6aee44541d5b1ff
2025-06-26 11:17:47 +09:00
Zuul
6416882764 Merge "Remove Python 3.9 support" 2025-06-10 06:39:06 +00:00
Zuul
a054256037 Merge "Revert "Replace license classifier"" 2025-06-10 06:09:24 +00:00
Takashi Kajinami
d561d66655 Remove Python 3.9 support
Python 3.9 is no longer part of the tested runtimes[1].

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

Change-Id: Id0afb54c524044f6c0cde11a97b809a392add73f
2025-06-09 08:59:09 +00:00
Takashi Kajinami
ac419fb80b Revert "Replace license classifier"
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
2025-06-09 07:41:40 +00:00
Zuul
eda7142f2c Merge "Replace license classifier" 2025-05-29 15:05:32 +00:00
Zuul
a5c0f530c4 Merge "Bump minimum pbr" 2025-05-29 14:19:14 +00:00
Takashi Kajinami
3dcdcbde64 Replace license classifier
... 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
2025-05-29 22:35:55 +09:00
Takashi Kajinami
e17fdb86b6 Bump minimum pbr
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
2025-05-29 21:06:32 +09:00
Zuul
58b78320f3 Merge "Add --project param to stack list in OSC plugin" 2025-05-07 11:08:58 +00:00
Takashi Kajinami
47d6aac1c2 add pyproject.toml to support pip 23.1
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
2025-05-07 14:30:30 +09:00
Takashi Kajinami
85713447b1 osc: Use FormattableColumn for formatter
... because usage of legacy format function was deprecated 8 years ago
and was recently removed from osc-lib[1].

[1] 0e7dada02b825b2f97ac3eb68544bdd438a3a099

Change-Id: I62521846b4aaf8036cd83e3f5a38d9eed6c520a7
2025-05-07 14:30:30 +09:00
Takashi Kajinami
28464d9b99 Drop redundant injection of VIRTUAL_ENV
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
2025-04-15 21:25:47 +09:00
Zuul
6c9e65f61b Merge "doc: Use common requirements definition" 2025-04-15 05:08:20 +00:00
Takashi Kajinami
ba0c13610b doc: Use common requirements definition
Change-Id: Ie6204cb48e707e1f4d0170a970e8ceaed4c48b1d
2025-04-14 00:41:50 +09:00
Takashi Kajinami
d5756db596 Run pyupgrade to clean up Python 2 syntaxes
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
2025-04-13 16:50:48 +09:00
Takashi Kajinami
704e13a7e0 Use pre-commit to run format check
Change-Id: Ie91c1e1623c9c2712effa98bdbb39a0895677933
2025-04-13 16:45:22 +09:00
Tobias Urdin
f35ae22279 Add --project param to stack list in OSC plugin
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
2025-03-17 14:57:40 +01:00
Zuul
895751dcd9 Merge "Skip functional tests for .gitreview" 2025-03-15 16:39:41 +00:00
Takashi Kajinami
804539bd5d Skip functional tests for .gitreview
... because the file does not affect actual functionality.

Change-Id: I7462021f96ac62c7f9364180fa9ab65c3c46f0ac
2025-03-15 14:34:23 +00:00
OpenStack Release Bot
ad1846c8c6 Update master for stable/2025.1
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
2025-03-06 09:05:24 +00:00
OpenStack Release Bot
dd976ac913 reno: Update master for unmaintained/2023.1
Update the 2023.1 release notes configuration to build from
unmaintained/2023.1.

Change-Id: I27ee5870cfff272885a0a8981e3b20323b0ed108
2024-11-20 09:55:45 +00:00
Zuul
bc6fa63c9c Merge "Require int value for --limit option" 2024-11-16 17:20:24 +00:00
Takashi Kajinami
f589ad7ea2 Declare Python 3.12 support
Now Python 3.12 unit tests job is voting. So we can safely say this
is tested with Python 3.12 .

Change-Id: Iabceca3fb0496aee7ced8d476effdf53123f0254
2024-10-09 22:38:04 +09:00
OpenStack Release Bot
fa0a332c14 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: I6b28ffa86c76cce8d9d3873b864a2c093f3f4efc
2024-09-05 15:53:10 +00:00
Takashi Kajinami
d55e096132 Fix storyboard links
We have a dedicated project for python-heatclient project.

Change-Id: Ib419c4463f347195595ef8aa673720321289b171
2024-08-28 14:57:07 +00:00
Zuul
1927719fb2 Merge "Remove Python 3.8 support" 2024-06-25 16:00:33 +00:00
Takashi Kajinami
2d07858d1d Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Change-Id: Ia41294d1be0cb661c9fd8ecd7f01d08967e1e3e1
2024-04-30 19:26:11 +09:00
Takashi Kajinami
e89f3f4c89 Remove Python 3.8 support
Python 3.8 is no longer part of the tested runtimes for 2024.2[1]
because its EOL is coming soon.

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

Change-Id: I53af6de4448e43ddd8bc0203b9e5124c691d645e
2024-04-30 13:26:27 +09:00
OpenStack Release Bot
b46e23eafe reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I832ce2a06024cb05149ac23841f52688c015a092
2024-04-29 10:47:58 +00:00
OpenStack Release Bot
643212e85c 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: Iafa90de5fb36450d7d418862cceceb973e004862
2024-03-07 15:35:46 +00:00
Zuul
1aab1e29bd Merge "reno: Update master for unmaintained/victoria" 2024-03-06 15:21:09 +00:00
Zuul
4a9afd4a45 Merge "reno: Update master for unmaintained/wallaby" 2024-03-06 15:05:53 +00:00
OpenStack Release Bot
4dd33e06e1 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I98a1546db851a26e3d82c8ebd980526280c9cc3a
2024-03-06 11:42:07 +00:00
OpenStack Release Bot
b69d36f065 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Idc5e75ff31af827c8eba71a3c26a4128b1a7339e
2024-03-06 11:40:59 +00:00
OpenStack Release Bot
919862423f reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I8f2bf5f8fe8506807f62e6a9bf55c1ab5fc65b5d
2024-03-06 11:39:46 +00:00
OpenStack Release Bot
02c82e69e9 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I2958b59060d1f8be1f68e9c90b74377d711ba9a0
2024-02-05 16:54:09 +00:00
Takashi Kajinami
c34fc8ae5d Bump hacking
hacking 3.0.x is too old.

Change-Id: I24423a1524de2744c5bb96a0bd7b23d5592c97a0
2024-01-17 02:08:23 +09:00
Zuul
167b07208d Merge "Fix osc sd create command" 2024-01-08 07:44:59 +00:00
Zuul
cf563b6359 Merge "Make tests pass after 2038" 2024-01-08 07:32:34 +00:00
Zuul
cff5de6049 Merge "Remove translation sections from setup.cfg" 2023-12-21 16:32:22 +00:00
Takashi Kajinami
a06ac739e3 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can generate
translation files without them.

[1] 2f610b953463a3d186ac1e86edd56e93b1115c98

Change-Id: I901366dacadf5aebff06674417c0075ce1e65e15
2023-12-21 19:25:38 +09:00
Takashi Kajinami
9779d5f59e Add Python 3.11 to supported runtimes
... because it's part of tested runtimes now and we now use it to run
unit tests.

Change-Id: Ia7576c1e6675514b2b5fdc0084d44dae09587e05
2023-12-21 14:55:30 +09:00
Zuul
36c5b9c4c9 Merge "remove unicode prefix from code (2)" 2023-12-19 14:05:56 +00:00
Zuul
615da3d2a8 Merge "remove unicode prefix from code (1)" 2023-12-19 13:38:59 +00:00
OpenStack Release Bot
412e6c4503 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: Ie61f55bbe5ca55f2726090757cc4253e271d639e
2023-09-07 10:31:38 +00:00
Takashi Kajinami
b1ff18fdcb Fix release note generation
This fixes the following error in the release note job.

Warning, treated as error:
Invalid configuration value found: 'language = None'. Update your
configuration to a valid language code. Falling back to 'en' (English).

Change-Id: I9952c587b238a286a73e410585f5e1a6e548c7d7
2023-09-07 19:17:06 +09:00