Commit Graph

5 Commits

Author SHA1 Message Date
Dr. Jens Harbott 6df4f46055 Disable auto-discovery for setuptools and update python testing
With setuptools release 61.0.0 docs build started to fail:
error: Multiple top-level packages discovered in a flat-layout:
['specs', 'attic', 'superseded'].

This bug is mentioned in setuptools issue 3197 [0], and the suggested
workaround is to disable auto-discovery by adding 'py_modules=[]' in
setup.py.

Also use recent python versions because the old ones are no longer available.

These 2 unrelated changes need to be merged together in order to unblock
the gate.

[0] https://github.com/pypa/setuptools/issues/3197

Change-Id: Iddc30b9521b61d9083c2b1f6e8a6707196ea0a57
2022-06-07 12:16:12 +02:00
Ghanshyam Mann 9680cbf5ca [ussuri][goal] Drop python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

specs repo either has py27 job or requirement or tox env.

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ie17b61301a941ff554de9fcb8985b5b1e4096113
2019-12-23 20:44:49 +00:00
Corey Bryant 4095c1b5f7 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: I29a89ee1abbbfaa7d9593923c17f8999b9323d25
Story: #2005924
Task: #34215
2019-07-22 13:11:36 -07:00
Lance Bragstad 9c70ba9071 Run python 3.6
Use python 3.6 for tests. Even though this repository is relatively
slim when it comes to tests, we should use an updated version of
python. This is also consistent with the Stein community goal to move
towards python3.

Change-Id: I816cd684bacd1aefb19600d44c8bbf1609a0b79d
2018-08-31 16:01:49 +00:00
Doug Hellmann 1b7d8d824b import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iaa10c8f02b1c21071c3d30643fb8e772d00e2682
Story: #2002586
Task: #24304
2018-08-29 16:04:00 -04:00