Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: zope-interface conflicts with python>3.9
60.90 Using cached zope.interface-6.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (255 kB) 61.51 Building wheels for collected packages: backports-zoneinfo 61.51 Building wheel for backports-zoneinfo (pyproject.toml): started 61.93 Building wheel for backports-zoneinfo (pyproject.toml): finished with status 'error' 61.94 error: subprocess-exited-with-error 61.94 61.94 × Building wheel for backports-zoneinfo (pyproject.toml) did not run successfully. 61.94 │ exit code: 1 61.94 ╰─> [41 lines of output] 61.94 running bdist_wheel 61.94 running build 61.94 running build_py 61.94 creating build 61.94 creating build/lib.linux-x86_64-cpython-312 61.94 creating build/lib.linux-x86_64-cpython-312/backports 61.94 copying src/backports/__init__.py -> build/lib.linux-x86_64-cpython-312/backports 61.94 creating build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 copying src/backports/zoneinfo/_common.py -> build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 copying src/backports/zoneinfo/_version.py -> build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 copying src/backports/zoneinfo/_zoneinfo.py -> build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 copying src/backports/zoneinfo/__init__.py -> build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 copying src/backports/zoneinfo/_tzpath.py -> build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 running egg_info 61.94 writing src/backports.zoneinfo.egg-info/PKG-INFO 61.94 writing dependency_links to src/backports.zoneinfo.egg-info/dependency_links.txt 61.94 writing requirements to src/backports.zoneinfo.egg-info/requires.txt 61.94 writing top-level names to src/backports.zoneinfo.egg-info/top_level.txt 61.94 reading manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt' 61.94 reading manifest template 'MANIFEST.in' 61.94 warning: no files found matching '*.png' under directory 'docs' 61.94 warning: no files found matching '*.svg' under directory 'docs' 61.94 no previously-included directories found matching 'docs/_build' 61.94 no previously-included directories found matching 'docs/_output' 61.94 adding license file 'LICENSE' 61.94 adding license file 'licenses/LICENSE_APACHE' 61.94 writing manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt' 61.94 copying src/backports/zoneinfo/__init__.pyi -> build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 copying src/backports/zoneinfo/py.typed -> build/lib.linux-x86_64-cpython-312/backports/zoneinfo 61.94 running build_ext 61.94 building 'backports.zoneinfo._czoneinfo' extension 61.94 creating build/temp.linux-x86_64-cpython-312 61.94 creating build/temp.linux-x86_64-cpython-312/lib 61.94 gcc -pthread -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/openedx/venv/include -I/opt/pyenv/versions/3.12.2/include/python3.12 -c lib/zoneinfo_module.c -o build/temp.linux-x86_64-cpython-312/lib/zoneinfo_module.o -std=c99 61.94 lib/zoneinfo_module.c: In function ‘zoneinfo_fromutc’: 61.94 lib/zoneinfo_module.c:600:19: error: ‘_PyLong_One’ undeclared (first use in this function); did you mean ‘_PyLong_New’? 61.94 600 | one = _PyLong_One; 61.94 | ^~~~~~~~~~~ 61.94 | _PyLong_New 61.94 lib/zoneinfo_module.c:600:19: note: each undeclared identifier is reported only once for each function it appears in 61.94 error: command '/usr/bin/gcc' failed with exit code 1 61.94 [end of output] 61.94 61.94 note: This error originates from a subprocess, and is likely not a problem with pip. 61.94 ERROR: Failed building wheel for backports-zoneinfo 61.94 Failed to build backports-zoneinfo 61.95 ERROR: Could not build wheels for backports-zoneinfo, which is required to install pyproject.toml-based projects ------ Dockerfile:83 -------------------- 81 | 82 | # python requirements 83 | >>> RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared,uid=${APP_USER_ID} pip install -r requirements.txt 84 | # https://pypi.org/project/uWSGI/ 85 | RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared,uid=${APP_USER_ID} pip install uwsgi==2.0.24 -------------------- ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt" did not complete successfully: exit code: 1
- Loading branch information