Commit Graph

16 Commits (master)

Author SHA1 Message Date
HeroicHitesh 1e3b5a1cd4 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore, tox.ini and test-requirements.txt files accordingly
* Use py3 as the default runtime for tox

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Ibeb39fd9293ad037b038857507eeb498856036e3
2021-11-17 16:53:42 -05:00
Sorin Sbarnea ca01d75133 Clear tox ini
Change-Id: I792149f24379ead3de0afa426fd42d97aac343cc
2021-04-26 15:43:28 +01:00
Hervé Beraud ad31a40211 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: I9b10cd04a98d4ec2899962c53bda16ec860b2c4d
2021-01-05 10:53:18 +01:00
Andreas Jaeger 276d2cf9b6 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Remove babel.cfg, it's not needed
- move basepython into testenv

Change-Id: I4c0e3b9b12c6b46c3b6b6a2f8f96e6996421dd8d
2020-05-03 17:12:48 +02:00
Corey Bryant 5e0060fad4 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I3812281ad016d0d650fad44e41ea4c83df11fb89
Story: #2005924
Task: #34253
2019-07-12 16:38:12 -04:00
Alex Schultz 98368f114f Add upper constraints
py27 is currently broken due to a Sphinx failure that is resolved if you
properly include the upper constraints.

Change-Id: I4bcafb92bd307fe469bcab4db760d4245ceecb76
2019-05-20 13:26:44 -06:00
Zuul 0f6cacbb5a Merge "Update min tox version to 2.0" 2019-03-27 20:41:37 +00:00
Natal Ngétal 54f7e4bd15 [Configuration] Add missing py37 and corrected default envlist.
Add py37, py36 and py35.

Change-Id: I22e9a2d5e527e6af7cbaa0e7c69fecd4756de476
2019-01-08 17:23:36 +01:00
Natal Ngétal f4f063e467 [Configuration] Remove useless py26 environment.
This environment is empty and not used.

Change-Id: I0985aae12eb975c76e55c0ba2951700361d637c4
2018-12-20 10:59:38 +01:00
Kim Bao Long c749e77c3e Update min tox version to 2.0
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: If3d655f83b5079fccfae97634f2f7b37c036b6ee
2018-11-02 12:25:21 +07:00
Doug Hellmann 47ecae9125 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: I71287cf24200f1abb5cde0fd305647e9d31f292d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 19:04:34 -04:00
Emilien Macchi 84b39187ae Add reno support
Change-Id: I2d69a6ab7cefe3935c56024234ecda17fa506cb6
2017-01-27 10:58:48 -05:00
Jenkins f94ee64947 Merge "py26 is no longer supported by Infra's CI" 2016-03-15 21:35:08 +00:00
Ondřej Nový 0f23a6bbf0 Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I3d9cf319804532b2b16d14cbc5ba2621c9b082de
2016-02-19 20:15:57 +00:00
janonymous 37cc47f484 py26 is no longer supported by Infra's CI
Python 2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it too.

Change-Id: I5a33333210428a38614993152771ae952bb48799
2015-12-26 14:41:18 +05:30
Emilien Macchi 917b05d9d6 Basic structure imported from tripleo-image-elements
Imported from tripleo-image-elements, this is the basic structure.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
2014-09-08 18:58:08 -04:00