mybinder build fails
Example: http://jupyter.jive.nl/binderhub/v2/zenodo/10.5281/zenodo.6352039/
Could not resolve ref for gh:10.5281/zenodo.6352039/HEAD. Double check your URL. GitHub recently changed default branches from "master" to "main".
Waiting for build to start...
Picked Zenodo content provider.
Fetching Zenodo record 6352039.
Requesting https://zenodo.org/api/files/e78eae99-535a-43a2-8fac-cba45cf0530b/eossr.zip
INFO:repo2docker:Requesting https://zenodo.org/api/files/e78eae99-535a-43a2-8fac-cba45cf0530b/eossr.zip
Fetching eossr.zip
INFO:repo2docker:Fetching eossr.zip
Extracting eossr.zip
INFO:repo2docker:Extracting eossr.zip
Fetched files: ['Dockerfile', 'setup.py', '.gitlab-ci.yml', '.zenodo.json', '.pre-commit-config.yaml', 'docs', 'examples', '.gitlab', 'contributing.md', '.gitignore', 'codemeta.json', 'README.md', 'LICENSE']
INFO:repo2docker:Fetched files: ['Dockerfile', 'setup.py', '.gitlab-ci.yml', '.zenodo.json', '.pre-commit-config.yaml', 'docs', 'examples', '.gitlab', 'contributing.md', '.gitignore', 'codemeta.json', 'README.md', 'LICENSE']
Using DockerBuildPack builder
INFO:repo2docker:Using DockerBuildPack builder
Step 1/7 : FROM docker.io/python:3.8-slimINFO:repo2docker:Step 1/7 : FROM docker.io/python:3.8-slim
INFO:repo2docker:
---> 5ce3cfb9de89
INFO:repo2docker: ---> 5ce3cfb9de89
Step 2/7 : SHELL [ "/bin/bash", "-c"]INFO:repo2docker:Step 2/7 : SHELL [ "/bin/bash", "-c"]
INFO:repo2docker:
---> Using cache
INFO:repo2docker: ---> Using cache
---> 0e775bee0146
INFO:repo2docker: ---> 0e775bee0146
Step 3/7 : RUN apt updateINFO:repo2docker:Step 3/7 : RUN apt update
INFO:repo2docker:
---> Using cache
INFO:repo2docker: ---> Using cache
---> b9db4b477c3e
INFO:repo2docker: ---> b9db4b477c3e
Step 4/7 : COPY . eossrINFO:repo2docker:Step 4/7 : COPY . eossr
INFO:repo2docker:
---> 1e531471d1bf
INFO:repo2docker: ---> 1e531471d1bf
Step 5/7 : RUN pip install "./eossr"INFO:repo2docker:Step 5/7 : RUN pip install "./eossr"
INFO:repo2docker:
---> Running in 00f0e933cde4
INFO:repo2docker: ---> Running in 00f0e933cde4
Processing /eossr
INFO:repo2docker:Processing /eossr
Preparing metadata (setup.py): started
INFO:repo2docker: Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
INFO:repo2docker: Preparing metadata (setup.py): finished with status 'error'
[91m error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/eossr/setup.py", line 30, in <module>
version=get_property('__version__', 'eossr'),
File "/eossr/setup.py", line 20, in get_property
result = re.search(r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), open(project + '/__init__.py').read())
FileNotFoundError: [Errno 2] No such file or directory: 'eossr/__init__.py'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[0mINFO:repo2docker:[91m error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/eossr/setup.py", line 30, in <module>
version=get_property('__version__', 'eossr'),
File "/eossr/setup.py", line 20, in get_property
result = re.search(r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), open(project + '/__init__.py').read())
FileNotFoundError: [Errno 2] No such file or directory: 'eossr/__init__.py'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[0m
[91merror: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[0mINFO:repo2docker:[91merror: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[0m
Removing intermediate container 00f0e933cde4
INFO:repo2docker:Removing intermediate container 00f0e933cde4
The command '/bin/bash -c pip install "./eossr"' returned a non-zero code: 1INFO:repo2docker:The command '/bin/bash -c pip install "./eossr"' returned a non-zero code: 1
Built image, launching...
Failed to connect to event stream