Commit Graph

152 Commits

Author SHA1 Message Date
Zuul 84b27c9f69 Merge "reno: Update master for unmaintained/xena" 2024-03-12 14:35:57 +00:00
Zuul 30b7a97283 Merge "reno: Update master for unmaintained/wallaby" 2024-03-12 14:24:07 +00:00
Zuul 5402775aeb Merge "reno: Update master for unmaintained/victoria" 2024-03-12 13:13:14 +00:00
OpenStack Release Bot e3be11c7d5 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: I0098d740761e15f051d4f11f86f566dcf781dde6
2024-03-08 14:23:38 +00:00
OpenStack Release Bot 54ac9b507e reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Idfbab1aec62cf49360b0df75beefe19909a558d7
2024-03-07 14:27:22 +00:00
OpenStack Release Bot 2dd6705970 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

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

Change-Id: I6d92619b0e43ca1e871239a8ec1b116682e84ca7
2024-03-07 14:18:07 +00:00
Zuul b6db590654 Merge "Display coverage report" 2024-02-07 04:47:58 +00:00
Takashi Kajinami 8432e555dc Display coverage report
... for easy reference. Also make sure old data is purged.

Change-Id: I215992696eecbf3f825464be81233167287a4242
2024-02-07 12:15:42 +09:00
OpenStack Release Bot ad71080ad7 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Iedc37a45754e97f9fcf3a51dcf2fcdf7f3f61812
2024-02-06 14:29:36 +00:00
Zuul 5976c1d3ed Merge "Bump hacking" 2024-01-27 09:57:45 +00:00
Takashi Kajinami 897f088ec9 Bump hacking
hacking 3.0.x is too old.

Change-Id: Ie182c4501004d8b6fdb735376fe53073ec2e730e
2024-01-26 01:14:48 +09:00
Ghanshyam Mann 46cfeb00cb 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: I389899214c01e352b6aa79c0d11e46ee7c59d5a9
2024-01-11 16:38:05 -08:00
Takashi Kajinami 4bebfc09e6 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can generate
translation files without them.

Change-Id: I8c0b801ae8e8a79bfeb07e2263c34013ed2fe66a
2023-12-19 22:46:49 +09:00
OpenStack Release Bot ac2b44fce2 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: I0cc64c161de97fdfcbf84a3ace270fa32cd3237f
2023-09-07 09:38:38 +00:00
Ghanshyam cbee52e343 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit d84fbc1ec2.

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: Ibd373a944b42ae075d62b3e02a353787b9730d08
2023-05-05 18:58:11 +00:00
Hervé Beraud d84fbc1ec2 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: Ia858bd922e47896ca570564f528cf311f9ede3e5
2023-04-10 13:07:38 +09:00
OpenStack Release Bot a8f3880e58 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: I840adc214f058f014c1ce837dd045b11a3327cfc
2023-02-24 15:24:03 +00:00
Hervé Beraud eeedfc902a clean up tox's python 3 specific conf
Change-Id: I18cadf6a3f5cb754d08b3c4fde363c7eb9fca8e0
2023-02-17 14:08:55 +01:00
Hervé Beraud e00ed8d844 Fix issues related to tox4
Change-Id: Ie3c21c4e38de766077b612d0bf6a69809829f3c9
2023-02-17 10:38:08 +01:00
OpenStack Release Bot cd42c30299 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: I2436a8fe615ff6046a70b93d27748e0968037068
2022-09-09 09:18:37 +00:00
OpenStack Release Bot a2dc948dd5 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: Ic510a0f7ffa3d461876d3bb4a37f1026fbafd9dc
2022-09-09 09:18:35 +00:00
Hervé Beraud b3a2b19a4c 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: I539b26e957a1e1a604a77b8e09dcbf63bfececd5
2022-05-05 16:21:34 +02:00
Zuul dc78302578 Merge "setup.cfg: Replace dashes by underscores" 2022-03-22 12:25:33 +00:00
OpenStack Release Bot 1c6d65c52d 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: I365842a89e3b2a51c349b7717e579fe8e14646be
2022-03-04 17:19:56 +00:00
OpenStack Release Bot f1fbed9e12 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: I0f76f6a1b052d8cf7e1a27697cfb9cce2fd4475d
2022-03-04 17:19:54 +00:00
Takashi Kajinami f42df2d056 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: Ibc4ede8493418470ee5d12a385e1cd749a47f17e
2022-02-06 02:14:22 +09:00
OpenStack Release Bot 1559e0371e 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: I3fc2bcefe45ad4113c9c27aca8a3d8c7bff4a1a1
2021-09-10 14:39:28 +00:00
OpenStack Release Bot b68d383fe9 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: Ibf94056375c02ca37536feff5edcf79de39b5890
2021-09-10 14:39:13 +00:00
Zuul 3ca8698c31 Merge "Remove lower-constraints remnants" 2021-04-16 11:02:22 +00:00
Zuul 6989e5a7c0 Merge "Uncap PrettyTable" 2021-04-16 11:02:19 +00:00
Zuul 1e3ee03de8 Merge "Remove six" 2021-04-16 10:52:49 +00:00
Zuul b55f018fd5 Merge "Add Python3 xena unit tests" 2021-04-15 18:19:57 +00:00
Zuul ebc02483c8 Merge "Update master for stable/wallaby" 2021-04-15 18:07:19 +00:00
Daniel Bengtsson 75fe37659c 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: I996bcc6952a80aaccf50bb8ade579ebd960f4292
2021-03-23 13:10:01 +01:00
OpenStack Release Bot 276ecd7879 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: Ic8d89a2ba2d92bd892c892d269e20e1b143306d6
2021-03-18 11:31:12 +00:00
OpenStack Release Bot db3e3a98b8 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: Id0e5435b082b3079e98081adf59e7177675205ea
2021-03-18 11:30:48 +00:00
Stephen Finucane 8a43c37004 Remove lower-constraints remnants
These were missed in change I3eafc92ba7c7305b1a73d3f96c427ed12c96dbf7.

Change-Id: Idf7148bcf588efbd20352bf2160ecee573156444
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-02-11 12:03:16 +00:00
Stephen Finucane f234316cce Uncap PrettyTable
This is now maintained as a Jazzband project [1].

[1] https://github.com/jazzband/prettytable

Change-Id: Id484bf8fe017bf8f6784155462640840b2053677
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-02-11 12:01:55 +00:00
Stephen Finucane 456bd8521f Remove six
There are only two uses of this. Oddly, we never specified this
dependency directly and were instead relying on it being included
indirectly.

Change-Id: I3229750f3c47689c6b8d9db80a962a755b5a5da9
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-02-11 12:01:55 +00:00
Hervé Beraud a962943bda Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html

Change-Id: I3eafc92ba7c7305b1a73d3f96c427ed12c96dbf7
2020-12-18 15:13:08 +01:00
Zuul c4d03743aa Merge "Use py3 as the default runtime for tox" 2020-12-11 14:29:30 +00:00
Zuul 1bff329b0d Merge "Use TOX_CONSTRAINTS_FILE" 2020-12-11 14:29:27 +00:00
Ghanshyam Mann 9f95a6e19b Register oslo policy opts explicitly for check_policy_json
check_policy_json() common check need [oslo_policy].policy_file
config value and it is better to register those options explicitly
in check_policy_json() in case they are not register by services.

Currently it work as oslo.policy opts are registered via some import
in service side code path for upgradechecks which are not so safe
when these code import path change.

Change-Id: I16fcce119698c7375e4b58558fdce89e78a79a9b
2020-12-07 21:12:03 +00:00
Ghanshyam Mann 9d3bb03fc8 Fix lower-constraints job
oslotest 1.5.1 is restricted to pbr <1.0 which conflict
with other deps lower constarint for pbr.

Error:
The conflict is caused by:
    oslo-i18n 3.15.3 depends on pbr!=2.1.0 and >=2.0.0
    oslo-serialization 2.21.1 depends on pbr!=2.1.0 and >=2.0.0
    oslo-utils 4.5.0 depends on pbr!=2.1.0 and >=2.0.0
    oslotest 1.5.1 depends on pbr!=0.7, <1.0 and >=0.6

https: //zuul.opendev.org/t/openstack/build/cb2bce3b4e004601958b764dfd0737b8
Change-Id: I513262b85a57ce9f81a63bd778fdd7f7be27e485
2020-12-07 14:24:37 -06:00
Ghanshyam Mann c705067278 Add common checks for json to yaml policy file migration
As part of community goal[1] for migrating the policy file
from JSON format to YAML we need to add upgrade check to
detect any JSON formatted file. That check needs to be
done in each service side which are deprecating the JSON
format. So to avoid duplicate code, this commit add that
check in oslo_upgradechecks and that can be enabled from
service side during they migrate to YAML format.

Service will enable it like below:

    _upgrade_checks = (
        (_('Policy File JSON to YAML Migration'),
            (common_checks.check_policy_json, {'conf': CONF})),
    )

Also modify the check() method to accept the **kwargs for checks.

[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Ifa71c20879c964f794a40b981744d95db4ab1602
2020-11-21 19:11:55 +00:00
Hervé Beraud 20b199e36d Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

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

Change-Id: I6d07e0ed66edc95f4afec6829b46fca679cd5814
2020-11-04 10:51:29 +01:00
Hervé Beraud 09c42beb5e Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update this at
each new cycle.

Wallaby support officially the following runtimes [1]:
- Python 3.6
- Python 3.8

During Victoria Python 3.7 was used as the default runtime [2] however this
version isn't longer officially supported.

[1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I3a98d1c258389968a892d6ccd067d3b8fb78a29a
2020-11-04 10:05:16 +01:00
Zuul ff5ad7b821 Merge "Adding pre-commit" 2020-09-22 11:23:46 +00:00
OpenStack Release Bot 741df12ff4 Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

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

Change-Id: Ib5ee719e065a5be67a64982dafc7c4cb14ff8f3e
2020-09-11 21:01:31 +00:00