Commit Graph

21 Commits (master)

Author SHA1 Message Date
Aija Jauntēva 85cdc10d86 Drop Python 3.6 from envlist
Change-Id: Icb46ed40b9d0e28822776cd32c70436b728f8a9d
8 months ago
Aija Jauntēva c104340ff6 Update tox Python versions for Yoga
Update list to Python 3.6, 3.9 per [1].

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

Change-Id: I40a88297b09a542fcf79fde9d4066beef50a1b9d
1 year ago
erbarr a26ea3f5dd Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I0de17288315d3d6358f627e28a920fb2f3aac10c
2 years ago
maaoyu 45cd2f459a Remove install unnecessary packages
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: Icde5901a633f78044f8bc6701cc980f2e9c5497a
3 years ago
Christopher Dearborn 5ec2fd5c0f Update upper constraints URL
Update the upper constraints URL to the new URL [0]

[0] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I1bc8e6ea35909f091e24799b554199da16219e17
3 years ago
Christopher Dearborn 6fb41d91e9 Update python versions for unit tests
This patch updates py37 to py38 in the default unit test environments.

Change-Id: I776ae5c2ecf2d356959fd8ffbb5296c3b044edaf
3 years ago
Christopher Dearborn 702da9c50d Drop python 2.7 support and testing
OpenStack is dropping support for py2.7 in the ussuri cycle.

python-dracclient supports python 3 and is ready to drop 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://review.opendev.org/691178

Change-Id: I7171e749707430c2c21c81976174e1278679c9c1
3 years ago
Christopher Dearborn 1b22d279e8 Create doc requirements.txt
This patch creates a new doc/requirements.txt file, moves into it the
required packages from test-requirements.txt, and makes the necessary
changes to the docs build to fix the dependencies.

Change-Id: I6cc9aadc6359fac5b985afb370bd4e33d4749b74
3 years ago
Thomas Bechtold b4c304c5d6 Switch from oslosphinx to openstackdocstheme
That's what the OpenStack community is using today. Also with newer
Sphinx versions, the current approach does no longer build.

Change-Id: Iab9f72bb146e8dd36de7fa868b41801e0c97e2ea
4 years ago
Vieri d70c0939b8 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: Ic94863fc8a5907fc3874cccb87ed217bcd671252
4 years ago
jacky06 15fe14b8a0 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I06dfee32f6cf0a232a49901109b6b794f845c2fd
Closes-Bug: #1826699
4 years ago
98k e4bf12d7c5 Add doc/requirements.txt to docs tox environment
Without these dependencies, the docs build does not actually
work.

Change-Id: Iacb3707016077649a48f7640f1ff73b5a2ea1a28
4 years ago
Vu Cong Tuan c9e0e2fca4 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I72dd71f8f68b7459593b520ea42e9a8af6aaefba
6 years ago
Jim Rollenhagen 659443b312 Use upper-constraints for all tox targets
The issue has been resolved by infra [0], so we can use upper
constraints for all targets.

[0]
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: I72e5139a23a01e6d374c8fc9187903b0f2cb8118
7 years ago
Jenkins e51f04a2c5 Merge "Use constraints for all the things" 7 years ago
Jim Rollenhagen f5ead0cbc1 Use constraints for all the things
This configures tox to use upper-constraints for everything, except
environments used for post jobs (as constraints aren't supported there
yet).

Change-Id: I52530198b1970733cca6a3d0dedb42e416c69f54
7 years ago
Imre Farkas f086c0329d Add py35 to tox environments
Change-Id: I3a62ebfef9f5a78e112c17404e3c4b567b3883d9
7 years ago
Imre Farkas c35a60bba9 Add documentation
Change-Id: I9380316bcbbee6760ef13a91a93b489aee659a40
7 years ago
Janonymous ac5a60560d Put py34 first in the env order of tox
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then, run
py27. This patch puts py34 first on the tox.ini list of envs to avoid this
problem to happen.

Change-Id: I94baade12db4b445e2f7879b1674c5d8e29fcccf
Closes-bug: #1489059
8 years ago
Imre Farkas dc85838401 Add 'venv' environment to tox.ini
Gate jobs are failing without it.

Change-Id: I8390fb0e49ea297cd687dd51d996f0fd1dd1f9fd
8 years ago
Imre Farkas 7be96d5f82 Add tox.ini 8 years ago