Commit graph

1457 commits

Author SHA1 Message Date
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
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
704e13a7e0 Use pre-commit to run format check
Change-Id: Ie91c1e1623c9c2712effa98bdbb39a0895677933
2025-04-13 16:45:22 +09: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
Zuul
e5c4dea5eb Merge "Remove leftover of Python <= 2.6 support" 2023-09-05 13:16:45 +00:00
Takashi Kajinami
c1938fbe82 Remove some notes no longer valid
setup.py is no longer maintained by the global sync. Also the note
in requirements.txt does not apply since pip 20.3.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-June/034073.html

Change-Id: Id5c3bcdaaf31cc7de0a69500ed7a18d0d6680c38
2023-06-14 04:11:18 +09:00
Takashi Kajinami
668d85fa8a Add Python 3.10 to supported runtime.
Python 3.10 has been tested since 2023.1[1].

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

Change-Id: I0467f47d436267aadcee4e7c8295c6366531fe3e
2023-03-30 14:42:31 +09:00
Zuul
08a6816131 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2023-03-07 06:35:28 +00:00
OpenStack Release Bot
e2c006bc91 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: Iad79ec935509361073ad7d128f1860a4482ddf51
2023-03-02 14:10:19 +00:00
Takashi Kajinami
712739e5e7 Adapt to tox 4
skipsdist=True breaks extension loading by stevedore since tox 4. This
removes the option to fix the unit tests.

Change-Id: Id6853987caf999972e0597905619f364c20a636a
2023-02-17 00:30:23 +09:00
OpenStack Release Bot
3edca52068 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: Iae1f2a53f8bb94f7b464adf1c364cfa3d720e544
2022-09-14 09:22:24 +00:00
Bernhard M. Wiedemann
e7f7f1c3bd Make tests pass after 2038
time.time is used to not just shift the exiry time further into the future.

This bug was found while working on reproducible builds for openSUSE.

Change-Id: I146be9afa3ef54288218daa7ae21f7a7cb5aab67
2022-09-12 08:47:45 +02:00
Pavlo Shchelokovskyy
9bb529c62d Fix osc sd create command
the os_no_auth arg is only available in heat CLI, not openstack one.

Change-Id: Idf0c83304204e98909b8c876861b8ef9b0974f47
Story: 2010282
Task: 46253
2022-09-09 17:53:30 +03:00
OpenStack Proposal Bot
1c851850a3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie385012787c3d574611a50781c59090efff2377c
2022-09-07 02:48:27 +00:00
OpenStack Release Bot
1b87d22f45 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: Id13f81903c1eab5669ad4ce05029eb890a0d1324
2022-09-06 12:50:41 +00:00
Takashi Kajinami
d9a4c29a4f remove unicode prefix from code (2)
In Python 3, unicode prefix is meaningless. This removes unicode prefix
from code implementation and unit tests.

Change-Id: Ic4534dfb3fb6a2d8f7fcf4859a0eacbc3bd146e4
2022-08-07 02:14:56 +09:00
niuke
9bfa8e469a remove unicode prefix from code (1)
In Python 3, unicode prefix is meaningless. This removes unicode prefix
from code files used to generate documentations

Change-Id: I7bcf9dd502b218238be9ee94c31590d4112edcf4
2022-08-07 01:09:55 +09:00
Zuul
4935c90038 Merge "Accept sha256 hash for swift tempurl" 2022-07-18 06:52:03 +00:00