Commit Graph

11 Commits

Author SHA1 Message Date
likui 0ef437e95e Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 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: Iff3cda953dc52a0950ea2c615df8a67a7069c206
2021-06-03 16:57:48 +08:00
Andreas Jaeger 0b51f5917c Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme and sphinx versions
- Update constraints URL

Change-Id: I71fad2f2287477ae570ae40a8705b035bbc6a38e
2020-04-28 19:49:10 +02:00
Iury Gregory Melo Ferreira 6919c93d66 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ironic-inspector-specs 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/

The only reference for py27 is on requirements.
Clean up tox.ini for basepython

Change-Id: I05108ae17de80b10b31bf251a729976fd600d6e6
2019-11-25 10:46:14 +01:00
Kaifeng Wang 1a7f765d5c Build pdf doc
The is one of community goals that each project could produce a
single PDF file. The pdf should be in the output of openstack-tox-docs
job.

TeX packages are required to build PDF locally, following is recommended:

* inkscape
* texlive-latex-base
* texlive-latex-extra
* texlive-fonts-recommended

More about the goal:
https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html
https://etherpad.openstack.org/p/train-pdf-support-goal
https://etherpad.openstack.org/p/pdf-goal-train-common-problems

Change-Id: I874f5428f87f19eaf5fa15fa25f55a735e17967d
2019-09-05 13:46:42 +08:00
zhulingjie f04c7a2797 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I0fd71de780e7459405167a2ccc39c2811f0ac48a
2019-04-25 09:24:36 +08:00
Kaifeng Wang ae24da6d5c Fix docs job
Seems to be a requirement mismatch issue, also switched to storyboard
for generated bug link.

Change-Id: Ibf1f3be40e0ecd5d80451ce93f7e296e21ad180e
2019-04-12 17:14:40 +08:00
Kaifeng Wang 2c168e5c73 Update theme to openstackdocstheme
Some invalid reference issues are exposed after switching to
openstackdocstheme, fixed as well.

Change-Id: Iac9f7c5fa3a832e9e3c26b4701a5685ea6252bed
2018-12-21 10:27:44 +08:00
huang.zhiping d483072562 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: I7f262bdc896b30e68529bcf88a01859d8a91aa58
2018-10-03 02:11:12 +00:00
Doug Hellmann f6d5a5f267 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: Ib129db4e523fc5983a246c74f7f057bade0b7093
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-30 01:09:15 +00:00
dparalen 2c937330a8 tox -edocs doesn't work with Python3
Implementing the same pinning of python version as in the ironic specs
patch #440604:

The tox -edocs command does not work with Python3 because the command
depends on a library called "feedformatter" which only supports Python
2 for now.

Change-Id: I703b4a3a4df8c3ceb23adb09632ae5171e6f997e
Closes-Bug: 1669466
2017-03-07 10:15:46 +00:00
Dmitry Tantsur ac093b15be Initial commit
Change-Id: I2b02c253c8f06642f5468332d622f624cd30292b
2015-12-03 12:48:04 +01:00