Commit Graph

17 Commits

Author SHA1 Message Date
Ghanshyam Mann feb3e28a00 Update python classifier for python 3.10
In 2023.1 cycle, we are testing the python 3.10
as voting job so updating the python classifier.

Change-Id: I340c40a96369f787526661d2ccca97e757eac51d
2022-11-22 19:48:14 +00:00
Ghanshyam Mann d81a6f2ca8 Updating python testing classifier as per Yoga testing runtime
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 and tox.ini.

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

Change-Id: I4be58a69548a037d1920183fd1d58f91ec30e382
2021-12-14 13:25:24 +01:00
Takashi Natsume ff96dcc647 Change minversion of tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace whitelist_externals with allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Change-Id: Id377e233879b87e26ba92ff667b98cc0c1210db2
2021-09-04 02:17:10 +00:00
Stephen Finucane bca5bace07 Switch to hacking 2.x
This supports Python 3 goodness. Some additional tox and gitignore
tweaks are included while we're here.

Change-Id: Id1a7a90119be242486584a3b5d6939083bfac84d
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-02-27 15:04:48 +00:00
Eric Fried 173298bf86 Stop testing with py2 and switch to ussuri jobs
Remove py2 from tox.ini, setup.cfg, and zuul.

Switch from train to ussuri zuul job template.

Change-Id: I70eeabe2237c3f13b7e7a27fb32c9d2cd1609333
2019-10-25 09:45:29 -05:00
Chris Dent d2d56c291b Build pdf docs
This follows the instructions [1] in an attempt to build pdf docs.

The goal is described as docs that get made, not necessarily
perfect docs. This gets that.

[1] https://etherpad.openstack.org/p/train-pdf-support-goal

Change-Id: Icf7c22bf9d1de6fb2a74a756c370930d4c00b0b9
Story: 2006110
Task: 35396
2019-09-11 13:24:44 +00:00
Corey Bryant 3297a6692c Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

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

Change-Id: Id4f37ef39730724dfb09da33cfc44712e0ab722a
Story: #2005924
Task: #34236
2019-07-05 15:44:19 -04:00
caoyuan 098b1e0a50 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I4234531821d18c7f442c83ccb1f341866b2d1d19
2019-04-26 18:05:39 +08:00
Charles Short 07ecadd357 Change python3.5 job to python3.7 job on Stein+
python3.5 was the only supported python3 version on Xenial, now that we have
Bionic Beaver nodes that support python3.7, lets switch to testing with
python3.7 in addition with python3.6 in Stein and beyond.
See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135632.html

Change-Id: I38af51b799464f1f32b593930fbbd6f795dbd088
Signed-off-by: Charles Short <chucks@redhat.com>
Story: #2004073
Task: #27433
2019-02-14 10:21:59 +00:00
qingszhao c51e74ad81 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: I60e0ac5a83a9458c4c7659135e1f330a5d68b63f
2018-07-21 15:17:42 +08:00
Vu Cong Tuan 91ab5ff372 Switch to stestr
According to Openstack summit session [1], stestr is maintained project
to which all Openstack projects should migrate. Let's switch to stestr
as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I02e33d429154936db9ca65b4fd04cfa10754507b
2018-07-18 10:33:07 +01:00
Stephen Finucane 1e00e1528c Follow the new PTI for document build
For compliance with the Project Testing Interface, as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detailed information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I02fee6362fe179e4ce1eafabd83aa054ff0459dc
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2018-07-18 10:31:32 +01:00
Stephen Finucane 37149fb07e tox: Remove '-constraints' targets
We should be using constraints by default.

Change-Id: I1c79100857cc99967dd209e7285dd7c17a59638f
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2018-07-18 10:29:32 +01:00
Stephen Finucane 21b879b755 doc: Remove cruft from conf.py
Clean up both the releasenotes 'conf.py' and some remaining pieces of
the main 'conf.py'. In the case of the former, it looks like this was
copied from Glance's config, and retains a lot of unnecessary config for
same. Remove it all.

Change-Id: Ibce322af4441fef7ba0b1abe1b51070d49ad1df5
2017-08-23 09:46:37 +01:00
Jay Pipes 6f4b514145 update pep8/hacking and address failures
update to necessary hacking from global requirements and fix up the
linting failures.

Change-Id: Ie6baa9e1b97ea3e1b61a418b00b64d1be391866a
2017-03-02 11:37:02 -05:00
Yingxin 1a89c57d50 Fix testing with tox
Corrected ignore file list for testr and tox; Corrected test command in
tox; And added .testr.conf
2016-10-08 08:07:58 +00:00
Jay Pipes 7d2a583f32 Initial commit of os-capabilities library
Adds the basics of the new os-capabilities library, including a README
and a couple helper functions that allow the user to list both symbol
names as well as the capability strings themselves.

Added x86 CPU instruction set extensions as an initial set of namespaced
standardized capability strings.
2016-08-03 19:25:39 -04:00