Commit Graph

11 Commits

Author SHA1 Message Date
wu.chunyang 00b4ef0991 Fixing tests with tox 4.2.6
Remove basepython from testenv
Remove pypy testenv

Change-Id: Iea25327386a3c4e91ebe98aa8954b6353a51c4c6
2023-01-29 10:29:19 +08:00
wu.chunyang fe377e0784 Add python3.9 support
Add python3.9 support and set the default test env to py39

Change-Id: Ia87bcc7e63ecebbfe92662431f0a81508034e18e
2022-11-28 22:57:51 +08:00
likui 4cd62b2a3d 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: Ie929cf7fc728e108c17561976b62094f24676193
2022-08-27 10:06:40 +08:00
Andreas Jaeger c91fbd13b8 Cleanup cruft
Let's make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine;
  move constraints into deps
- Remove Babel from requirements, it's not needed for running;
  remove babel.cfg
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
- update to hacking 3.0

Change-Id: Ic8426d14ba489a88ab73d7dd02e6dfd71b312ca3
2020-05-10 14:37:51 +02:00
Ghanshyam Mann 702d4a9dd4 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

trove-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

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://review.opendev.org/#/c/691178/

Change-Id: Id689113d1cca11f27cee7598b841e365225b50df
2020-03-09 22:54:58 +00:00
Bartosz Zurkowski 22627b8160 Enable publishing plugin docs
Adjusts tox env for building docs and release notes to global standards.
Enables publish-openstack-docs-pti template in Zuul config publish
plugin documentation.

Change-Id: I240803de5e47400f37092a802b300f9f18efd828
Signed-off-by: Bartosz Zurkowski <b.zurkowski@samsung.com>
2018-12-04 13:44:51 +01:00
98k 6b4b2369c3 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I56331ec02bb728f2cc4b79286205a1d6b2b11abe
2018-11-09 04:15:09 +00:00
Zuul 7d2b016642 Merge "change default python 3 env in tox to 3.5" 2018-10-26 22:10:14 +00:00
Doug Hellmann 3b743814ef fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I2f1ce3ab401de7068d4ff258092d2f8236dfd09f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 19:05:06 -04:00
qingszhao 969f507fca change default python 3 env in tox to 3.5
Change-Id: I480038e160b03b0386d65edb1839ec7ea7612ef4
2018-06-12 13:58:23 +08:00
Chandan Kumar 3a90c7949c Apply cookiecutter to newly split project trove-tempest-plugin
This tempest plugin is being split out of the main trove project in
accordance with Queens goal "Split Tempest Plugins into Separate
Repos/Projects"[1]. This patch applies the standard boilerplate files
for OpenStack projects so that it can stand on its own.

[1] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html
2017-12-11 20:15:13 +05:30