Don't install pydantic_core on Python 3.13 (#2595)

See:
2294712845

![Screenshot 2024-03-21 at 2 06
40 PM](227d9e76-7b5d-4730-8f13-cc8bb4a7ac33)
This commit is contained in:
Charlie Marsh 2024-03-21 14:15:43 -04:00 committed by GitHub
parent 0f96386032
commit 9654da418e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,6 +174,7 @@ if __name__ == "__main__":
# This ensures that we can successfully install and recognize a package that may
# be installed into `platlib`.
#
# `pydantic_core` doesn't distribute wheels for non-CPython interpreters.
if sys.implementation.name == "cpython":
# `pydantic_core` doesn't distribute wheels for non-CPython interpreters, nor
# for Python 3.13 (at time of writing).
if sys.version_info < (3, 13) and sys.implementation.name == "cpython":
install_package(uv=uv, package="pydantic_core")