Skip to content

Service is dead, Docker won't build #1

Description

@dzek69

Hey,

This seems like interesting service, however - the hosted instance is dead.

I tried building the docker image, but pip fails:

 => ERROR [4/5] RUN pip install --no-cache-dir -r requirements.txt                                                                                                                                                                                                                                                       3.0s
------                                                                                                                                                                                                                                                                                                                        
 > [4/5] RUN pip install --no-cache-dir -r requirements.txt:                                                                                                                                                                                                                                                                  
#0 1.525 Collecting click==6.7                                                                                                                                                                                                                                                                                                
#0 1.659   Downloading click-6.7-py2.py3-none-any.whl (71 kB)                                                                                                                                                                                                                                                                 
#0 1.688      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.2/71.2 kB 2.6 MB/s eta 0:00:00                                                                                                                                                                                                                                      
#0 1.738 Collecting Flask==0.12.2                                                                                                                                                                                                                                                                                             
#0 1.766   Downloading Flask-0.12.2-py2.py3-none-any.whl (83 kB)
#0 1.778      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.0/83.0 kB 9.4 MB/s eta 0:00:00
#0 1.828 Collecting gunicorn==19.7.1
#0 1.854   Downloading gunicorn-19.7.1-py2.py3-none-any.whl (111 kB)
#0 1.861      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.0/112.0 kB 20.8 MB/s eta 0:00:00
#0 1.903 Collecting itsdangerous==0.24
#0 1.928   Downloading itsdangerous-0.24.tar.gz (46 kB)
#0 1.932      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.5/46.5 kB 111.1 MB/s eta 0:00:00
#0 1.942   Preparing metadata (setup.py): started
#0 2.346   Preparing metadata (setup.py): finished with status 'done'
#0 2.390 Collecting Jinja2==2.10
#0 2.413   Downloading Jinja2-2.10-py2.py3-none-any.whl (126 kB)
#0 2.424      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.4/126.4 kB 18.8 MB/s eta 0:00:00
#0 2.510 Collecting MarkupSafe==1.0
#0 2.536   Downloading MarkupSafe-1.0.tar.gz (14 kB)
#0 2.545   Preparing metadata (setup.py): started
#0 2.711   Preparing metadata (setup.py): finished with status 'error'
#0 2.715   error: subprocess-exited-with-error
#0 2.715   
#0 2.715   × python setup.py egg_info did not run successfully.
#0 2.715   │ exit code: 1
#0 2.715   ╰─> [6 lines of output]
#0 2.715       Traceback (most recent call last):
#0 2.715         File "<string>", line 2, in <module>
#0 2.715         File "<pip-setuptools-caller>", line 34, in <module>
#0 2.715         File "/tmp/pip-install-5byjv0k5/markupsafe_1c80a89eaf384f89a86f1dd4466b50d1/setup.py", line 6, in <module>
#0 2.715           from setuptools import setup, Extension, Feature
#0 2.715       ImportError: cannot import name 'Feature' from 'setuptools' (/usr/local/lib/python3.11/site-packages/setuptools/__init__.py)
#0 2.715       [end of output]
#0 2.715   
#0 2.715   note: This error originates from a subprocess, and is likely not a problem with pip.
#0 2.717 error: metadata-generation-failed
#0 2.717 
#0 2.717 × Encountered error while generating package metadata.
#0 2.717 ╰─> See above for output.
#0 2.717 
#0 2.717 note: This is an issue with the package mentioned above, not pip.
#0 2.717 hint: See above for details.
#0 2.852 
#0 2.852 [notice] A new release of pip available: 22.3.1 -> 23.0.1
#0 2.852 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:6
--------------------
   4 |     
   5 |     COPY requirements.txt ./
   6 | >>> RUN pip install --no-cache-dir -r requirements.txt
   7 |     
   8 |     COPY . .
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

Is there a hope for a fix?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions