Commit Graph

3083 Commits

Author SHA1 Message Date
Zuul 48a42bcd45 Merge "Remove Python 2 support" 2023-11-03 08:10:44 +00:00
Zuul e6c0d22480 Merge "Update master for stable/2023.2" 2023-11-02 08:17:21 +00:00
Zuul ae5e9580be Merge "setup.cfg: Replace dashes with underscores" 2023-11-02 08:17:19 +00:00
zhouxinyong 9f80cb17da Fixes the several problems/errors caused by tox
Change-Id: Ia9665f075bbd55a078be1b95da1c535707985877
2023-10-26 14:35:15 +08:00
OpenStack Release Bot 9808be5d8a 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: I16af7136f5d9fafd66187f9ee7ada26bcadc8e56
2023-09-15 14:24:06 +00:00
zhouxinyong 5bdf8f8e6f 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: I85b2679ffb5fcb404ef3fe292cef41cadc13d320
2023-06-12 15:42:27 +08:00
anguoming e6c3ef90db Remove Python 2 support
Python 2 has been deprecated. This patch removes all
traces of six, unicode strings and Python 2 tweaks.

Change-Id: Ia51ce13bcf1fa92f9c4d0617eb0ff434f2e15226
2023-02-28 07:44:52 +00:00
Zuul c68cb5e9da Merge "Update master for stable/zed" 2022-09-16 08:47:00 +00:00
OpenStack Release Bot bcf540f1b9 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: Ib01a0a73442921e230714986c6a446fc4193bdbe
2022-09-13 12:42:55 +00:00
anguoming 6200134193 Dropping lower constraints testing and remove py36,py37 support
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: I63a22412ea5493994751ad4a09acb3d74096bd94
2022-08-13 14:42:21 +08:00
OpenStack Release Bot 4999d4c3f2 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: I7177efe6ab966998b673fa772075f1e9e25721b1
2021-09-17 16:09:04 +00:00
OpenStack Release Bot 53aee26e04 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: I27e74061199f3003dcddc0cb0e7b5cf8171d7056
2021-03-22 12:15:12 +00:00
OpenStack Proposal Bot 31fc4cbef8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ifd08b3c22f6a17f55931da570d1b869b3b080c2f
2020-11-04 09:07:00 +00:00
Zuul 629976055e Merge "Add Python3 wallaby unit tests" 2020-10-07 21:49:05 +00:00
Zuul 032fc32d24 Merge "Update master for stable/victoria" 2020-10-07 20:23:34 +00:00
Luigi Toscano 4b8a25565d Fix reqs (focal), remove linters from l-r
Apply the fixes already applied to other repositories
to address compatibility issues with the newer test
platform and for cleanup reasons.

Change-Id: I4a374da2f6d5175c7581226429f6095d695724cc
2020-10-06 21:47:47 +02:00
OpenStack Release Bot a48c6f9996 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: I44f3388acc3c76f8889bc3f5d42756a0fb2041b7
2020-09-23 13:14:29 +00:00
OpenStack Release Bot 676e81be3a 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: I4137cc1d630cc9f93455fce67a2cedcbc131464f
Sem-Ver: feature
2020-09-23 13:14:25 +00:00
Jeremy Freudberg 0300afc2c1 Fix URL of Maven Central Repository
Change-Id: Id3294bf5180b7336193c3127a26f069703ec4705
Story: 2007996
Task: 40636
2020-08-10 09:50:39 -04:00
Hervé Beraud a5fe7ca453 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Id49c895492a7f6cd101ccbff2e7645b67e0f56e8
2020-06-11 12:18:31 +02:00
Andreas Jaeger 7628c53508 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I39cf76c36c0b3beba40c4e3eb245466ee9509787
2020-05-21 16:43:26 +02:00
Ghanshyam Mann 2cb590f379 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: If12c132f393b6e58eca03b487ec07dbbab8acb35
2020-05-12 20:56:36 -05:00
OpenStack Proposal Bot d132ed2093 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I64db3e9e1617ec87741c1ff21af9c94ea56ac7b9
2020-05-06 09:22:59 +00:00
OpenStack Proposal Bot b8f4546422 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I62d8dd71f67172e837e63d9545f7e71170971171
2020-04-26 08:33:10 +00:00
Zuul b44de73a72 Merge "Bump default tox env from py37 to py38" 2020-04-24 23:38:04 +00:00
Sean McGinnis 8c2f54c437
Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.

This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.

Change-Id: I75f47b759e728d4c2261f6131b5852f7f9f0614d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:26:01 -05:00
Sean McGinnis b656b72bee
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: Ib372249bf5dc0daef245560df482e7ea62d66e8f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:20 -05:00
OpenStack Release Bot 56cc6ca539 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

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

Change-Id: I8c37e49ffe122f1398e1269d505489296d865d77
2020-04-23 19:17:09 +00:00
OpenStack Release Bot 9a4dab8599 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

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

Change-Id: I2801b7a434b58da9e1d4af3576716ae6522c317c
Sem-Ver: feature
2020-04-23 19:17:07 +00:00
Jeremy Freudberg a286258d61 Ussuri contributor docs community goal
- Updated CONTRIBUTING.rst per goal guidelines
- Created doc/source/contributor/contributing.rst per goal guidelines

Change-Id: I79ee7827c9120256610e454f7ed8700b58bd6f74
2020-04-22 13:50:19 -04:00
Zuul e174350bc8 Merge "Cleanup py27 support" 2020-04-07 16:00:56 +00:00
Andreas Jaeger ca5b47f332 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: If7ca070c556f819befd9d78e096536b23df4d5f4
2020-04-05 10:33:37 +02:00
Andreas Jaeger cabd8909a4 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Change-Id: I332da9a6c3753547f84051c80baf5994188d3eb2
2020-03-30 18:10:26 +02:00
Luigi Toscano 22caae2614 fix: typo in tox minversion option
Change-Id: Icbfbe93a08a33a05c79e05f45c2ff155ead5c725
2020-01-28 13:17:09 +01:00
Luigi Toscano 9f5d63d1fd [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

sahara plugins do works with python 3 and the sahara core
does not support python 2.7 anymore anyway.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ieb38019e46b3f6d9ce24a074fa61dd3d8f0aabe3
2020-01-26 21:58:31 +01:00
pengyuesheng 7f01e5fea4 Switch to Ussuri jobs
Change-Id: I43d9ac4f9ddd467b8b9e93db85ed804e06b684ab
2019-10-25 15:05:02 +08:00
OpenStack Proposal Bot 176d4854db Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5ba2f0e996439879e67e62629f39c3ffd779ad44
2019-10-09 08:45:15 +00:00
OpenStack Proposal Bot 671f10a588 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9cc9f79216c3e3492f844790eded5c3c3f76793d
2019-09-28 08:42:56 +00:00
OpenStack Release Bot 06e45bee12 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

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

Change-Id: I18796ffb82ae9ea27b91b940f5a0cea2b5137712
Sem-Ver: feature
2019-09-27 09:35:16 +00:00
Zuul f00dd60931 Merge "Update the constraints url" 2019-09-27 08:03:52 +00:00
OpenStack Proposal Bot 4bfecb1efb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia63c17676168278b9a03eec4077f96af3b80bbc6
2019-09-25 09:21:31 +00:00
pengyuesheng 01d45d2689 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Ic3199379da437730bd2437876fead7bd598ad0e4
2019-09-24 09:54:49 +08:00
Luigi Toscano 46453c73ec Doc updates: bump theme to 1.20.0, add PDF build
- bump the openstackdocstheme requirement to 1.20.0, the minimum
  recommended version nowadays, and clean the configuration
  by removing the options now provided by the theme;
- add the pdf-docs tox environment according the established guidelines;
- remove a useless extra title (for both builders);
- docs tox environment: clean up only the generated html, not the entire
  build directory;
- disable the too smart smartquotes option for the latex builder;
- improve the title of the latex document.

Story: 2006117
Task: 35493
Change-Id: I353e33db27c8d676398973995960b98d3163aa0d
2019-09-06 16:46:14 +02:00
OpenStack Proposal Bot 493d83fcd4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ibff2e50adc83a7eff57da2970228075d51bf1f08
2019-08-02 08:55:35 +00:00
Corey Bryant c4705b361b Limit envlist to py37 for Python 3 Train goal
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train. The correct zuul jobs are
already in place so this change just limits default 'tox' calls to py37
to save developers time.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I35fc531eec23f0dc4439e334c7c6e2fe7e681431
Story: #2005924
Task: #34244
2019-07-18 13:56:34 +00:00
Luigi Toscano 82ebcd7f0d Update sphinx from current requirements
Otherwise the requirements-check job fails.

Change-Id: I7a378c69f3ac35ec398400ff8be8421b619a8e6b
2019-06-25 11:46:35 +02:00
ZhongShengping ad85b8d7ba Update Python 3 test runtimes for Train
This goal is to implement the process set out in the 2018-10-24 Python
Update Process TC resolution[1], for the Train cycle to ensure unit
testing is in place for all of the Tested Runtimes for Train[2].
In practice, this generally means adding unit tests for Python 3.7 and dropping
unit tests for Python 3.5. Using the Zuul template for Train will ensure that
all projects that support Python3 will be tested against the agreed runtime
versions, and make it easier to update them in future.

[1]https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html
[2]https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I12b28117d6cb6adb27bd4c4c4a22eca557ad63ae
Depends-On: https://review.opendev.org/#/c/641878/
2019-05-09 17:34:44 +08:00
Luigi Toscano c30fd5f2e1 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I06ef32cfb156bb1d6a3aef42ceb441193cacc290
2019-04-20 13:51:51 +02:00
OpenDev Sysadmins b029c25b47 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:34:54 +00:00
ZhongShengping f174f097dd Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I83fe9ce12feeb4aaa5156a286c202a93a16b4a79
2019-04-15 09:09:18 +08:00