Commit Graph

3198 Commits

Author SHA1 Message Date
Zuul 02a1f2a715 Merge "Update master for stable/2023.2" 2023-11-02 01:55:33 +00:00
Zuul 83e5367e6c Merge "setup.cfg: Replace dashes with underscores" 2023-11-02 01:54:55 +00:00
zhouxinyong f375220f0b Fixes the several problems/errors caused by tox
Change-Id: I267c52ae96cc91e017141bf6bde9b8a7067a87fe
2023-11-01 12:29:06 +08:00
OpenStack Release Bot 0e1a4e6dd1 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: I31caeb2c5951026f22a0d9a87c3724712c325c3f
2023-09-15 14:30:20 +00:00
zhouxinyong 49eba1bcf0 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: I14aaec1fbd6684a20bc0cfaa755ef4d73473b025
2023-06-12 15:32:34 +08:00
OpenStack Release Bot e745b5f47c 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: I88f6a5a7b9f47049d5836a8604824f1bb4490baa
2022-09-13 12:29:59 +00:00
OpenStack Release Bot b4dfb972fe 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: I9ba69fc8d008853fcd4c30091379c785f8bfdc8b
2022-09-13 12:29:58 +00:00
anguoming ddbce89c8b Remove Python 2 support
Python 2 has been deprecated. This patch removes all
traces of six, unicode strings and Python 2 tweaks.

Change-Id: Id3736eeaf7cc270123d27efb61c2217c1828b4dd
2022-08-13 14:28:24 +08:00
hejunli 3708548d0b Delete py36 and py37
Add py39 in setup.cfg.

Change-Id: I1ed84376e3cd5f7dad8ba1642e52d1b150c43203
2022-07-01 14:01:56 +00:00
Zuul e0d5e684b0 Merge "Drop lower-constraints.txt and it's testing" 2022-07-01 00:54:00 +00:00
hejunli 13d1f14266 Drop lower-constraints.txt and it's testing
As discussed in TC PTG[1] and TC resolution[2], 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.

And switch to openstack-python3-zed-jobs

[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: I2372c591165b0a080cf32c34525b64ff1d565534
2022-06-30 00:42:18 +00:00
OpenStack Release Bot c66830e372 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: Iddc518dc3cd95d35dac1d8ea22845c253fe717bc
2022-03-11 11:53:44 +00:00
OpenStack Release Bot 2ca87aaf5f 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: I7f807a8b93a1fb9441506de1e9a0902b8c3f7bcb
2021-09-17 16:48:24 +00:00
OpenStack Release Bot 9c7912bf55 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: Ia96602ab35061315878e94884158358716682940
2021-03-22 11:54:06 +00:00
OpenStack Proposal Bot f9c6df0c6d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ife6a52dbf65f6506a87dd9998d56b040d96e05d8
2020-11-04 09:02:18 +00:00
Zuul 57878a292b Merge "Add Python3 wallaby unit tests" 2020-10-07 21:49:04 +00:00
Zuul a375826171 Merge "Update master for stable/victoria" 2020-10-07 20:25:21 +00:00
Luigi Toscano 58240a286d Fix reqs (focal)
Apply the fixes already applied to other repositories
to address compatibility issues with the newer test
platform and for cleanup reasons.

Change-Id: I2ef70c3c2cab37f52ccca5905cf6047a1648e27d
2020-10-06 21:46:10 +02:00
OpenStack Release Bot cd38bbea6c 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: Id63945fb934692d0dd1a650436ff38d4e129d526
2020-09-23 13:17:07 +00:00
OpenStack Release Bot 0c36c3c3d0 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: I2bdc50e72ced88deddac60034a328c199b871eca
Sem-Ver: feature
2020-09-23 13:17:05 +00:00
Hervé Beraud 07d787ff45 drop mock from lower-constraints and requirements
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 and requirements.

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

Change-Id: Ibd75ec2b512dd9ef1e56560eca6f59c033891e82
2020-06-09 12:09:55 +02:00
Andreas Jaeger ae9fc93da2 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: Iaa883bd38958f663ee9e4b2ee2f8c0a32b67f837
2020-05-21 16:34:13 +02:00
Ghanshyam Mann 0e126dbb45 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: Id9f65acfe742286e581e74a1f7b978eec53f19b2
2020-05-12 20:59:17 -05:00
OpenStack Proposal Bot 7349480745 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic7815e07ff7aad5cfd4cf607619ab6ae6fb7b28d
2020-05-07 09:25:48 +00:00
OpenStack Proposal Bot 2c59797cd3 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I38e77a0da864891399cffda0a9f2341b3f38f94b
2020-05-05 09:23:29 +00:00
OpenStack Proposal Bot 4ba5ccf066 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I021861592448afb49fae731658823ce425bdb2e8
2020-04-26 08:28:57 +00:00
Zuul bfb879c576 Merge "Bump default tox env from py37 to py38" 2020-04-24 23:32:33 +00:00
Sean McGinnis d6d3eda9fd
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: Icf32770e0beedc78ba4cf1c29cc371105be01faf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:26:01 -05:00
Sean McGinnis 5f79eadd51
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: I98b5d8f5abb2596e67591ea54251f76fe4b7b80a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:20 -05:00
OpenStack Release Bot eab33b6b94 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: I15b734a4538001bf805e2cb7e23538c1a53f1f62
2020-04-23 19:12:53 +00:00
OpenStack Release Bot af39385a6a 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: Ic5c84ab8fac0eb3dd9deec7a82246d68d63e94ce
Sem-Ver: feature
2020-04-23 19:12:50 +00:00
Jeremy Freudberg 498cc2998d Ussuri contributor docs community goal
- Updated CONTRIBUTING.rst per goal guidelines
- Created doc/source/contributor/contributing.rst per goal guidelines

Change-Id: Ief8e8cf4bc7a85621189f5e050e3b60d0cb59de0
2020-04-22 13:50:18 -04:00
Zuul 61ee828da2 Merge "Cleanup py27 support" 2020-04-07 16:00:55 +00:00
Andreas Jaeger 649d554abd Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Remove hacking and friends from lower-constraints, they are not needed
for installation.

Change-Id: Ic64f59739d5519b4b4d7b2eee37e63719c51d3db
2020-04-06 16:17:58 +02:00
Andreas Jaeger 801e9894d9 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: I3fdbf332d03794bbec91c6e0ff23296e6f4d711c
2020-04-05 10:32:52 +02:00
Luigi Toscano ea32b29668 fix: typo in tox minversion option
Change-Id: I9e60294c97fda795ea6cd89c1e877f1d3064b0f5
2020-01-28 13:16:39 +01:00
Luigi Toscano 767836bbd0 [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: I1200d729cbd6bf3b603482362be9161d6bd8b652
2020-01-26 21:58:30 +01:00
Luigi Toscano 46a8391a8a flake8: adapt to the newer rules
Probably coming from a newer pycodestyle.
Follow along with the earlier sahara changes, see also:
https://review.opendev.org/633912

In a nutshell: ignore W504 and W605.

Change-Id: I5737f94abf55b086b1a5a50fcf4a3150a3a759d0
2020-01-24 14:55:04 +01:00
Zuul f9ca0def9a Merge "Switch to Ussuri jobs" 2019-11-08 04:37:30 +00:00
Telles Nobrega 2cf6806c18 Fixing image creation
Updating image creation to keep compatibility with some package changes.

Story: #2006752
Task: #37236
Change-Id: I23c8d14dce45d003fdfb58fed6591e937b27abab
2019-10-29 14:26:58 -03:00
pengyuesheng a36a194508 Switch to Ussuri jobs
Change-Id: Ie649c182c0de2eb822a55695af10f8043205107c
2019-10-25 15:03:49 +08:00
OpenStack Proposal Bot 49d1d6df0e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I53cc9f6a59a04c706b8c50b9e8405cbfe459f985
2019-09-29 07:21:08 +00:00
OpenStack Release Bot d35c03e96c 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: I3efe890fd900fd1e5dbb4e7edbd398a596f73bb4
Sem-Ver: feature
2019-09-27 09:35:25 +00:00
Zuul 62fe610b14 Merge "Update the constraints url" 2019-09-27 08:03:52 +00:00
OpenStack Proposal Bot fd0f4facd8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0813eef488c811849c9ddfe7a7ecead43e13de74
2019-09-25 07:27:04 +00:00
pengyuesheng 669dda02cf Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I3bd2aa3519358f81122841d89f84ff71741d2bb4
2019-09-24 09:56:53 +08:00
Luigi Toscano 47ee6040fa PDF documentation build
- 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: 35492
Change-Id: I353e33db27c8d676398973995960b98d3163aa0d
2019-09-06 16:21:24 +02:00
pengyuesheng ec284ea9a2 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Ib1c203baebe2a5a70c64399c320bc5d2ab3ffb24
2019-09-06 16:17:07 +02:00
Telles Nobrega 8905dd368e Python 3 compatibility fixes
Fixes on MapR plugin to fit python3 compatibility.

Story: #2005902
Task: #36069
Change-Id: Ibc9f517425b05d5e22718b0f1581c33d8b436f21
2019-08-21 09:53:59 -03:00
Zuul 7c66f91a8b Merge "Check MariaDB installation" 2019-08-12 20:14:12 +00:00