Commit Graph

4785 Commits

Author SHA1 Message Date
Zuul 7f363061e8 Merge "Replace usage of pytz" 2024-03-13 03:58:59 +00:00
Zuul 6c79680289 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:29:16 +00:00
Zuul 715973346b Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:21:18 +00:00
Takashi Kajinami 84dacbe8df Replace usage of pytz
The current usage can be replaced by built-in datatime module.

pytz is not currently in test requirements and it is no longer required
by oslo.utils in Python 3.11.

Change-Id: Ib490f5aebc5c84daf28edc3698694d70a74a4715
2024-03-12 22:58:21 +09:00
Zuul d1da0b2444 Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:14:14 +00:00
OpenStack Release Bot c1c8e7cbe0 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: I3a45f1bf54ce651f19004ae3b5b0831efb0c01c4
2024-03-08 14:23:51 +00:00
OpenStack Release Bot 6186a35926 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I02f2037ac0e3ba2880787d8c3db8d9a19f75b04c
2024-03-07 14:27:50 +00:00
OpenStack Release Bot 002f4aaf78 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I5cd7e9726b93fdfbef456937e1a1e07105a87420
2024-03-07 14:23:30 +00:00
OpenStack Release Bot 7dcaceb90e reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I4e6070cb1d6a38907ce24b2bab2a561fc13752f7
2024-03-07 14:18:33 +00:00
OpenStack Release Bot 25db0cf2f7 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I75759e3b0b2607b083a216431dfbf1cf40297df0
2024-02-06 14:29:59 +00:00
Takashi Kajinami 4c15915051 Bump hacking
hacking 3.1.x is too old.

Change-Id: I40369a5eef87cb6a356e059e005eb417ec67bb84
2024-01-26 01:21:59 +09:00
Ghanshyam Mann 9989b9695f 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: I4c3d557020f80386459064e0d713f61c607a5de8
2024-01-11 16:38:08 -08:00
Takashi Kajinami a119a070f6 coveragerc: Remove non-existent path
The ,versionedobjects/openstack directory does not exist.

Change-Id: I994aa157a91f4138704961103b91f4ca024a0d4e
2023-12-19 20:53:19 +09:00
Zuul bda85d04ad Merge "Update master for stable/2023.2" 2023-10-20 09:19:55 +00:00
Zuul eb4c124b38 Merge "Avoid TypeError when building for Sphinx 6.1.1 and above" 2023-10-20 07:27:55 +00:00
OpenStack Release Bot ab48a36d35 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: I7873c48560e9cd36acea0ace623a56255789077a
2023-09-07 09:38:59 +00:00
Zuul 6478669268 Merge "Bump bandit and make oslo.versionedobjects compatible with latest rules" 2023-07-12 13:59:55 +00:00
Hervé Beraud f78601fd8e Bump bandit and make oslo.versionedobjects compatible with latest rules
Change-Id: I3da9745c8f9f4b5832f41933af6f177b0f876bb5
2023-07-12 10:32:07 +00:00
OpenStack Proposal Bot efe0cdc8cb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0a85370e6afb1c2875b687067d294d6ada6a96d1
2023-06-22 04:36:31 +00:00
Ghanshyam 120e23d84f Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 20d24cb175.

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: I04f7774e37150b3fc0fd9cbb67fd3a3423743fad
2023-05-05 18:57:40 +00:00
Hervé Beraud 20d24cb175 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: Ibe5b12a2b6b0bf0803fd58637e96c1b6f0a9c47d
2023-04-10 13:01:31 +09:00
Dirk Müller 6b7248e0dc
Avoid TypeError when building for Sphinx 6.1.1 and above
see https://github.com/sphinx-doc/sphinx/issues/11094 for the
investigation and the fix.

Change-Id: If76e79531e0b81ba3e3c9fe38904b77b553e1698
2023-03-06 21:36:51 +01:00
OpenStack Release Bot 638a788cea 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: I879d4b36f8334af65d4b5357718d91c9614b339f
2023-02-24 15:25:00 +00:00
OpenStack Proposal Bot fb5a423bd4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5af1a69bd62a85ddec406aff30dbc2ff7a294fd0
2022-10-01 03:58:31 +00:00
OpenStack Release Bot b4ea834808 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: I5ab44ec5e2a0f26fda60c8109acdfb4ff4a281b5
2022-09-09 09:19:04 +00:00
OpenStack Release Bot dbed7ef8ac 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: I183aca80eb86d8bf0bc4aeb08ca8494bc92c1c11
2022-09-09 09:19:03 +00:00
Cyril Roelandt 2b1202938a Python3.11: Do not use inspect.ArgSpec
Python3.11 will remove inspect.ArgSpec and cause test failures on the
CI.

Closes-Bug: #1982851
Change-Id: I4bc4ab6cfeb3d15072145aa093d3407f35ddf41e
2022-07-26 16:40:16 +02:00
OpenStack Proposal Bot cec2b8e8f0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia3c6e0783baaa4853c3a3373ca14f6b88ddd2515
2022-06-21 03:59:03 +00:00
Hervé Beraud 0c92b58eea 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: Id06d85f7e7638935dcfebbeb7cd54fa404767b43
2022-05-05 15:55:41 +02:00
songwenping d901c42655 Remove unnecessary unicode prefixes
Change-Id: If5bc9397a87cc8d4260e50b793ed352dbd012c0c
2022-04-19 19:36:41 +08:00
Zuul 1861bb034c Merge "setup.cfg: Replace dashes by underscores" 2022-03-22 17:11:06 +00:00
OpenStack Release Bot 16bfe43204 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: I91aaa14478b6bdb20e79b017486e1ae3bee74f8c
2022-03-04 17:20:23 +00:00
OpenStack Release Bot 7f2dcd0e9f 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: I93b5a3ec5d179253c8c6b3c4ab262782456aa8da
2022-03-04 17:20:21 +00:00
Takashi Kajinami 3c7ae141c7 setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  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: I8bbe0e6e4b828cd9dc5928e5bebd085b9411f86e
2022-02-06 02:13:23 +09:00
dengzhaosen 25d34d68da 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: Ib7e4035cbd9f66b16b0ca1977aeed74963926a80
2021-12-21 16:58:14 +08:00
OpenStack Release Bot e7b6d52aa4 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: Ifaae7417f1253182ff71a6a0dc960e01861cc3eb
2021-09-10 14:40:09 +00:00
OpenStack Release Bot c2e6c12a4e 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: I26521b17621bee1f5c4cf5aa2fd9b4f4f5f8abf2
2021-09-10 14:40:07 +00:00
Zuul a85275fb16 Merge "Replace deprecated inspect.getargspec" 2021-08-10 14:34:33 +00:00
Zuul 7e1f008256 Merge "Do not patch inspect.argspec directly" 2021-08-10 14:33:53 +00:00
Takashi Kajinami 07fd2f2c47 Replace deprecated inspect.getargspec
inspect.getargspec was deprecated since Python 3.0 and
inspect.getfullargspec is its replacement with correct handling of
function annotations and keyword-only parameters[1].

[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec

Change-Id: I29478df88665ee5311e3ba308ab645c47e5b0fc8
2021-07-19 09:58:51 +09:00
Takashi Kajinami 63cdc14853 Do not patch inspect.argspec directly
This fixes the leftover of c1933306dd
and makes the get_method_spec method patched instead of inspect.argspec
because now the method wraps call to inspect.argspec.

Change-Id: Id3c18d151a6f239f7ceff4e0b24f4006963827ea
2021-07-16 11:29:59 +09:00
yangyawei 59c0aadb89 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Id73cfadea402d211a807b7f8df4dd374a624dece
2021-06-07 16:44:38 +08:00
Zuul 4d5d360da9 Merge "Use TOX_CONSTRAINTS_FILE" 2021-04-16 12:41:44 +00:00
Zuul a657d97693 Merge "Add Python3 xena unit tests" 2021-04-15 18:12:17 +00:00
Zuul cee74f7a6f Merge "Update master for stable/wallaby" 2021-04-15 16:52:54 +00:00
Daniel Bengtsson a1ecfaa872 Move flake8 as a pre-commit local target.
The goal here is to avoid conflicts between flake8 and hacking version each
2 days.

Inspired from nova's approach[1].

The flake8 version to install will be determined by hacking and
requirements[2] will stay aligned instead of relying on different versions.

[1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35
[2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1

Change-Id: Ie89835eb10a2211abad4d67b23ea8165daca37d2
2021-03-23 13:10:54 +01:00
OpenStack Release Bot 4fa96d65c8 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

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

Change-Id: Ie1b80f4e07cfb9f0a9fd16fbbbfe9f9eef17951c
2021-03-18 11:32:20 +00:00
OpenStack Release Bot 0a3da61911 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: Ia0ffbb9e95fe324557718f73b932410d4dac2a8c
2021-03-18 11:32:17 +00:00
Luigi Toscano 117d28ee8f Dropping lower constraints references
As a follow up to Ied61e65006ad54803453776e763594e216be1353,
remove the lower-constraints.txt file and its references.

Change-Id: I2baa6d318cdbbf86da86cc94171cc7714dbdba3a
2021-02-18 14:25:23 +01:00
Zuul 425b8d9aa1 Merge "Use py3 as the default runtime for tox" 2021-01-21 17:37:26 +00:00