Commit Graph

12 Commits

Author SHA1 Message Date
Hasan Acar a5e3d8271f fix: pytz lib added to requirements.txt
fix: changing envlist
Change-Id: I9b086fb5c61156a3d41c381e5c1f2b29e4b31793
2024-03-06 13:41:45 +00:00
Hervé Beraud f3692d124f 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: I4bbbd504e7be70e1a02b308c5e7b2a761e9d124f
2021-01-07 14:43:08 +01:00
Andreas Jaeger e26e00897e 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 unneeded, the default is fine.

Change-Id: I5678058e43df7e708c7aefd7c06431ab21415e34
2020-04-19 09:51:25 +02:00
Ghanshyam 34a5bdff42 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-tempest-plugin 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://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I27c82c48541291553141c197cb9c227720cc6dbb
2020-01-24 14:46:04 +00:00
zhulingjie f90c73911d Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I10f155c316dc77b69dcbbc387f3edf59ed84b5dd
2019-06-14 14:09:25 +00:00
huang.zhiping 0ad394d8da 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: I014f9f9c7f7212ca868bdb27f091a257a3174159
2019-01-24 09:01:59 +00:00
Doug Hellmann d71950197a 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: Ic6e09871c57804374c103642a9b70b2da057b0de
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:56:57 -04:00
wangqi e62fff1ef5 Drop py34 and py33 target in tox.ini
We support py35 now.so it is no need to keep
the supoort for py34 and py33.

Change-Id: I7e09988f7b08fe978383029619da0a82cbfa4203
2018-05-11 14:04:54 +00:00
Amir Mofakhar 6d21f39445 Update pep8 checks
* set the maximum line length to 100
* cleaned up the codes for pep8

Change-Id: I5d62c9925b10b18c7c8e4ce93ef7c5d2ffec3f8e
Signed-off-by: Amir Mofakhar <amofakhar@op5.com>
2018-04-12 11:43:49 +02:00
Chandan Kumar 679755376b Merged monasca log api tempest plugin into monasca tempest plugin
* monasca_log_api_tempest.tests -> monasca_tempest_tests.tests.log_api
* monasca_log_api_tempest.clients -> monasca_tempest_tests.clients.log_api
* monasca_log_api_tempest.services -> monasca_tempest_tests.services
* Anything starting with log_api contains monasca_log_api_tempest
  tempest plugin pieces.
* plugin.py and config.py is unified
* We can run monasca_log_api_tempest tests by pass following regex:
  monasca_tempest_tests.tests.log_api
* moved monasca_log_api/tests/base.UNICODE_MESSAGES to
  monasca_tempest_tests.tests.log_api.base.py
* Added devstack plugin to run tempest locally

Story: 2001400
Task: 6082

Change-Id: I44922da236967b5df798f36675828ce78b2e41d8
2018-01-24 12:35:42 +00:00
Chandan Kumar 1247b3e976 Sync tempest code for cassandra support
* Ie60d668692e1f25f555dda2355f4e513d582736c Added the cassandra support
  it syncs the same in tempest plugin side.

* Copied flake8 ignores from monasca-api code base
  in order to avoid breakage.

Change-Id: I27ecc28e48da5a96e5e639026d212da3b6467646
Story: 2001400
Task:  6121
2017-12-21 13:09:55 +01:00
Chandan Kumar f68f2e0925 Apply cookiecutter to newly split project monasca-tempest-plugin
This tempest plugin is being split out of the main monasca 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-09 19:00:30 +05:30