Commit Graph

166 Commits

Author SHA1 Message Date
OpenStack Release Bot fb44370115 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: Ic48ae6b6c7653030f8c85a472ea450d9759f972f
2024-03-08 14:00:12 +00:00
Ghanshyam Mann 7587ddaf41 Update python unit testing template
All OpenStack projects need to use the
genric template for python unit testing
which gets updated in central location.

Change-Id: I4db01cabb47024cf10e6435a95c40326d30b9456
2024-01-03 20:22:53 -08:00
suzhengwei b43a4ce747 support for Masakari VMove
It supports Masakari VMove API in microversion 1.3.

Change-Id: Ic8b50de98b0d44b832944f2e57567a8e0c3faca5
2023-09-21 08:56:30 +08:00
OpenStack Release Bot 8a832d984e 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: I85ab5ea511cfb0519e60f84ac53583869df6f43a
2023-02-21 11:13:57 +00:00
Radosław Piliszek 73c312679c Fix tox4 issues
New tox version 4 has changed interpretation of tox.ini

The passenv parsing requires the list to be comma-separated.
Since the names are case-insensitive, duplicates are removed.

skipsdist is now a synonym of no_package and avoids the
installation of the package in all cases.
However, the docs environment requires it (for cliff's auto
generation).

Change-Id: Ia7292c4c72d01ddd5320675b052a27bfbf7ea974
2022-12-25 16:29:09 +01:00
OpenStack Release Bot 1d6d6fe75f 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: I5bc54f0bb551f62becc8a89aa8441c2078a91137
2022-09-07 09:22:39 +00:00
OpenStack Release Bot 643f37e04d 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: I888d44a03c342a92eccf2fd2dcc0d5d3348331f7
2022-09-07 09:22:36 +00:00
dengzhaosen 9ddb79eaba Drop Python 3.6 and 3.7 support
The Python 3.6 and 3.7 support has been dropped in Zed. [1]

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

Change-Id: Ic4fa51bc96f2a669ba3bfe2a898ce5a2baf3b4c5
2022-08-04 09:13:31 +00:00
OpenStack Release Bot dc0762ee75 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: Id710d6a419756c166756772dfdc4c9abc9b678d9
2022-03-04 17:16:42 +00:00
OpenStack Release Bot 0aa4b89d6c 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: I5c96330f8f461d74d55b827a454935fb5270b017
2022-03-04 17:16:41 +00:00
dengzhaosen bd262e3382 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: I637e8fcba1b24e79c34f3779fa0ce5597b5f88cb
2021-12-21 16:25:06 +08:00
OpenStack Release Bot d908ffbbeb 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: I375158575be3147802d50f40748a7c174987a945
2021-09-17 13:09:38 +00:00
OpenStack Release Bot 3923edec1f 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: I8679786cfbc9543bf880665a1ce50980622a76c0
2021-09-17 13:09:36 +00:00
Zuul d5b24b2a57 Merge "Fix home_page in setup.cfg" 2021-09-15 12:34:47 +00:00
Zuul 06b8cbc27c Merge "Fix url to docs" 2021-09-15 12:21:03 +00:00
Radosław Piliszek e3c1bb1449 Fix home_page in setup.cfg
Change-Id: I45609b5bb85fe6bec1c296a55573b0106e4f7905
2021-09-15 12:13:44 +00:00
Jieqiang Sui 0014e72e4a Fix url to docs
Closes-Bug: #1873755
Change-Id: I5a5160a352e793f9cb5ff9649d7b044eb992e3ca
2021-09-15 12:02:42 +00:00
Radosław Piliszek 30eff27dd9 [CI] Run bandit
Change-Id: Ifde285f3c59910325e12ee1d7e33b69270ba6309
2021-08-17 07:18:44 +00:00
Zuul f47a06afc2 Merge "Replace deprecated UPPER_CONSTRAINTS_FILE variable" 2021-07-27 06:21:48 +00:00
Ghanshyam Mann 6d9610424e [community goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38536
Change-Id: Iec0f194977d124db20534f41cfef5a59698df842
2021-05-31 20:34:08 +00:00
XinxinShen d337fbe6f0 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: I148acaf9ee25fe67e5a488b556e183d4e8cc0fa2
2021-05-28 20:55:50 +08:00
XinxinShen 75a4c80f10 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: Ia2b0e0df7e7cda55f05d9fee9db6a11c26f7a3ca
2021-04-28 11:10:32 +08:00
songwenping dd83634a38 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: Iae5d9a7201336be9e0be952d14a530d36223c209
2021-04-20 02:05:17 +00:00
OpenStack Release Bot 9768f59891 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: I1ee6e20f46ed6f57fc7169dbca0eeb3edd44ca6b
2021-03-18 10:29:00 +00:00
OpenStack Release Bot f6157447c0 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: I9169c87c7221515cb8f54bf0f17ec01804584d4f
2021-03-18 10:28:44 +00:00
Radosław Piliszek 70e676100e Fix the plugin after removing the legacy client
This ports the required code from the removed parts.

Change-Id: I8d1324df21cf6053502d8bdd3806aa18d60196fb
2021-03-11 20:48:01 +00:00
Radosław Piliszek c36e647d95 Drop the legacy client
Change-Id: I1d367e87f25daa1adad28409903c1de9d5a1d801
2021-03-11 18:09:22 +00:00
Zuul 393960b3a6 Merge "Add 'is_enabled' attr to segment" 2021-03-11 16:41:37 +00:00
suzhengwei f0d24a3649 Add 'is_enabled' attr to segment
Change-Id: I31d96cd1832471c6ca8a9e61b213e86c0487fab4
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Implements: blueprint enable-to-segment
2021-03-10 19:57:09 +00:00
Radosław Piliszek 90cff02457 [CI] Add openstackclient-plugin-jobs template
This is to make masakariclient an official OSC plugin. [1]

[1] 01a53fa96f/doc/source/contributor/plugins.rst (checklist-for-adding-new-openstack-plugins)

Change-Id: I507dc2f79165efca80186682201d7366dc65ee3d
2021-03-09 18:16:31 +00:00
Zuul 334a792e70 Merge "Revert "remove py37"" 2021-01-13 10:57:27 +00:00
Radosław Piliszek 86cd0d8242 Revert "remove py37"
This reverts commit 3af8953b8c.

Reason for revert: Python 3.7 *is* supported because it falls
in the range of supported Python versions (3.6-3.8).

Change-Id: I8cd58171b6985581b6c5c1d6f876d53615db4381
2021-01-13 10:25:04 +00:00
Zuul 1c7644ef81 Merge "remove py37" 2021-01-05 06:36:39 +00:00
Zuul 0cf7e31f8c Merge "Use unittest.mock instead of mock in the doc" 2021-01-05 06:34:03 +00:00
Zuul 9c5986ea78 Merge "Add release notes to readme.rst" 2021-01-05 06:24:05 +00:00
Zuul 04bc54c44d Merge "remove unicode from code" 2021-01-05 06:21:53 +00:00
Radosław Piliszek 435abc6654 Fix docs reqs for new pip
Per [1], the docs requirements were failing (or at least could)
due to test-requirements being used instead of doc/requirements.
The former may include dep versions not compatible with the
upper-constraints and hence cause issues for the new pip resolver.
This patch fixes that.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html

Change-Id: I2441e77bef1a1d2a9acdd6e42d3b2610e9ad8283
2021-01-04 17:51:06 +01:00
zhangboye f0206bf486 remove unicode from code
Change-Id: If3d353820f23ded923778f5a2f1401f862fd1921
2021-01-03 17:08:57 +08:00
liushuobj 1aa260308b Add release notes to readme.rst
Change-Id: I3380dc8a0b3338dbef41772f7a6e5be5bafce104
2021-01-03 15:05:00 +08:00
XinxinShen 3af8953b8c remove py37
Remove python3.7 from setup.cfg, since Wallaby's python
supported runtimes are python 3.6 and python 3.8[1]:

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

Change-Id: I98d86cc100b45c0e5dc04e6ec48a11714cf626c8
2021-01-03 14:32:13 +08:00
XinxinShen 1298d15ba7 Use unittest.mock instead of mock in the doc
Change-Id: Ia3ce13766e32333eeb93c5285f75ebbc4ed8067d
2021-01-03 10:00:01 +08:00
Radosław Piliszek 0c892ed4a9 [CI] Add periodic jobs
Periodic jobs are a great way to have proactive insight into
the current health of project's CI.

Change-Id: I105a7efdf1988486708ffe068d91f477ca62db01
2020-12-21 19:19:47 +00:00
Radosław Piliszek c8efcfada7 Drop lower-constraints
Per a general OpenStack resolution [1], lower-constraints
are not worth the extra work and confusion they introduce.
This patch drops them along with all mentions.

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

Change-Id: I264911c5364d2af6acef3797c011913718d2f96d
2020-12-21 20:18:10 +01:00
Zuul cecef8bbb4 Merge "Add py38 package metadata." 2020-11-13 10:38:59 +00:00
Zuul d45f12cc83 Merge "Remove usage of six" 2020-10-13 01:27:10 +00:00
zhangbailin dd05bdd0cd Remove usage of six
Remove six-library Replace the following items with Python 3 style code.
- six.text_type
- six.string_types
- six.PY3
- six.StringIO

Change-Id: I485985ca673db78b94757753619e2760b06a3ad6
2020-10-12 15:28:17 +08:00
kangyufei 3acc0b7e5f Add py38 package metadata
Change-Id: I6d3884e63e47a534d4ce1b0cfbde73ae87a37dc8
2020-10-12 06:54:08 +00:00
zhangyangyang 8abe559d48 Add py38 package metadata.
Change-Id: I410a19d1a280c2218998565e53a14d9fbfc5e18e
2020-09-30 14:58:27 +08:00
OpenStack Release Bot 86b235b75c 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: I4eef5ddf6014c458051a572410705fc43ad94708
2020-09-14 14:01:06 +00:00
OpenStack Release Bot d9e6c76b89 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: I138cb9fd754cdfff326201a3cfa3eb0947271828
Sem-Ver: feature
2020-09-14 14:01:04 +00:00