Skip to content

remove usage of typing.ByteString - #5015

Closed
mjg wants to merge 1 commit into
pymupdf:mainfrom
mjg:py-3.15-ByteString
Closed

remove usage of typing.ByteString#5015
mjg wants to merge 1 commit into
pymupdf:mainfrom
mjg:py-3.15-ByteString

Conversation

@mjg

@mjg mjg commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

typing.ByteString is deprecated in python 3.15 and slated for removal in python 3.17. This creates deprecation warnings which trip up our tests.

Since we are requiring python >= 3.10 already, we can switch to the proper alternative unconditionally now.

typing.ByteString is deprecated in python 3.15 and slated for removal in
python 3.17. This creates deprecation warnings which trip up our tests.

Since we are requiring python >= 3.10 already, we can switch to the
proper alternative unconditionally now.
@mjg

mjg commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

This has been applied (partially at least) with different commit message in c7a2cf1

@mjg mjg closed this Aug 26, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant