Repository navigation
Add support for Python 3.16. - #3147
freakboy3742 wants to merge 8 commits into
Conversation
| extension | ||
| for archive_format in shutil.get_unpack_formats() | ||
| for extension in archive_format[1] | ||
| if archive_format[0] != "whl" |
There was a problem hiding this comment.
This behavior contradicts the docstring of is_archive. I see it was changed to pass the existing tests, but would it make more sense to update the tests? Looking at the places where this function is used, it doesn't look like they need to distinguish between .whl files and other archives.
There was a problem hiding this comment.
Looks like I misread the logic around usage here; I thought we needed to exclude wheels to trigger the right logic in the venv backends, but on re-reading, I can see that isn't the case. I've reverted this and modified the expected test result to be version sensitive.
|
Since there were other updates needed to this PR, I've taken the opportunity to drop macOS Intel testing as well. It turns out the templates have already dropped Intel runners. |
Add CI for Python 3.16.
Compatibility changes:
urlparse()now raises a warning if passed a non-string value. Anything that isn't a string can be rejected as "not a URL".shutil.unpack()can now accept wheels; anywhere that we're asking if a file is an archive, if it's a wheel we need to install as a wheel, not unpack.Also downgrades support for macOS on Intel to "best effort" support, removing CI configurations.
PR Checklist: