Commit Graph

8 Commits

Author SHA1 Message Date
Hervé Beraud 72752c4cdb 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 however it doesn't
produce any doc or releasenotes, but uniformization can't hurt and help
us in the future.

/!\/!\/!\
Notice that I voluntarily added the doc directory even if no docs
are generated here because zuul will try to pull this requirements from
there first and the contained requirements are needed for reno but AFAIK
the releasenotes dir is ignored by zuul. c.f [4] for further details.
/!\/!\/!\

[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: I18fdf133b6c3ea9b60e784c0e1dfb7ce1217eda5
2021-01-05 16:40:03 +00:00
Martin Kopec 05f144b90b Bump hacking max version to 3.0.1
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.

Change-Id: I04635509cc8b794f9aaad8ac43a25bf6ddd9b9e1
2021-01-03 11:01:33 +00:00
Ghanshyam Mann 4ceb427d4f migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40180

Closes-Bug: #1886296
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: I5628be1786bc098232db44d0b74b1b2d0b828bbd
2020-07-10 14:26:53 +00:00
Ghanshyam 44b8c4ed91 More cleanup for py2 drop
This commit cleanup requirement file and add
ignore_basepython_conflict flag into tox to avoid
python version conflct.

Change-Id: Ie7a80ac58dc425e66cf2b7334b99e22a07759dbc
2020-01-23 16:44:35 -06:00
Luka Peschke 91c85d04ca [ussuri][goal] Drop python 2.7 support and testing
This drops python2.7 support for cloudkitty-tempest-plugin. The lowest python
version now supported by cloudkitty-tempest-plugin is 3.6.

Depends-On: https://review.opendev.org/#/c/694434/
Change-Id: I2b4a57dae3f150b22c38cc2b83747ee4231b31fe
2019-11-25 10:38:14 +01:00
ljhuang ed63a24bdb Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest

Change-Id: I6c1ed891087602ec0a9bf8b53445fa4aef2b1f6c
2019-06-11 09:48:06 +00:00
inspurericzhang f082a6467b Update hacking version to latest
Change-Id: Iec776464a9b2b2760e31bbb1f1ba892bce3e504a
2019-01-09 10:13:25 +08:00
Luka Peschke b58453fa85 Committing initial work
This is the initial work done on CloudKitty's tempest plugin.

Change-Id: I3251a51271c2ce3ff4bb667d1f6e09e77896b8d7
2017-11-08 15:40:34 +01:00