Commit Graph

19 Commits

Author SHA1 Message Date
Ghanshyam Mann 3e0f62f995 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: Iadebd5f857d446870fa79a96dab0ce8f111854f5
2022-04-30 15:15:33 -05:00
HeroicHitesh 7c62d3b53d Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore, test-requirements.txt and lower-constraints.txt
  files accordingly
* Use py3 as the default runtime for tox and 3.18.0 as the
  minversion for tox
* Add a new job, openstack-cover-jobs, to run the coverage in Zuul
* Create cover environment in tox and make relevant changes
  in .gitignore

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: I3de659cdda2f490590dbfb38c81b95becac5da7c
2021-05-17 18:15:14 +05:30
likui fcb3c61446 Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building releasenotes,
doc which may not be supported by stable and lower branches,
so should be restricted by respective version's upper-constraints.txt

Change-Id: I1b3f3a5cf20c1e7f8f419d07e382a03eea673f76
2020-11-17 19:45:51 +08:00
Zuul 89d2a912d6 Merge "Use TOX_CONSTRAINTS_FILE" 2020-11-16 06:21:34 +00:00
likui d622b326d2 Use 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>.

[1] https://review.opendev.org/#/c/722814/

Change-Id: I72de9a8ad05ec11ec87347631a81320e9c6c471a
2020-11-01 16:17:42 +08:00
likui 4b9d7de906 Add py38 test
After 'victoria' version, we should test py38 by default.

[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: Ic386a9e57bb88ea3eeee35b803c21ce8d54dc599
2020-10-13 14:25:08 +08:00
Andreas Jaeger dd7efc353e [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

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

Cleanup tox.ini, remove install_command and add constraints to deps.
Replace mock with unittest.mock.

Change-Id: Idcac0b5310adf27a35223273bd54a4a154988c9b
2020-02-04 20:21:41 +01:00
yangyong 18391a1f62 replace git.openstack with releases.openstack
Change-Id: I5b2efcb5094116cbe6fffe7b3d41c1f2e89bf73b
2019-08-27 10:13:32 +08:00
Corey Bryant a6b1984711 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: I0135335a85e61e21cff70fd9a3f671c7a1495d42
Story: #2005924
Task: #34209
2019-06-24 10:30:11 -04:00
Ghanshyam Mann e4361bfeb5 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I32190b32bb53dd070ef85f68ffcfb7e43c403b4f
2019-04-15 18:05:19 +00:00
Zane Bitter 1ad0b84e4a Use upper-constraints in tox tests
Change-Id: Ib2ef3b3d0d0733842abad97898114c3dbdab3b7a
2018-12-07 14:10:31 +13:00
Doug Hellmann 3bfcd6bceb add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I2aa9180e116b4dec9258e07cea98d0bdf67b8a4e
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-12-05 16:14:34 +13:00
Doug Hellmann be0a5b024e 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: I3b69f534e327ca2d49c5da668192d316eafda30c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:52:08 -04:00
Zane Bitter 461013f01c Clean up heat-agents docs
Improve links, formatting, grammar.

Change-Id: I459b40f30ccd613e19d20e342948f19be1f01efd
2018-03-26 16:32:53 -04:00
ricolin abd634b8b6 Create doc/requirements.txt
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

Refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: I3ca83de4daa7f3433d62aa0868550ad8695968a2
2018-02-02 20:17:28 +01:00
ricolin 2724e1bed7 Add reno for release notes management
Change-Id: If0590c842f73f0cf46cbe07db91b75ae296091d2
2018-01-31 14:41:15 +00:00
rabi bd91db747d Add basic stuff to build docs
This adds basic stuff for docs job.

Change-Id: Ifedc400ea6ee8fb8402b0044553dea4e154ffe96
2017-07-20 09:12:08 +05:30
Thomas Herve 25cd394bbe Add py3.5 support
Depends-On: Ibda89b467b461b8833515f50a0cf1cc3064cb917
Change-Id: I68ac61b7d1d0d180a7696ae2f0f75b1a4a969995
2017-07-17 13:43:43 +00:00
Thomas Herve d802d177c7 Move elements at the top level 2017-01-04 16:57:10 +01:00