Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile: need python-wheel for bdist_wheel #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iha
Copy link

@iha iha commented Feb 18, 2021

This commit fixes errors related to bdist_wheel,
similar to the fragment below running ./dev-start.sh
on a fresh install of the kernelci-docker:


Failed building wheel for scandir
Running setup.py clean for scandir
Running setup.py bdist_wheel for sphinx-bootstrap-theme: started
Running setup.py bdist_wheel for sphinx-bootstrap-theme: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-f7uhVd/sphinx-bootstrap-theme/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-k9kl2O --python-tag cp27:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help

error: invalid command 'bdist_wheel'


This was reproduced in:

ArchLinux
Docker version 20.10.3, build 48d30b5b32
docker-compose version 1.28.2, build unknow

Ubuntu 20.04 (Virtual Machine)
Docker version 19.03.8, build afacb8b7f0
docker-compose version 1.25.0, build unknown

This commit fixes errors related to bdist_wheel,
similar to the fragment below running ./dev-start.sh
on a fresh install of the kernelci-docker:

  ----------------------------------------
  Failed building wheel for scandir
  Running setup.py clean for scandir
  Running setup.py bdist_wheel for sphinx-bootstrap-theme: started
  Running setup.py bdist_wheel for sphinx-bootstrap-theme: finished with status 'error'
  Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-f7uhVd/sphinx-bootstrap-theme/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-k9kl2O --python-tag cp27:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------

This was reproduced in:

ArchLinux
Docker version 20.10.3, build 48d30b5b32
docker-compose version 1.28.2, build unknow

Ubuntu 20.04 (Virtual Machine)
Docker version 19.03.8, build afacb8b7f0
docker-compose version 1.25.0, build unknown
@iha iha force-pushed the bugfix/add_missing_python_wheel branch from d19e938 to b66b192 Compare February 18, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant