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

Remove deprecated ByteString #608

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Remove deprecated ByteString #608

merged 2 commits into from
Oct 30, 2024

Conversation

nforro
Copy link
Contributor

@nforro nforro commented Oct 30, 2024

ByteString has been deprecated in Python 3.12 and will be removed in Python 3.14. Replace it with Union[bytes, bytearray].

See: https://docs.python.org/dev/deprecations/pending-removal-in-3.14.html

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

`ByteString` has been deprecated in Python 3.12 and will be removed in
Python 3.14. Replace it with `Union[bytes, bytearray]`.

Signed-off-by: Nikola Forró <[email protected]>
@graebm
Copy link
Contributor

graebm commented Oct 30, 2024

Thanks!

@graebm graebm enabled auto-merge (squash) October 30, 2024 17:10
@graebm graebm merged commit 084e141 into awslabs:main Oct 30, 2024
64 checks passed
@nforro nforro deleted the deprecation branch November 4, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants