-
First Check
Commit to Help
Example Codepip install fastapi==0.111.0 DescriptionI use a virtual environment with pypy3.10-7.3.13. Recently, there has been added a default dependency to orjson.
When running the command I end up in:
Is fastapi now officially declared to be incompatible to PyPy (although it has been working the whole time) or is there a way to exclude orjson from the requirements for this purpose? Operating SystemLinux Operating System DetailsDebian 12 FastAPI Version0.111.0 Pydantic Version2.7.2 Python VersionPython 3.10.13 (f1607341da97ff5a1e93430b6e8c4af0ad1aa019, Sep 28 2023, 05:41:26) [PyPy 7.3.13 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
An environment marker is needed for PyPy: |
Beta Was this translation helpful? Give feedback.
-
I created a pull request against master for this: #11689 I changed the specifier to |
Beta Was this translation helpful? Give feedback.
An environment marker is needed for PyPy:
orjson; platform_python_implementation == 'CPython'
.