Commit Graph

1267 Commits

Author SHA1 Message Date
Zuul c290dd7fcf Merge "doc: Drop oslo.db.concurrency namespace" 2024-03-18 12:02:52 +00:00
Zuul cac8283414 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:24:05 +00:00
Zuul 46cc22b327 Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:14:48 +00:00
Zuul c2e728e756 Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:08:34 +00:00
OpenStack Release Bot 4c767edd29 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: Icbe72daa765e51be572775538a25fd8a4e8b58c7
2024-03-08 14:22:04 +00:00
OpenStack Release Bot 8c849f39c9 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

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

Change-Id: Ief7f8fe010eeccc287da6a5bd64eea0594690765
2024-03-07 14:20:47 +00:00
OpenStack Release Bot 648f979e65 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Ia08f46398484e07ad3a9b86f12aca5eea83ea185
2024-03-07 14:15:12 +00:00
Takashi Kajinami c40eacd146 doc: Drop oslo.db.concurrency namespace
This is used by TpoolDbapiWrapper in oslo.db which is deprecated.

Change-Id: I1cb605a531c080296952ece3668c4002061e94fd
2024-02-11 14:54:59 +09:00
OpenStack Release Bot 882adf8e4d reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ia5a36f66e06bcc64cd35aff57ce00809a31507c8
2024-02-06 14:27:27 +00:00
Takashi Kajinami f5c4096092 Bump hacking (again)
The previous attempt did not update the version in pre commit config
so the old version is still used by pep8 target.

Change-Id: I62048df659f4bc35f714de824aadfe9306e81c71
2024-01-26 01:18:49 +09:00
Zuul 42075a4638 Merge "Add choices parameter for IntOpt class" 2024-01-24 14:40:11 +00:00
Zuul de3de88d73 Merge "Bump hacking" 2024-01-24 13:10:30 +00:00
Takashi Kajinami d85300476f Bump hacking
hacking 3.0.x is too old.

Change-Id: Iebcae312b2776a17ca6164c2c879f7ba8a683808
2024-01-16 22:24:36 +09:00
Ghanshyam Mann d313d6d65a 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: I2a368b66bf8bc82326f6a147cb6c73343e7726e5
2024-01-11 16:18:23 -08:00
Philippe SERAPHIN 83bbc0df43 Add choices parameter for IntOpt class
Change-Id: Ic9e9a2fd7d1229616387a6a9d61f8a5b8f32829f
2023-12-20 10:17:52 +01:00
Takashi Kajinami 2930db4892 Remove compatibility with Python < 3.8
... because this library now supports only Python 3.8 or newer
versions.

Change-Id: Ibb48af4c501946b62a244994ecea5bfcd998810c
2023-10-07 12:01:26 +09:00
OpenStack Release Bot bfc32d5ad8 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: I5c18449ccfcb4e3c0ecd333a6d772ca4a2303d44
2023-09-07 09:36:12 +00:00
Zuul 28187da6d7 Merge "Bump bandit and make oslo.config compatible with latest rules" 2023-06-27 14:01:02 +00:00
Hervé Beraud 3dff974eea Bump bandit and make oslo.config compatible with latest rules
Apply a timeout to requests calls to avoid uncontrolled
resource consumption (CWE400) [1].

[1] https://cwe.mitre.org/data/definitions/400.html

Change-Id: I9e3c1e5f98e2ecfb5564d8dbd608d19d4a66cfce
2023-05-17 11:19:22 +02:00
Ghanshyam 44725fa7ac Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 32d554906c.

Keeping Python 3.10 in setup.cfg classifier and zuul.yaml changes.

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: I9becb9a67b07f260741c5fcc8bdb6c96cbbbe1d7
2023-05-05 18:51:22 +00:00
Hervé Beraud 32d554906c 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: Ibd9c332ea54bc225887ceb60e77622432793726f
2023-04-10 13:03:19 +09:00
OpenStack Release Bot 1654dcc91c 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: I709b3871b07a1b5eeb711916d4af75dcbe06b78e
2023-02-24 15:16:54 +00:00
Hervé Beraud 515daab81a Fix issues related to tox4
Change-Id: I7be9a22796f484df79f0f509a2cf4f47e3a00128
2023-02-17 17:49:38 +01:00
Hervé Beraud 84478d83f8 Make tests backward compat with cliff' older versions
Change the assertion kind to support all versions of cliff.
The previous related fix 78098e6b18
was only compatible with cliff>3.4.0.

Change-Id: I7ac27919b0d58929b4c975ebb308f33124a6060f
2022-09-29 09:59:31 +02:00
OpenStack Release Bot c7cb79b40f 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: I032790c6e4a19bd5e0ef32e0f6f5d0372f43640a
2022-09-09 09:16:10 +00:00
OpenStack Release Bot 19e1be5564 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: I82608453f5edf65bbd8ab42ef1e5106f536142eb
2022-09-09 09:16:09 +00:00
Hervé Beraud 7b838f5c31 Disable a config test if ran under the root user
The `test_conf_file_permission_denied` is designed to test
if a config file can't be read due to missing file permissions.

However if we run unit tests with the root user we will beneficiat
from the root privileges and so this test will fails. This can
be reproduced by running `tox` with `sudo`.

These changes propose to skip this test if root privileges are
detected.

Closes-bug: #1983358

Change-Id: Idd124082265032c30f83242b612d002d7093aa61
2022-08-03 16:47:25 +02:00
Hervé Beraud 78098e6b18 fix CLI mismatch in unit tests
Since cliff > 3.4.0 we can see mismatch errors with unit tests, this
patch fix this error.

Also this patch fix some issues with deprecation messages.

All these issues needs to be fixed together to unlock our gates.

Closes-bug: #1908934
Change-Id: I8396b4f3ba74a9ea023bff2e3027710f16a74af4
2022-08-03 16:47:25 +02:00
Hervé Beraud 9eaae04453 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)

Change-Id: I18f643d5a7b6283b72c0cd3caeadf0d14f6ed713
2022-05-05 15:53:00 +02:00
OpenStack Release Bot c287b4abd2 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: Ia9a793cf2f8eed8afc231aa32f7a0f12b3b2cec7
2022-03-04 17:17:34 +00:00
OpenStack Release Bot 8255914856 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: I64f5023e8f9f4c49d4d7d08b4ea339af4ac9a7a8
2022-03-04 17:17:33 +00:00
dengzhaosen 64c82a0829 Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: Ia1cd4536ecf6a0b0e86796dffb5ca04197bd5abe
2021-12-21 16:38:08 +08:00
OpenStack Release Bot 92216ffcca 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: I178e86fe8646c0c91b982670c5fd12264c1ee05d
2021-09-10 14:34:00 +00:00
OpenStack Release Bot 9e82ae1179 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: I31fff76861e961754fef2d65a6938e6a028d702b
2021-09-10 14:33:57 +00:00
likui 0c0b7456e9 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: Iceaa69d80eef75db5bac67463a59fd615ae0e895
2021-09-02 19:58:19 +08:00
Zuul ee29107bcf Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable" 2021-08-20 17:49:21 +00:00
Cyril Roelandt 88c831cfad Fix tests for Python3.
Change-Id: Ifbf6f52a312929ac07154db8eeee976b0ab0d46a
2021-08-19 00:42:44 +00:00
likui 807d9c5ca4 Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is old name and deprecated

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: Ie7971577aeba299aaf9406fc97793d946342eaeb
2021-06-03 10:11:29 +08:00
Zuul 1a7bd66a71 Merge "config-generator yaml format doesn't work with i18n fields" 2021-06-02 17:36:45 +00:00
Zuul 2e7b39e443 Merge "Ussuri+ is python3 only" 2021-06-01 12:24:52 +00:00
Zuul 2cf531152d Merge "setup.cfg: Replace dashes with underscores" 2021-05-27 03:55:30 +00:00
David Vallee Delisle e5fc313ecf config-generator yaml format doesn't work with i18n fields
This is because there's no yaml representer for i18n Messages object.
This patch aims to add this representer and allow the generation of
configurations using oslo.i18n strings.

One example of this is cinder.

Closes-bug: #1928582
Change-Id: I70ab87c9bed093cad883b6301b8a09753fc470d9
2021-05-16 11:49:38 +00:00
Zuul d8cf65ddc9 Merge "Add the version parameter." 2021-05-05 12:06:22 +00:00
dengzhaosen b9468aaf4f Ussuri+ is python3 only
update python to python3

Change-Id: I83c8c9897678f8a0628987a071adda68062ac515
2021-05-05 10:11:01 +08:00
Zuul c879c836d9 Merge "Remove references to 'sys.version_info'" 2021-05-04 15:08:56 +00:00
Daniel Bengtsson 1f16007ce8 Add the version parameter.
Call the parent with the version parameter.

Change-Id: I20016e299077a7b678ecabceacb21cc0c7d306c8
2021-05-04 15:00:11 +02:00
songwenping ab8a8dd7a9 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: Icc9b9a3af1c8cf58b3a2b9626065cb2fcd074a42
2021-04-29 19:59:51 +08:00
Zuul 6e91dbb2d5 Merge "Adding the missing HostDomain config option" 2021-04-26 15:51:48 +00:00
dengzhaosen 934fba53e4 Remove references to 'sys.version_info'
We support Python 3.6 as a minimum now, making these checks no-ops.

Change-Id: I668c1bddba29a5e823734b1cad5116ba2fdb5f75
2021-04-25 16:06:39 +08:00