Revert "cleanup setup.py config"
This reverts commit 6c976e61a9.
Reason for revert:
Removal of setup.py caused problems with installation in tripleo-quickstart:
2022年03月31日 16:20:19.128604 | primary | ERROR: openstack-ansible-os_tempest from file:///home/zuul/src/opendev.org//openstack/openstack-ansible-os_tempest/#egg=openstack-ansible-os_tempest (from -r quickstart-extras-requirements.txt (line 5)) does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
Disable setuptools auto discovery
Jobs are broken due to a release of setuptools 61.0 introducing
non-backwards compatible breaking changes [1]
Setting py_modules to an empty string here will disable autodiscovery
and should permit jobs to run as before.
[1] https://github.com/pypa/setuptools/issues/3197
Signed-off-by: Neil Hanlon <neil@shrug.pw>
Change-Id: I8ee5fa36a6b0cbce2d1811d9f40202fd083e4767
This commit is contained in:
Dariusz Smigiel
committed by
Marc Gariepy
parent
6c976e61a9
commit
395d70f086
3 changed files with 47 additions and 1 deletions
4
tox.ini
4
tox.ini
@@ -6,7 +6,9 @@ ignore_basepython_conflict = True
[testenv]
basepython = python3
usedevelop = False
usedevelop = True
install_command =
pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
passenv =
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.