Commit Graph

14 Commits

Author SHA1 Message Date
wu.shiming 362c6c5209 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: I1db5597ab78d19b7dac5de895745079ea1094666
2021-06-10 09:37:46 +08:00
wangzihao 7c19d7528f 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: I19ad6237ca33b9144fb1303506d717620840baaf
2021-05-19 14:57:01 +08:00
Zuul d952210ecd Merge "Bump py37 to py38 in tox.ini" 2021-01-06 10:33:31 +00:00
wu.shiming b979560d88 Bump py37 to py38 in tox.ini
In 'wallaby' cycle, we should test py38 by default.

ref:
  https://governance.openstack.org/tc/reference/runtimes/wallaby.html

Change-Id: I7de0f99a4b15cd4c21a815f6d6bdeac99bb657ba
2021-01-05 22:26:33 +00:00
Hervé Beraud f6b619e8e8 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removed specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I23bbefb2549afdb7e54c9b0c245a338cae4e81e9
2021-01-05 23:23:56 +01:00
Pierre Riteau 10ef8b76dd Fix multiple CI failures
1) Bump hacking max version to 3.0.1 and fix code style failures.

pep8 job is failing because the version of flake8 (flake8<2.7.0,>=2.6.0)
requested by hacking<1.2.0 is not compatible with pyflakes>=2.1.1.
Therefore the patch increases the max version of hacking.

2) Disable swift-proxy service which fails to start on stein. Disabled
   other unneeded services while here.

Change-Id: I87c6d037fbbc24ef795ddbe26b5e297fb1bbc7a9
2021-01-05 17:18:45 +01:00
Andreas Jaeger bcdfdf25b3 Update docs building
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
  python 3
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's not needed, the default is fine

Change-Id: I34fa39d1d57352b7187b986473bce772dcdc32f0
2020-04-19 10:25:53 +02:00
Tetsuro Nakamura 31b690c1f7 Stop testing with py2
Python 2 is no longer supported. Python 3 is required.
This patch stops testing with Python 2.

Change-Id: Ia18f527ccacc14630a3ec4a2335c99a654b7fea0
2020-01-22 05:52:07 +00:00
Pierre Riteau 5e3f2736fe Generate PDF documentation
Change-Id: I82069d3b92350bf51def36822094aeeae8a5ee73
Story: 2006073
Task: 34799
2019-09-27 15:50:11 +02:00
Pierre Riteau 9a34ee32e3 Fix path to source code in configuration files
Change-Id: I56c03f6e7c9fe30dcea36a9843da205c4adf1d03
2019-09-16 12:04:26 +02:00
Le Hou ba05dee585 Use opendev repository
Change-Id: Ie92cbb4bf280a0ff1721dbd835c61f7377b6c101
2019-04-23 16:16:37 +08:00
qingszhao 732f2329ed change default python 3 env in tox to 3.5
Change-Id: I80599e3dec2208fc68ef70f00ae0c7f2e3454dcc
2018-06-12 10:28:29 +08:00
huang.zhiping 65b2b80f9b 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: I7dfde1d3a1bf58b3913ceadb18aa3bf3c31ac795
2018-06-08 22:10:58 +08:00
Chandan Kumar 30323b4d4b Apply cookiecutter to newly split project blazar-tempest-plugin
This tempest plugin is being split out of the main blazar 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-18 14:38:55 +05:30