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

Use packaging instead of pkg_resources #142

Merged
merged 4 commits into from
Dec 5, 2024
Merged

Use packaging instead of pkg_resources #142

merged 4 commits into from
Dec 5, 2024

Conversation

twm
Copy link
Contributor

@twm twm commented Dec 3, 2024

As pkg_resources.parse_version() is now an alias for packaging.version.Version, use the latter directly. Also stop poking at underscore attributes in favor of public API.

Fixes #141.

@twm twm force-pushed the 141-drop-setuptools branch from 64d4227 to 5f32d20 Compare December 3, 2024 07:34
@twm twm requested a review from a team December 4, 2024 04:48
Copy link
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

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

Thanks. All good.
Happy to see the removal of setuptools dependency.

pyproject.toml Outdated Show resolved Hide resolved
For the public API.

Co-authored-by: Adi Roiban <[email protected]>
@twm
Copy link
Contributor Author

twm commented Dec 5, 2024

Thank you for the review, @adiroiban!

@twm twm merged commit 2b804aa into trunk Dec 5, 2024
8 checks passed
@twm twm deleted the 141-drop-setuptools branch December 5, 2024 06:24
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.

Drop runtime setuptools dependency
2 participants