Closed n-bes closed 11 hours ago
As the error message says, this is not likely to be a poetry bug.
Looks like typing_extensions
module not passed to build environment. I think that it is combination of poetry
and virtual-environment
. I will duplicate the issue to pydantic
too.
Looks like typing_extensions module not passed to build environment
Unlikely. Looks more like pydantic-core has found a way to run a python that is not the one in the build environment.
you can take poetry out of the equation by cloning pydantic-core
, pip-installing build
, and then python -m build
- resulting in the same error.
please close
Description
Minimal reproducible example
Dockerfile:
poetry.toml:
pyproject.toml:
Steps with pip
Steps with poetry
Workarounds
Install
pydantic
from binary or without virtual environmentPoetry Installation Method
install.python-poetry.org
Operating System
Debian 12 (bookworm)
Poetry Version
1.8.3
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
No response
Poetry Runtime Logs