Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compatibility with Python 3.14.0a1 #848

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

befeleme
Copy link
Contributor

typing.ByteString has been removed from Python 3.14. Ported the suggested way from the documentation:
https://docs.python.org/3.13/library/typing.html#typing.ByteString

I've verified the fix presented makes the package build and tests pass in Fedora Linux build environment: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-pynacl/

typing.ByteString has been removed from Python 3.14.
Ported the suggested way from the documentation:
https://docs.python.org/3.13/library/typing.html#typing.ByteString
@alex alex linked an issue Nov 15, 2024 that may be closed by this pull request
@alex alex merged commit d33028e into pyca:main Nov 15, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Python 3.14 support: ByteString is gone
2 participants