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 distutils #166

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Remove distutils #166

wants to merge 4 commits into from

Conversation

fabaff
Copy link

@fabaff fabaff commented Apr 4, 2024

All tests are locally still passing but please double-check the dependency updates.

Should fix #164

Older Pillow releases don't support PEP 517 builds
This requires Python 3.8 as minimal release
Copy link
Contributor

@dimaqq dimaqq left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me

@@ -2,7 +2,7 @@
import asyncio
import re
import sys
from distutils.version import StrictVersion
from packaging import version
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: arguably version safety check could be done without the extra dep

if version < StrictVersion("0.16.1"):
binary_version_str = match.group(1)
binary_version = version.parse(binary_version_str)
if binary_version < version.parse("0.16.1"):
Copy link
Contributor

Choose a reason for hiding this comment

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

That version was release on Apr 26, 2017.

Perhaps this check can be removed entirely?

Copy link
Contributor

Choose a reason for hiding this comment

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

tbh i'm fine with just removing the version check completely

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.

Remove distutils
3 participants