the docker backend seems to fail as it requires greenlet 2.0.2, yet it does not compile.
15.09 error: command '/usr/bin/gcc' failed with exit code 1
15.09
15.09
15.09 at /usr/local/venv/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare
15.11 160│
15.11 161│ error = ChefBuildError("\n\n".join(message_parts))
15.11 162│
15.11 163│ if error is not None:
15.11 → 164│ raise error from None
15.11 165│
15.11 166│ return path
15.11 167│
15.11 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
15.11
15.11 Note: This error originates from the build backend, and is likely not a problem with poetry but with greenlet (2.0.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "greenlet (==2.0.2)"'.
15.11
failed to solve: process "/bin/sh -c poetry install --no-root --only main" did not complete successfully: exit code: 1
make: *** [Makefile:5: build] Error 17
I've tried adding pip wheel --no-cache-dir --use-pep517 "greenlet (==2.0.2)" in the dockerfile (right above the poetry RUN line) to see what would happen and had the same error.
the docker backend seems to fail as it requires greenlet 2.0.2, yet it does not compile.
failed to solve: process "/bin/sh -c poetry install --no-root --only main" did not complete successfully: exit code: 1 make: *** [Makefile:5: build] Error 17
I've tried adding
pip wheel --no-cache-dir --use-pep517 "greenlet (==2.0.2)"
in the dockerfile (right above the poetry RUN line) to see what would happen and had the same error.