Commit Graph

406 Commits

Author SHA1 Message Date
Zuul a0f68b3d85 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:29:30 +00:00
Zuul 72d77429bb Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:27:01 +00:00
Zuul 966e5d0fe3 Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:13:08 +00:00
OpenStack Release Bot d5596ae169 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: I799fd64dc30134d6d4fe64885f7883050bb078fc
2024-03-08 14:23:26 +00:00
OpenStack Release Bot 7b85ffc34c reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I1045375de2a0bdc613ccf1ab89eba959aa2d2d95
2024-03-07 14:26:58 +00:00
OpenStack Release Bot f37a3e7f5b reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I9278d1c8345dfb2f5b53c6f487e9238d1c17d875
2024-03-07 14:22:39 +00:00
OpenStack Release Bot 59f448b3b8 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I4f21f5c5b57df6909dae0447d4df9bf411c2e3f3
2024-03-07 14:17:40 +00:00
Zuul 548c7a3fd5 Merge "Display coverage report" 2024-02-07 06:59:44 +00:00
Takashi Kajinami 4ceb5931aa Display coverage report
... for easy reference. Also make sure old data is purged.

Change-Id: Ifc487ea4b45ee898066ac9c66820c3f14e5d37da
2024-02-07 12:17:26 +09:00
OpenStack Release Bot dabffaaf6a reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: If13b5568988dd9fcb537b716849c8ef4a76b2827
2024-02-06 14:29:14 +00:00
Zuul 9b62848ffe Merge "pre-commit: Integrate bandit" 2024-01-28 09:00:02 +00:00
Zuul c7d4c0c74b Merge "pre-commit: Bump versions" 2024-01-28 09:00:01 +00:00
Zuul 5e2cb49d8a Merge "Require pytz only in Python < 3.9" 2024-01-27 13:25:30 +00:00
Ghanshyam Mann 471f10de1d 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: I0a8571661af32f44174f5d810ab41560a6b4ba1f
2024-01-11 16:19:38 -08:00
Zuul 24d0f26fd5 Merge "jsonutils: Raise ValueError in case the input can't be converted" 2024-01-06 18:38:28 +00:00
Stephen Finucane 7f90f0cabd pre-commit: Integrate bandit
We also remove these unnecessary linter dependencies from
test-requirements.txt.

Change-Id: I6c3c5fcc329c46054a144557a79c4b3c6ca383b5
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2024-01-03 12:12:19 +00:00
Stephen Finucane 5587e9555e pre-commit: Bump versions
hacking now has a native hook.

Change-Id: Ibdf50f4e1e1cfe6056f25322f66d4e95f5930dc0
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2024-01-03 12:12:14 +00:00
Takashi Kajinami 712ec48ab4 bandit: Disable B411
Bandit 1.7.6 now always raises B411 error when xmlrpc is imported.
The error can't be resolved even if we make the suggested change in
code. Let's disable the check for now to unblock gate.

Change-Id: I515af75af2b790eaee52692abebae2fa8387aed1
2023-12-21 22:23:22 +09:00
Takashi Kajinami 9aaea368e4 Require pytz only in Python < 3.9
ptyz is no longer required in Python >= 3.9 in favor of zoneinfo.

Also tzdata was added to requirements as a runtime dependency of
zoneinfo, which is only available in Python >= 3.9 and is not required
in Python 3.8.

Depends-on: https://review.opendev.org/c/openstack/requirements/+/901119
Change-Id: Icb5bffbeb3da0582332c420ec2b4ceac1a58966b
2023-11-16 23:03:42 +09:00
Takashi Kajinami c83a4c9968 jsonutils: Raise ValueError in case the input can't be converted
According to the warning it was planned that this change was made in
3.0.

Change-Id: I0c1011b935f52f5ea1329e0316f935a034fdfd0e
2023-11-08 17:41:29 +00:00
Zuul 61a6df2901 Merge "Bump bandit" 2023-10-19 00:04:30 +00:00
OpenStack Release Bot 27a8fd66c7 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: Id8795c72a6277490270e4e182c1138ed3ca903e9
2023-09-07 09:38:20 +00:00
Joel Capitao a0ba2d777c Remove extra spaces in tox.ini
'setenv' and 'commands' should be at the same level of indentation
otherwise it breaks some build tooling as we are hitting in
RDO.

Change-Id: Ib6ac2e4b62aa26dc9d5c5ff97844f0e7b61386e5
2023-06-28 09:50:34 +02:00
Hervé Beraud f8b733cd1c Bump bandit
Change-Id: I4e3076be6c50c4ec4c4bd950e25c64afc62511ae
2023-05-19 15:52:15 +02:00
Hervé Beraud 61c460f3f2 Fix compatibility with Python 3.8
We removed compatibility with Python 3.8 once but it was added back to
tested runtimes for 2023.2. Thus we have to make sure the code works
with Python 3.8, which was broken by [1].

Note that pytz is added back to requirmenets.txt and is now required
regardless of the python version. This is a short term solution until
we figure out the way to fix the requirement-check job (or we again
remove python 3.8 support).

[1] a326ec5eea

Change-Id: I3b222bb59260dff7a06a5ed48720df3dc8c74ea7
2023-05-16 10:24:51 +02:00
Zuul d4c988ab9c Merge "Revert "Moves supported python runtimes from version 3.8 to 3.10"" 2023-05-05 13:23:42 +00:00
Ghanshyam b111b03ba5 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 9ffd4e59d7.

Keeping Python 3.10 in setup.cfg classifier. 

Reason for revert: 

Needed-By: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

TC has been discussing about re-adding the python 3.8
testing in current master 2023.2 release testing.

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191
- https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html

While governance changes are under review, TC agreed to add py3.8 testing
so that we do not see more project/lib dropping python 3.8 and make them
uninstalable on python 3.8

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17
- https://review.opendev.org/c/openstack/governance/+/882165

Also adding py3.8 testing back in job https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

Change-Id: I091d2f7d2d936523374639796c6adad854f7f712
2023-05-04 20:19:50 +00:00
Zuul adfd830d44 Merge "Implement zoneinfo support to drop dependency to pytz" 2023-04-17 11:26:01 +00:00
Hervé Beraud 9ffd4e59d7 Moves supported python runtimes from version 3.8 to 3.10
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].

[1] https: //review.opendev.org/c/openstack/governance/+/872232

Change-Id: Ia5239c63e4e0710d9350cc24e563851dc8f58b35
2023-04-10 01:55:38 +00:00
Zuul 9ebcdd3cd7 Merge "Use the new openstack-python3-jobs template" 2023-03-28 08:24:43 +00:00
Hervé Beraud a326ec5eea Implement zoneinfo support to drop dependency to pytz
Zoneinfo was introduced within python 3.9.

The support of pytz will be removed within RHEL 10 [1].

2023.2 (bobcat) will move our testing runtime to py3.9 and py3.10
so we want to see pytz removed within this series.

tzdata is required at runtime in our gates, because, by default,
zoneinfo uses the system’s time zone data if available; if no system
time zone data is available, the library will fall back to using the
first-party tzdata package available on PyPI. Apparently our gates have no
time zone data available nor tzdata installed by default because we get the
following error without tzdata installed [3]:
`ModuleNotFoundError: No module named 'tzdata'

So I prefer to add tzdata in our requirements to avoid runtime failure
related to time zone and ensure that time zone are always available.

[1] https://issues.redhat.com/browse/RHEL-219
[2] https://review.opendev.org/c/openstack/governance/+/872232
[3]
https://zuul.opendev.org/t/openstack/build/0a1576775e894b09bc31269fea00ba03/log/job-output.txt#1445`

Depends-on: https://review.opendev.org/c/openstack/requirements/+/875854
Change-Id: I8d87d54f6f5ded8caee6cb780bacb39afea0fea1
2023-03-23 17:17:59 +01:00
Hervé Beraud e3307fde6e Use the new openstack-python3-jobs template
release repository did not change to use the latest template for unit
test jobs. This patch removes the versioned template and replaces it
with the unversioned one (that was introduced with patch [1]).

[1] https://review.opendev.org/856903

Change-Id: Ifcc10a162baeb8b9e5e7ea00199759b664bb0ce7
2023-03-23 17:17:59 +01:00
OpenStack Release Bot 864aa2f171 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: I87250b8fc8630e415b9ff3c42e4d8f8f761342c0
2023-02-24 15:23:11 +00:00
Hervé Beraud b4be3a4603 Fix issues related to tox4
Related to https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032247.html

Change-Id: Ie97378271aeb3f98195fbe8433723ea556e9cf9e
2023-02-17 13:15:12 +00:00
OpenStack Release Bot 03cce883da Add Python3 antelope unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ia7f44e48c07e76cce676ef22b3c53286adf7b882
2022-09-09 09:18:11 +00:00
OpenStack Release Bot 45847211a3 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: Icbfda3a00eb3a309c51d710614981977b3fa0b03
2022-09-09 09:18:09 +00:00
Hervé Beraud dd2a819915 Drop python3.6/3.7 support in testing runtime
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,

example nova:
- 56b5aed08c/setup.cfg (L13)

Also indicates that we support python 3.9.

Change-Id: I909c1da508e66ceafcb9f08717dad0a7cea9d50d
2022-05-05 16:09:30 +02:00
songwenping 0f5451555b Remove unnecessary unicode prefixes
Change-Id: I0910f62e7feaf928fe0afe4721c5b271d4748449
2022-04-19 19:48:16 +08:00
OpenStack Release Bot bcbd6adbc3 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ia2521e30dd07f468635d2425d0f9eb39de2eb639
2022-03-04 17:19:31 +00:00
OpenStack Release Bot 85d12b3f1d Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: Ief6dc07dff0687763b615eca8e7e651c007f2557
2022-03-04 17:19:30 +00:00
Zuul 6910f755c8 Merge "setup.cfg: Replace dashes with underscores" 2021-10-05 11:44:39 +00:00
OpenStack Release Bot 67485b1e28 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: If8b4db1b56ae3920ad0cb2e4123194eef56d577e
2021-09-10 14:38:22 +00:00
OpenStack Release Bot 2d11895986 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

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

Sem-Ver: feature
Change-Id: Ie261273e3d9330041dd8e978ed146f6c15947c8a
2021-09-10 14:38:20 +00:00
yangyawei 2b94a4f9eb setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ieac40473f778b971873ce2e5e2c95011a7aa7665
2021-05-14 17:29:56 +08:00
jiangzhilin 521d403582 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: Ib5e331ca851474bc4db8287d6a8abaafe75724cd
2021-05-05 02:54:18 +00:00
Zuul 92e3f74b24 Merge "Add Python3 xena unit tests" 2021-04-16 13:38:26 +00:00
Zuul 5f2798e645 Merge "Remove lower-constraints remnants" 2021-04-16 12:24:59 +00:00
Zuul 66333c01a1 Merge "Use TOX_CONSTRAINTS_FILE" 2021-04-16 12:07:08 +00:00
Zuul c21a311064 Merge "Drop use of deprecated collections classes" 2021-04-16 11:50:41 +00:00
Zuul 96409d6e36 Merge "Update master for stable/wallaby" 2021-04-15 16:23:12 +00:00