Skip to content

Fix compatibility with Python 3.14.0a1 - #848

Merged
alex merged 1 commit into
pyca:mainfrom
befeleme:bytestring
Nov 15, 2024
Merged

alex merged 1 commit into
pyca:mainfrom
befeleme:bytestring

Conversation

@befeleme

Copy link
Copy Markdown
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/

@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
@vivodi

vivodi commented Jul 13, 2025

Copy link
Copy Markdown

The current latest version is not compatible with Python 3.14.

Could you @reaperhulk release a new version that supports Python 3.14? This would give downstream projects enough time to test for Python 3.14 compatibility.

@reaperhulk

Copy link
Copy Markdown
Member

As soon as the cffi ft PR merges I intend to do a release.

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

4 participants