Skip to content

Conversation

@rathann
Copy link
Contributor

@rathann rathann commented Apr 23, 2025

ByteString was deprecated in Python 3.12 and removed in 3.14.

collections.abc.Buffer is available since Python 3.12.

Fixes #238 .

@ofek
Copy link

ofek commented Apr 23, 2025

Looks like you need to import sys.

@rathann
Copy link
Contributor Author

rathann commented May 27, 2025

@ofek it looks like some of the CI tests (macos) are timing out:

E               hypothesis.errors.DeadlineExceeded: Test took 23648.94ms, which exceeds the deadline of 20000.00ms

I've no idea why the anaconda/windows tests are failing, though. pypy/windows tests seem to be failing because of obsolete distutils usage.

Copy link
Owner

@indygreg indygreg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you for the fix.

I've cherry picked this commit locally and will push to main outside of GitHub. The PR will be marked as closed but in reality it has been merged.

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.

typing.Bytes string will be removed in Python 3.14

3 participants