We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I downloaded the repository and ran docker compose up. Here's the error message:
docker compose up
=> ERROR [nav builder 12/13] RUN --mount=type=cache,target=/root/.cache/pip pip3 wheel -w ./.wheels/ -r nav 8.4s ------ > [nav builder 12/13] RUN --mount=type=cache,target=/root/.cache/pip pip3 wheel -w ./.wheels/ -r nav/requirements.txt -c nav/constraints.txt python-gammu==3.2.4: 0.685 Ignoring backports.zoneinfo: markers 'python_version < "3.9"' don't match your environment 0.687 Collecting drf-oidc-auth (from -r /source/nav/requirements/base.txt (line 40)) 0.688 Cloning https://github.com/Uninett/drf-oidc-auth (to revision v4.0) to /tmp/pip-wheel-9qep1_ly/drf-oidc-auth_20e66a8c4bc34f5cb94a9cbd6c1228a7 0.692 Running command git clone --filter=blob:none --quiet https://github.com/Uninett/drf-oidc-auth /tmp/pip-wheel-9qep1_ly/drf-oidc-auth_20e66a8c4bc34f5cb94a9cbd6c1228a7 1.927 Running command git checkout -q 1d0060ee245ee322bfc1dc7b61bef7133365a89e 2.355 Resolved https://github.com/Uninett/drf-oidc-auth to commit 1d0060ee245ee322bfc1dc7b61bef7133365a89e 2.362 Preparing metadata (setup.py): started 2.763 Preparing metadata (setup.py): finished with status 'done' 2.821 Collecting python-gammu==3.2.4 2.823 Using cached python-gammu-3.2.4.tar.gz (138 kB) 2.875 Preparing metadata (setup.py): started 3.112 Preparing metadata (setup.py): finished with status 'done' 3.219 Collecting Django<3.3,>=3.2 (from -r /source/nav/requirements/django32.txt (line 1)) 3.221 Using cached Django-3.2.25-py3-none-any.whl.metadata (4.1 kB) 3.246 Collecting asciitree==0.3.3 (from -r /source/nav/requirements/base.txt (line 4)) 3.248 Using cached asciitree-0.3.3.tar.gz (4.0 kB) 3.254 Preparing metadata (setup.py): started 3.459 Preparing metadata (setup.py): finished with status 'done' 3.521 Collecting psycopg2==2.8.4 (from -r /source/nav/requirements/base.txt (line 5)) 3.523 Using cached psycopg2-2.8.4.tar.gz (377 kB) 3.593 Preparing metadata (setup.py): started 3.849 Preparing metadata (setup.py): finished with status 'done' 3.882 Collecting IPy==1.01 (from -r /source/nav/requirements/base.txt (line 6)) 3.885 Using cached IPy-1.01.tar.gz (33 kB) 3.893 Preparing metadata (setup.py): started 4.082 Preparing metadata (setup.py): finished with status 'done' 4.115 Collecting pyaml (from -r /source/nav/requirements/base.txt (line 7)) 4.117 Using cached pyaml-25.1.0-py3-none-any.whl.metadata (12 kB) 4.157 Collecting twisted<21,>=20.0.0 (from -r /source/nav/requirements/base.txt (line 9)) 4.161 Using cached Twisted-20.3.0.tar.bz2 (3.1 MB) 6.007 Preparing metadata (setup.py): started 8.162 Preparing metadata (setup.py): finished with status 'error' 8.170 error: subprocess-exited-with-error 8.170 8.170 × python setup.py egg_info did not run successfully. 8.170 │ exit code: 1 8.170 ╰─> [34 lines of output] 8.170 Traceback (most recent call last): 8.170 File "<string>", line 2, in <module> 8.170 File "<pip-setuptools-caller>", line 34, in <module> 8.170 File "/tmp/pip-wheel-9qep1_ly/twisted_eccc828191dd4aea8df824aeced287f8/setup.py", line 20, in <module> 8.170 setuptools.setup(**_setup["getSetupArgs"]()) 8.170 File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup 8.170 return distutils.core.setup(**attrs) 8.170 File "/usr/local/lib/python3.9/distutils/core.py", line 108, in setup 8.170 _setup_distribution = dist = klass(attrs) 8.170 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 453, in __init__ 8.170 _Distribution.__init__( 8.170 File "/usr/local/lib/python3.9/distutils/dist.py", line 292, in __init__ 8.170 self.finalize_options() 8.170 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 831, in finalize_options 8.170 ep(self) 8.170 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 852, in _finalize_setup_keywords 8.170 ep.load()(self, ep.name, value) 8.170 File "/tmp/pip-wheel-9qep1_ly/twisted_eccc828191dd4aea8df824aeced287f8/.eggs/incremental-24.7.2-py3.9.egg/incremental/__init__.py", line 438, in _get_distutils_version 8.170 sp_command.finalize_options() 8.170 File "/usr/local/lib/python3.9/site-packages/setuptools/command/build_py.py", line 29, in finalize_options 8.170 orig.build_py.finalize_options(self) 8.170 File "/usr/local/lib/python3.9/distutils/command/build_py.py", line 43, in finalize_options 8.170 self.set_undefined_options('build', 8.170 File "/usr/local/lib/python3.9/distutils/cmd.py", line 286, in set_undefined_options 8.170 src_cmd_obj = self.distribution.get_command_obj(src_cmd) 8.170 File "/usr/local/lib/python3.9/distutils/dist.py", line 857, in get_command_obj 8.170 klass = self.get_command_class(command) 8.170 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 887, in get_command_class 8.170 self.cmdclass[command] = cmdclass = ep.load() 8.170 File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2450, in load 8.170 return self.resolve() 8.170 File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2456, in resolve 8.170 module = __import__(self.module_name, fromlist=['__name__'], level=0) 8.170 ModuleNotFoundError: No module named 'setuptools.command.build' 8.170 [end of output] 8.170 8.170 note: This error originates from a subprocess, and is likely not a problem with pip. 8.175 error: metadata-generation-failed 8.175 8.175 × Encountered error while generating package metadata. 8.175 ╰─> See above for output. 8.175 8.175 note: This is an issue with the package mentioned above, not pip. 8.175 hint: See above for details. ------ failed to solve: process "/bin/sh -c pip3 wheel -w ./.wheels/ -r nav/requirements.txt -c nav/constraints.txt python-gammu==3.2.4" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I downloaded the repository and ran
docker compose up
. Here's the error message:The text was updated successfully, but these errors were encountered: