Skip to content

Commit

Permalink
Fix for tox4 and setuptools
Browse files Browse the repository at this point in the history
- Disable auto discovery in setuptools
This is to avoid issues with latest setuptools after version 61.0
For more info see [1]
- add bash script to allowlist in tox.ini
- use default size for vm memory

[1] pypa/setuptools#3197

Change-Id: Iae24917add1aae6b1ed46dba0d2c270b39c5698c
  • Loading branch information
elfosardo committed Jan 2, 2023
1 parent 5c0eab3 commit 39b6553
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@

setuptools.setup(
setup_requires=['pbr>=2.0.0'],
py_modules=[],
pbr=True)
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ deps =
pycodestyle>=2.0.0,<3.0.0 # MIT
doc8>=0.8.1 # Apache-2.0
allowlist_externals = bash
{toxinidir}/tools/run_bashate.sh
commands =
flake8 {posargs:ironic_python_agent examples}
# Run bashate during pep8 runs to ensure violations are caught by
Expand Down
1 change: 0 additions & 1 deletion zuul.d/ironic-python-agent-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
devstack_localrc:
IRONIC_BUILD_DEPLOY_RAMDISK: True
IRONIC_VM_COUNT: 2
IRONIC_VM_SPECS_RAM: 2750
# This matches the default in ironic-base, specifying for clarity
IRONIC_RAMDISK_TYPE: dib
devstack_services:
Expand Down

0 comments on commit 39b6553

Please sign in to comment.