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
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
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
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
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
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
This commit updates envlist in tox.ini and adds Python3.7 in classifier.
We should have py37 instead of pypy.
Change-Id: I2f7a6b7eb8099cfd34f0fe84bb01f23c115c9dda
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
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>
This commit switches to use stestr instead of os-testr. It should be
better to reduce the test runner complexity.
Change-Id: Ia16ad5ed6d9ed7be9dc6902f875b0144b24a938a
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
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
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
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