-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Docker not building.
Expected Behavior
Docker should build
Steps To Reproduce
=> ERROR [rengine-celery-beat 12/14] RUN pip3 install --upgrade setuptools pip && pip3 install -r /tmp/requirements.txt --no-cache-dir 3.6s
[rengine-celery-beat 12/14] RUN pip3 install --upgrade setuptools pip && pip3 install -r /tmp/requirements.txt --no-cache-dir:
#0 0.628 Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (59.6.0)
#0 0.924 Collecting setuptools
#0 0.981 Downloading setuptools-72.0.0-py3-none-any.whl (2.3 MB)
#0 1.117 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 17.6 MB/s eta 0:00:00
#0 1.129 Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.0.2)
#0 1.198 Collecting pip
#0 1.207 Downloading pip-24.2-py3-none-any.whl (1.8 MB)
#0 1.262 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 35.0 MB/s eta 0:00:00
#0 1.382 Installing collected packages: setuptools, pip
#0 1.382 Attempting uninstall: setuptools
#0 1.382 Found existing installation: setuptools 59.6.0
#0 1.383 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#0 1.383 Can't uninstall 'setuptools'. No files were found to uninstall.
#0 1.827 Attempting uninstall: pip
#0 1.828 Found existing installation: pip 22.0.2
#0 1.830 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
#0 1.830 Can't uninstall 'pip'. No files were found to uninstall.
#0 2.311 Successfully installed pip-24.2 setuptools-72.0.0
#0 2.311 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
#0 2.738 Collecting aiodns==3.0.0 (from -r /tmp/requirements.txt (line 1))
#0 2.763 Downloading aiodns-3.0.0-py3-none-any.whl.metadata (3.5 kB)
#0 2.789 Collecting argh==0.26.2 (from -r /tmp/requirements.txt (line 2))
#0 2.795 Downloading argh-0.26.2-py2.py3-none-any.whl.metadata (8.6 kB)
#0 2.819 Collecting beautifulsoup4==4.9.3 (from -r /tmp/requirements.txt (line 3))
#0 2.826 Downloading beautifulsoup4-4.9.3-py3-none-any.whl.metadata (4.2 kB)
#0 2.884 Collecting celery==5.4.0 (from -r /tmp/requirements.txt (line 4))
#0 2.891 Downloading celery-5.4.0-py3-none-any.whl.metadata (21 kB)
#0 2.939 Collecting discord-webhook==1.3.0 (from -r /tmp/requirements.txt (line 5))
#0 2.947 Downloading discord_webhook-1.3.0-py3-none-any.whl.metadata (13 kB)
#0 3.102 Collecting Django==3.2.23 (from -r /tmp/requirements.txt (line 6))
#0 3.110 Downloading Django-3.2.23-py3-none-any.whl.metadata (4.1 kB)
#0 3.132 Collecting django-ace==1.0.11 (from -r /tmp/requirements.txt (line 7))
#0 3.140 Downloading django_ace-1.0.11-py3-none-any.whl.metadata (3.5 kB)
#0 3.158 Collecting django-celery-beat==2.6.0 (from -r /tmp/requirements.txt (line 8))
#0 3.167 Downloading django-celery-beat-2.6.0.tar.gz (160 kB)
#0 3.211 Preparing metadata (setup.py): started
#0 3.310 Preparing metadata (setup.py): finished with status 'error'
#0 3.322 error: subprocess-exited-with-error
#0 3.322
#0 3.322 × python setup.py egg_info did not run successfully.
#0 3.322 │ exit code: 1
#0 3.322 ╰─> [6 lines of output]
#0 3.322 Traceback (most recent call last):
#0 3.322 File "", line 2, in
#0 3.322 File "", line 34, in
#0 3.322 File "/tmp/pip-install-2mmrvr2b/django-celery-beat_53e25703c8eb435b912c934e4c7f6b69/setup.py", line 9, in
#0 3.322 import setuptools.command.test
#0 3.322 ModuleNotFoundError: No module named 'setuptools.command.test'
#0 3.322 [end of output]
#0 3.322
#0 3.322 note: This error originates from a subprocess, and is likely not a problem with pip.
#0 3.424 error: metadata-generation-failed
#0 3.424
#0 3.424 × Encountered error while generating package metadata.
#0 3.424 ╰─> See above for output.
#0 3.424
#0 3.424 note: This is an issue with the package mentioned above, not pip.
#0 3.424 hint: See above for details.
failed to solve: process "/bin/sh -c pip3 install --upgrade setuptools pip && pip3 install -r /tmp/requirements.txt --no-cache-dir" did not complete successfully: exit code: 1
Makefile:23: recipe for target 'up' failed
make: *** [up] Error 17
Environment
- reNgine: v2.1.1
- OS: Ubuntu
- Python:
- Docker Engine:
- Docker Compose:
- Browser:
Anything else?
No response