Commit Graph

25 Commits

Author SHA1 Message Date
Martin Kopec d6ef9a22cd Switch testing to Antelope testing runtime
Updating the testing template to Antelope testing runtime:
https://governance.openstack.org/tc/reference/runtimes/2023.1.html

Change-Id: I2e0b6d679d1262bd63b0f9375ec28eb2affa135d
2023-01-19 11:20:12 +01:00
LiZekun 142a34e3f6 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I72a05b539b87cceae35ab479eb4441e3f2690287
2022-02-16 10:24:35 +00:00
Ghanshyam Mann 169c4a9c52 Test python3.9 as voting job
In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.

Also, as coverage2sql is branchless and needs to support older
supported stable branches, let's test it with all the
python version supported in those supported stable branches.
For that, we need to explicitly dd the py jobs instead of using
the template. This way, we will explicitly know that we are testing
all supported python versions when the new release template bumps the
min python version in the template.

Change-Id: Ieb7cf6334a6deedfd9d72f348d1cbc1cd100b054
2021-11-03 21:08:03 +00:00
tushargite96 0d12aae281 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 python in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Ie0d1d3964043e6dd518f3b7020f58f4f3b2de76c
2021-02-25 22:38:30 +05:30
Vishakha Agarwal 75f0726947 Switch testing to Victoria testing runtime
Upating the testing template from ussuri to victoria
testing runtime
- https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: Id8c5862b59188f2607c45392fa3b01b681825488
2020-08-01 19:45:42 +00:00
Andreas Jaeger 339f23dcf5 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine

Change-Id: Ib70fcdc751a1e84d3160558361a76bbd328f4625
2020-04-17 17:08:58 +02:00
Andreas Jaeger 77cdf205d4 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

fix issues found by flake8.

Change-Id: I2f14cb6f67a0c9b4c0dcbf8d93c26eb99b9b9d33
2020-03-28 10:47:17 +01:00
Ghanshyam Mann 157f0c0ae7 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

coverage2sql 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://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I7e523bff1144d827dd1377c00d4a51512e265a85
2020-02-03 18:50:34 +00:00
Masayuki Igawa 1f3763636b
Add PDF documentation build
This commit adds PDF documentation build target 'pdf-docs' that will
build PDF versions of our docs. And this commit also updates 'docs'
target to use sphinx-build command as well as 'pdf-docs' target.

This is one of the Train community goals:

 https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Change-Id: Iae6bc9ae92fe61385c424923eaad35dc449880e9
Story: #2006070
Task: #35455
2019-10-02 18:48:31 +09:00
Ghanshyam Mann 55f5c8fdcf Fix gate error "mysqladmin: command not found"
mysqladmin package is required in tools/test-setup.sh
so adding bindep.txt file for this binary dependencies

- http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html

Change-Id: I6e624fe1b99a6257147deb694e0da87590e4102e
2019-07-17 04:34:45 +00:00
Zuul ad2d8ae2dd Merge "Update envlist and classifier" 2019-06-03 12:05:17 +00:00
Masayuki Igawa 75ad13d330
Separate requirements for documents tox job
This commit separates the requirements libraries for the docs job in
tox.ini. The latest sphinx doesn't work in Python2 environments anymore.
So, we need to split that into the test and docs jobs.

Change-Id: I7255cd9af0dfb5c1f66c1aa65d0ddfb144079836
2019-06-03 19:01:50 +09:00
Masayuki Igawa acbbc79ba3
Update envlist and classifier
This commit updates envlist in tox.ini and adds Python3.7 in classifier.
We should have py37 instead of pypy.

Change-Id: I2f7a6b7eb8099cfd34f0fe84bb01f23c115c9dda
2019-04-22 16:54:11 +09:00
Ghanshyam Mann ae7bad6a6f 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: Ib3ad13631f24983ac13531bb47f90897732bec60
2019-04-22 03:26:07 +00:00
huang.zhiping f2cecbb2e8 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: I22f6e478534a5fd90af565812dc81a0fac2f2132
2019-01-11 06:10:34 +00:00
Doug Hellmann f5a1c60493 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: I66d77a977b76118d3a7b74f1f5b238370b43a38d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:47:47 -04:00
Masayuki Igawa e541da94aa
Switch to use stestr instead of os-testr
This commit switches to use stestr instead of os-testr. It should be
better to reduce the test runner complexity.

Change-Id: Ia16ad5ed6d9ed7be9dc6902f875b0144b24a938a
2017-12-16 17:45:42 +09:00
Masayuki Igawa 1d7860fc39
Add py36 to tox.ini
This commit adds py36 to tox.ini because we should support python3.6.
And this commit also removes redundant 'py' in the envlist.

Change-Id: Id6b4e02987bfb16abf1ca9735f22ba4b850d63c3
2017-02-03 12:42:19 +09:00
xhzhf b67d562e0f H305/H402 hacking have been deprecated
H305/H402 hacking have been removed since hacking 0.10.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg
test-requirements of coverage2sql require hacking<0.11,>=0.10..
So remove H305/H402 ignore statement
Closes-Bug: #1653639

Change-Id: I781fc185b3a70e0c9e12ae0eeab16d2d54925421
2017-01-10 04:24:43 +00:00
Masayuki Igawa 7be91f5a0c Introduce pip-check-reqs task to tox
This commit introduces pip-check-reqs task to tox.ini. We should avoid
inconsistency between (test-)requirements.txt and actual source code.

Change-Id: I9d734cdbc1c1fb3283835890b8132e54a7b757d7
2016-11-18 15:43:04 +09:00
Masayuki Igawa 1d2b3f4618 Make py35 tox task default in python3
This commit makes the py35 tox task default in python3 instead of py34.
In the gate, we already use py35 not py34, so this is natural.

Change-Id: Ie5dc151b509db9c8ccf50373e73408e352d2bc63
2016-11-15 14:21:42 +09:00
Masayuki Igawa e22975ab47 Add unit tests and remove oslo_db
This commit adds unit tests and removes oslo_db dependency.

Change-Id: I735044fbebefcea2f73b6431e55b9c67f5508c17
2016-11-11 11:33:43 +09:00
Masayuki Igawa 93d3324c9f Add releasenote
Change-Id: Iaa9f86b24fec5ec305af8a17994fcf3f76dfed58
2016-11-11 10:35:13 +09:00
Masayuki Igawa 5a4708f8cc Initial setup 2016-04-19 13:55:22 +09:00
Masayuki Igawa c5f72789a3 Initial Cookiecutter Commit. 2016-04-19 12:24:29 +09:00