Commit Graph

738 Commits

Author SHA1 Message Date
Zuul 0af6771362 Merge "Update master for stable/2024.1" 2024-04-26 09:05:47 +00:00
Zuul cba28ba942 Merge "reno: Update master for unmaintained/wallaby" 2024-04-26 09:05:44 +00:00
Zuul 31f0b17bc4 Merge "reno: Update master for unmaintained/xena" 2024-04-26 09:05:43 +00:00
Zuul 5354cf3903 Merge "reno: Update master for unmaintained/victoria" 2024-04-26 09:01:17 +00:00
OpenStack Release Bot 288bb2e0ae reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ibdafe7c44affe70deff8ec210c6b5143af4e90dd
2024-03-20 13:46:34 +00:00
OpenStack Release Bot 6641386235 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I5d16c086198124e4f7375c4de89dc51886435c99
2024-03-20 13:45:59 +00:00
OpenStack Release Bot fd134eef87 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I596e2840e2e38e5dece4807c98b63b252d96e7ae
2024-03-20 13:45:24 +00:00
OpenStack Release Bot 5286ee76fe 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: I117e055457354a45bd5d99bb69a350d20ab18478
2024-03-08 14:11:36 +00:00
OpenStack Release Bot cd540e7431 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I276dec1f3740deb3028c8be98f2ea174a4055880
2024-02-05 15:52:38 +00:00
Ghanshyam Mann b236ba5671 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Ib24c6c4703a7d8997c106d47b3db54b2ae2af0d7
2024-01-03 20:23:42 -08:00
OpenStack Release Bot d299ad7098 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: I27fce6c9b740a7207b4e0ec15fdf8fae2123c95f
2023-09-08 14:44:31 +00:00
Hongbin Lu fae90cee44 Fix pep8 job
Mark a few statements as #nosec as they are not security issues.

Change-Id: I880731c0a86b15eafa4481afe8f6f1c35bf49421
2023-08-18 15:50:56 +00:00
OpenStack Release Bot 8af0647cd9 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: I8309e26e2fd5023e356d30e66b7c6dfe8b5e06ce
2023-02-21 12:10:01 +00:00
Hongbin Lu e586422447 Fix tox4 error
Change-Id: I737120a97c82ec4a425af4aaf516d0766c56cd31
2023-01-31 03:39:18 +00:00
OpenStack Release Bot 791efa6ed1 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: Ibf39369f29d804cfa5323982b76f284e6dc93c57
2022-09-14 09:22:48 +00:00
OpenStack Release Bot 01d5257c04 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: If7baf3fe2f3f27bd4fed90a9720a15a7f8c21549
2022-09-06 12:45:48 +00:00
Zuul ec7278487f Merge "Add Python3 zed unit tests" 2022-09-05 05:43:52 +00:00
Elod Illes d38f743040 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: Idea1252f60b95657e66a700e053d5ad86bf85909
2022-08-08 15:57:37 +02:00
Ghanshyam Mann ab5b700ea7 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Iffb4cb72243a7624332f4718f6d658b3fd4926a5
2022-05-01 13:03:35 -05:00
Zuul e9c48c74ee Merge "fix websocketclient ssl issue" 2022-04-28 02:40:50 +00:00
Hongbin Lu fa5b8ab02f Remove lower constrait job
Change-Id: Ib3c31a243a5ffe0c1ab44ab508c5d4ce3d9969b1
2022-04-27 09:39:49 +00:00
caowei 429645fcae fix websocketclient ssl issue
Closes-Bug: #1970085
Change-Id: I6b42b3777ce91fd971e153a280774a70aa33af9d
2022-04-25 09:56:38 +08:00
OpenStack Release Bot 8e991f9b74 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: I41ccb6ca4acbc439d3b6b4f3da8f47db79317929
2022-03-03 10:52:23 +00:00
Thomas Goirand 2284443ac9 Python 3.10: Subcomand help test fix
In Python 3.10, "Optional arguments" becomes "Options". This
patch fixes that. FYI, this was reported against my Debian package:

https://bugs.debian.org/1002431

and currently, the package build against Python 3.9 and 3.10, so
I'm sure this patch works in both cases.

Change-Id: I76dc4077dde648d1a5589b49bf697470063ca2c1
2021-12-23 12:42:41 +01:00
OpenStack Release Bot 24edb142ae 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: Id92ff7de669b8f4915c610eb73629cd82a10e517
2021-09-10 14:32:36 +00:00
OpenStack Release Bot faf75637d3 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: Ice3d349f4c34f05ac7d55a2f402d0e43ec7defda
2021-09-10 14:32:21 +00:00
Zuul d0b3365b32 Merge "Remove the unused os-testr package" 2021-09-08 20:26:21 +00:00
Zuul 75e228daef Merge "Uncap PrettyTable" 2021-08-30 03:56:30 +00:00
Zuul a4901c2119 Merge "Use py3 as the default runtime for tox" 2021-08-30 02:23:17 +00:00
Zuul 092a0ab00b Merge "remove unicode from code" 2021-08-29 06:50:21 +00:00
Stephen Finucane 7ca6a6b130 Uncap PrettyTable
This is now maintained as a Jazzband project [1].

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

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Ie51fffd8c88b219cd84867d7b827adab5995506d
2021-08-27 10:36:00 +01:00
maaoyu 6e7e579052 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: Iea2bdae065b4695c8e730abba4a5de43c1d75e9b
2021-05-04 10:24:04 +08:00
zhangboye 6b6c09e5ad 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.

Change-Id: I4e91df1e18b84b94a781e93f4ddc70a4f336bed5
2021-04-20 15:08:56 +08:00
OpenStack Release Bot dc8db03ca1 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: Ia96b0b7a033788fcda784c1798153f51c10ff500
2021-03-11 19:57:37 +00:00
OpenStack Release Bot 49d0e41ee6 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: I630c3d946b4bdf18ad515c31d61a8f4a8c6e10d4
2021-03-11 19:57:33 +00:00
zhangboye bbc32db6f4 remove unicode from code
Change-Id: If79590fd1f390ad44aa96041240a09b3646f11bd
2021-01-03 16:29:48 +08:00
zhoulinhui dd73280b73 Remove the unused os-testr package
for now we use stestr[1] to test, and os-testr is stale and not used
any more, it's safe to remove it

[1]: https://github.com/openstack/python-zunclient/blob/master/tox.ini#L22

Change-Id: I5120b122a918d4d8813433f9c7bfde66d1f61f72
2020-10-14 00:21:37 +00:00
Zuul 751df7101f Merge "Stop install unnecessary packages when run tox -ereleasenotes" 2020-10-11 18:24:06 +00:00
zhoulinhui 52d332104a Stop install unnecessary packages when run tox -ereleasenotes
requirements.txt is unnecessary when run tox -e releasenotes,
releasenotes relative stuffs is in doc/requirements.txt,
this ps to remove the requirements.txt from tox.ini

Change-Id: Iec2d3649ba4151ff9ce87ca0dd020f3d0a4ccd06
2020-10-06 21:23:07 +08:00
maaoyu e509a84749 Remove install unnecessary packages
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: I368d30a33e9789b2759dc73883d8b7230f847640
2020-09-24 17:30:34 +08:00
Zuul 5c8e6fa9cb Merge "Stop install unnecessary packages when run tox -edocs" 2020-09-10 01:05:29 +00:00
OpenStack Release Bot 00c05d16c1 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: Ie88769177d295636c7359891be76f7a6820fd1dd
2020-09-09 16:36:36 +00:00
OpenStack Release Bot 78504a97a4 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

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

Change-Id: I3f69b4cb539f30c7fafc5b0787fa1e77f47f716b
Sem-Ver: feature
2020-09-09 16:36:34 +00:00
zhoulinhui 2470ad1c23 Stop install unnecessary packages when run tox -edocs
the requirements.txt is unnecessary when run tox -e docs
docs relative stuffs is in doc/requirements.txt, this ps to
remove the requirements.txt from tox.ini

Change-Id: I0e90296448931876ad1443a246c1cfd39ff46572
2020-09-09 23:15:34 +08:00
Ghanshyam Mann ca13722a1c [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.

Story: #2007865
Task: #40230

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal>

Change-Id: Icb075570aa1a8da7f8eed683b63c4f6df202486a
2020-08-04 22:53:22 +00:00
Hongbin Lu 64b5cad009 Remove zunclient devstack job
This job doesn't seem to be useful in term of capturing bugs.
This job is also a legacy Zuul job. Instead of converting it to
Zuul v3, we directly remove it.

Change-Id: I5186de2ca3a39afab18121466acdc82eb8c6fdfb
2020-06-26 02:59:13 +00:00
weikeyou 979364a728 fix error when execute zun list with multiple optional arguments
zun list --all-projects --host host1 --status created
ERROR: Valid all_projects values are: 1, t, true, on, y, yes, 0, f, false,
off, n, no (HTTP 400)

The url will be set as
v1/containers/?all_projects=1?status=created&host=host1

Change-Id: I57fcf15ecedd3c60dcc37c90cbcdf8b542c63012
2020-06-22 12:04:40 +08:00
Hervé Beraud 90d19a5fdd drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I46b98c7a61f2e19b68eee521c9c71971b0df9ad8
2020-06-09 12:06:26 +02:00
Hervé Beraud fee1c868b5 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: Ifd56b86f9e8a35b856c64dfc64c61a37259cc57f
2020-06-02 20:54:43 +02:00
Zuul 6bc1537061 Merge "Fix pygments style" 2020-05-22 02:53:35 +00:00