Commit Graph

3030 Commits

Author SHA1 Message Date
zhouxinyong 4085a75197 Fixes the several problems/errors caused by tox
Change-Id: I4341aad49e7c017ffbe81f5cf9b35112998b595a
2023-10-20 11:26:44 +08:00
anguoming 39af1159ea 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: I52764eeffe6938d4a4e1dc7cd5f8baea5163f406
2022-08-13 14:45:28 +08:00
OpenStack Release Bot ae96409b40 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: Ib0b5e702f81a91da4f6729c4cdcc6437042bea82
2022-03-11 11:54:33 +00:00
OpenStack Release Bot 960d5f6e49 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: I1728430000aee3a8c221c152cf9463c49e940561
2021-09-17 16:45:15 +00:00
OpenStack Release Bot 0b922e0620 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: I8a30f71926a05c0b6d9a0a309801cba7ea84a054
2021-03-22 12:14:33 +00:00
OpenStack Proposal Bot c123704698 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I13e4b41eee89daea5fd9a478caf87c4be7c51e9a
2020-11-04 09:09:44 +00:00
Zuul 11b0f53fa9 Merge "Add Python3 wallaby unit tests" 2020-10-07 21:49:09 +00:00
Zuul 03b92a2ef8 Merge "Update master for stable/victoria" 2020-10-07 20:26:36 +00:00
Luigi Toscano 3dd6e13dce 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: I1c5de1cdb80ef46f571c034a1f4d3aa89f197fba
2020-10-06 21:48:53 +02:00
OpenStack Release Bot 43ba409874 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: I5641a1a98f91c012e980ae07695dace925d6b14b
2020-09-23 13:18:17 +00:00
OpenStack Release Bot 84253c8edf 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: I3cab22804820ba8d6b8c40c8be3f52b14f0cbfbf
Sem-Ver: feature
2020-09-23 13:18:14 +00:00
Hervé Beraud a0f41eea53 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: Ib8c30a3357c57f9c127b94d777610d602454e0ef
2020-06-11 12:06:20 +02:00
Andreas Jaeger d9c7835e45 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: I99d37b8316aca48e6dc014b1824c253bc0f64bac
2020-05-21 16:44:29 +02:00
Ghanshyam Mann cbf77a55aa 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: I5b6f571496f225dce7f514d480a66a31e490477e
2020-05-12 20:56:37 -05:00
OpenStack Proposal Bot 4ceb9a8a07 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id21be9a8adcfc92d1ebd9b79083c6fac9ce0a1d2
2020-04-26 08:35:30 +00:00
Zuul da284869cf Merge "Bump default tox env from py37 to py38" 2020-04-24 23:38:05 +00:00
Sean McGinnis 25a253c0a2
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: I4aa3f9a0592f4614e014cc8c0e78fa5ee35b5042
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:26:02 -05:00
Sean McGinnis 9b3f682065
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: I9f22c55d7b573d8896ec32e92806930a3a6ac9b7
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:21 -05:00
OpenStack Release Bot 24d193d9bb 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: I4f46326c6865f4c2c3c37e50c0ada9713753b339
2020-04-23 19:17:29 +00:00
OpenStack Release Bot a18ba184c4 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: I960cd402059112ad1efe2b5527a1046556814ece
Sem-Ver: feature
2020-04-23 19:17:27 +00:00
Jeremy Freudberg f5a760eac4 Ussuri contributor docs community goal
- Updated CONTRIBUTING.rst per goal guidelines
- Created doc/source/contributor/contributing.rst per goal guidelines

Change-Id: I8a7e93124562e86a327090eea1f07103fc1270f7
2020-04-22 13:50:21 -04:00
Zuul 44011bc1a2 Merge "Cleanup py27 support" 2020-04-07 16:00:57 +00:00
Andreas Jaeger d6f9ad4c32 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: Ie62ffc8f795f3bee26bdd3c6389e9f0a836cd6d8
2020-04-05 10:34:13 +02:00
Andreas Jaeger e2fd9f4dcf 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: I3bab2affeba9f1cb298f3b13bec7a70ab7245b1d
2020-03-30 18:11:07 +02:00
Luigi Toscano 6ebae3ddd4 fix: typo in tox minversion option
Change-Id: I06ad0de55dd65a9d173c22864484f79a512923b9
2020-01-28 13:17:28 +01:00
Luigi Toscano 20c07edb71 [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: I8e996238ddc048f1a912c90620b5db41f9a11ad6
2020-01-26 21:58:31 +01:00
pengyuesheng 4721c15671 Switch to Ussuri jobs
Change-Id: I20284bb9713dac3b44170da9204dd3b71bbdc7cc
2019-10-25 15:07:26 +08:00
OpenStack Proposal Bot 98a2a51f53 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie21d8a3886dd06d9f31e9890696ef210747f9ea5
2019-10-08 11:13:25 +00:00
OpenStack Proposal Bot 713223bae7 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I612895885f34c63dea61a98e626969e151359c5c
2019-09-28 09:11:57 +00:00
OpenStack Release Bot 9041034843 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: I92b78ceef395f15503482e2c81f1f770d5b6a9c1
Sem-Ver: feature
2019-09-27 09:38:41 +00:00
Zuul 379f1af850 Merge "Update the constraints url" 2019-09-27 08:04:06 +00:00
OpenStack Proposal Bot 602d792acc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iaa8de42f011d7faee683e569a6e91b6d56a9a514
2019-09-25 10:09:45 +00:00
pengyuesheng 8e92ee8478 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I7213faa473e7dc25f18c26a87a7137fb5067f932
2019-09-25 11:45:22 +08:00
Luigi Toscano 5efe25ea36 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: 35494
Change-Id: I353e33db27c8d676398973995960b98d3163aa0d
2019-09-06 16:50:43 +02:00
OpenStack Proposal Bot 6d488c2c9a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ide19f60443e8084de136fb3a76802faec0e2a8eb
2019-08-02 10:04:55 +00:00
Corey Bryant 26df00435f 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: I98c5f62ea546d4b1a3094a6ce5ff387b08742b54
Story: #2005924
Task: #34244
2019-07-18 13:56:17 +00:00
Luigi Toscano 70e8bc93ff Update sphinx from current requirements
Otherwise the requirements-check job fails.

Change-Id: I7a378c69f3ac35ec398400ff8be8421b619a8e6b
2019-06-25 11:46:35 +02:00
ZhongShengping 0416da1912 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: Ib92186e88a3a54e0b6b00a4480fe6b461ad2f372
Depends-On: https://review.opendev.org/#/c/641878/
2019-05-09 17:34:48 +08:00
Luigi Toscano 464127461f Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: Ia71022dc28f70aadedbe6a04f6d9697c28d5ad46
2019-04-20 13:51:56 +02:00
OpenDev Sysadmins 656966bcd0 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:29:47 +00:00
ZhongShengping 6880724dba 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: I5ded626c99df751ca078599cbc35c01b7c3da387
2019-04-15 09:11:58 +08:00
OpenStack Release Bot 7b02730404 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

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

Change-Id: I1dff666ce74aea53528a69335786478c3b814b1b
Sem-Ver: feature
2019-03-20 04:52:24 +00:00
Luigi Toscano a24b19cc29 add python 3.7 unit test job
See ML discussion here [1] for context.
[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Story: #2004073
Task: #27450
Change-Id: Ib79d3d2bfe52ae0112fd326b0dff07a56ee2bde7
2019-02-28 17:47:27 +01:00
Luigi Toscano 80bd58cc25 Reduce the dependencies, add more common Zuul jobs
The requirements files have been mostly copied from sahara.git,
but most of the dependencies are not needed.

Refresh the content of lower-constraints.txt and ensure that
the lower-constraints tox environment considers also the doc
dependencies.

Explicitly depend on the pre-release of Sahara for Stein.

Add few more jobs to avoid breakages, namely:
- add check-requirements and openstack-lower-constraints-jobs;
- replace tempest-plugin-jobs with openstack-python-jobs,
  openstack-python35-jobs and openstack-python36-jobs
  now that it is possible to depend on sahara.

Change-Id: I370490435d40a4a53e70d32a7a08e551a2c1ad54
2019-02-05 20:08:52 +01:00
ZhongShengping bfe0884ace Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: Ic508810189ad3529bca17075f93cc41f8fb77b5e
2019-01-23 15:27:29 +08:00
Zuul 9065b516d9 Merge "Migrate away from oslo_i18n.enable_lazy()" 2019-01-17 14:13:59 +00:00
Telles Nobrega e598dfdda0 Migrate away from oslo_i18n.enable_lazy()
The method is known to be problematic, and it is going to be
deprecated:
http://lists.openstack.org/pipermail/openstack-operators/2018-November/016139.html

Moreover, its usage in Sahara produces some nasty side-effects
when Python 3.x is used. The provisioning of the clusters ends
abruptly when sahara-engine tries to update the status in the
database, with a failure inside oslo_i18n.

Change-Id: I7c3b6c53ef193887f715cf89151aa3771736c40e
2019-01-17 10:56:08 -03:00
Luigi Toscano 7c24c8c169 Fix translations: add the babel.cfg file
Change-Id: Ic5dd6d173e75610be9a54f22723af4f115669581
2019-01-15 15:28:35 +01:00
Luigi Toscano 965868082a Post-import fixes: name, license, doc, translations
- fix the name of the module in setup.cfg, according the correct
  pattern (otherwise the name of the directory is not correct);
- add LICENSE file, required by (at least some) distributions;
- setup the translations;
- fix the name of the manpage, use the name of the module;
- add the classifier for Python 3.6.

Change-Id: Ie05394a8fa545dd9d7e0964087e5ff36dc266352
2019-01-14 23:40:24 +01:00
Telles Nobrega d4c3a0a2a1 Updating plugin documentation and release notes
Updating documentation to reflect what it means to the Sahara project,
and make it build again.
Also cleaning up release notes so we can start fresh.

Change-Id: Ie3e2eb36498143e7637cb7c031a74b51dcc2c1ba
2019-01-08 19:26:18 -03:00