Commit Graph

17 Commits

Author SHA1 Message Date
Goutham Pacha Ravi f47cefe169 Remove pypy from default envlist
TrivialFix

Change-Id: I75b0d2c1a07a407e7bae4fdc14928adfc46156de
2023-01-05 16:17:42 -08:00
silvacarloss 36623bf215 Fix tox4 erros
tox.ini started failing with Tox4 which had some
incompatible changes. This change adresses the issues.

Change-Id: Iacdc525b2411b4e256c4d8b742975d8043dd2825
2023-01-04 14:26:14 +00:00
Dina Saparbaeva 02bd40a31b tox miniversion update to 3.1.1
In 3.1.1, tox had fixed:

mishandling the basepython directive [1]
ignoring PYTHONDONTWRITEBYTECODE [2]
More details in [3]

[1] tox-dev/tox#477
[2] tox-dev/tox@336f4f6
[3] http://lists.openstack.org/pipermail/openstack-dev/2018-July/thread.html#132075

Change-Id: I37ab7fd16ca3125870a1201fb3b2e86c61564f47
2021-02-11 22:53:14 +06:00
Hervé Beraud 8cce66b545 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].

Removing 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: I472c4ba4511e474a7d944769884284c5bc9219ac
2021-01-07 12:55:24 +01:00
wu.shiming a5c2b7d467 Update TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
-https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I149acb076a9e42f2b86186efc0924a489aa1fa83
2020-12-15 08:56:28 +08:00
lkuchlan 88452b3d31 Add uuid for tests
We should add a unique identifier for manila tests like
done in tempest. This will help to track a specific
test over time.
This patch adds a unique id for all functional and scenario
tests and also adds check-uuid to tox tests.

Change-Id: I262c7df709a8a7e9ed36591571069b9bcef0f51c
2020-09-08 10:54:10 -07:00
lkuchlan 1d1461d232 Add flake8-import-order extension to tox.ini
This package adds 3 new flake8 warnings

* ``I100``: Your import statements are in the wrong order.
* ``I101``: The names in your from import are in the wrong order.
* ``I201``: Missing newline between sections or imports.

Change-Id: I4feabcd4db583d213e0e4d414eee267b0ddb8870
2020-08-18 10:01:00 +03:00
Zuul 2db30b840a Merge "Update docs building" 2020-04-23 13:47:45 +00:00
Andreas Jaeger a3fef5ccca 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

Change-Id: Ic1a93606cb73778fc43e58b85ad65bee46c3c631
2020-04-23 10:03:17 +02:00
Goutham Pacha Ravi abb4a8f358 Drop install_command usage in tox
Use the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

See discussion on the openstack-discuss ML [1]
for the complete context.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html

Change-Id: I93c60668c9510f4479d268aab69d0117a53b2c01
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-04-23 00:58:14 -07:00
Andreas Jaeger 0cb685be7d Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: I76d42ef91d3cfc133a6f7a4dfdf982e5fec0d443
2020-04-01 13:47:59 +02:00
Goutham Pacha Ravi eff4f9b87f [ussuri][goal] Drop python2.7 support
As per the official python support timeline
set forth by the OpenStack TC [1][2], OpenStack
Train is the last release that will support
python2.7. manila-tempest-plugin is a 'branchless'
tempest plugin. However, after this change,
users may no longer expect to install this package
with python2.7.

Depends-On: https://review.opendev.org/#/c/688997/
[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I8c10d169302c6f1c41e238ae9f787455a2b15a4d
2019-12-11 01:42:55 +00:00
pengyuesheng e2eb90b3f4 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Ib56288ab747cd4f6999681bf978934a21fdf012a
2019-09-24 16:04:14 +08:00
caoyuan ad4507c45b Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I1289f82c0f14b27d15f4b41b80dfe9131efb2ed7
2019-04-23 17:47:47 +00:00
Doug Hellmann e5117d1ffd 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: If0ee6818a04526c1035dbe303a278d1176344166
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:55:53 -04:00
Raissa Sarmento 80f5fbf2c9 Initial fixes to plugin repo
Fixing requirements and setup for manila tempest plugin.

Depends-On: I21f2e27ba18f18ebdf07105452c0ffb6fc04bb83
Change-Id: Id773014b915817ff41b9bffd41e84e4d53fb78be
2017-11-20 12:01:12 -03:00
Raissa Sarmento 3dd627bdec Apply cookiecutter to newly split project
This tempest plugin is being split out of the main manila 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-09-27 12:25:46 +01:00