-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Description
Within the docker image for secret-bridge, one of the commands is to install the python requirements from requirement.txt. One of the required packages is version 1.43.8 of PyGithub.
It appears this requirement fails when trying to compile the docker image:
[13:19:06] : [Step 4/5] Collecting MarkupSafe==1.1.1
[13:19:06] : [Step 4/5] Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
[13:19:07] : [Step 4/5] Collecting PyGithub==1.43.8
[13:19:07] : [Step 4/5] Downloading PyGithub-1.43.8.tar.gz (108 kB)
[13:19:07] : [Step 4/5] [91m ERROR: Command errored out with exit status 1:
[13:19:07] : [Step 4/5] command: /usr/local/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2rwjtpim/pygithub_8e4277c87caa41059352fe93101ff1f1/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2rwjtpim/pygithub_8e4277c87caa41059352fe93101ff1f1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-kcn0641z
[13:19:07] : [Step 4/5] cwd: /tmp/pip-install-2rwjtpim/pygithub_8e4277c87caa41059352fe93101ff1f1/
[13:19:07] : [Step 4/5] Complete output (1 lines):
[13:19:07] : [Step 4/5] error in PyGithub setup command: use_2to3 is invalid.
[13:19:07] : [Step 4/5] ----------------------------------------
This StackOverflow post suggests this is caused by an incompatibility with setuptools v58.
System Details
OS: Centos 8
Kernel: Linux, version 4.18.0-305.3.1.el8.x86_64
Docker version: 20.10.7
Metadata
Metadata
Assignees
Labels
No labels