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

fix: catch InvalidVersion instead of handling LegacyVersion #127

Merged
merged 2 commits into from
Feb 5, 2023

Conversation

finswimmer
Copy link
Contributor

@finswimmer finswimmer commented Dec 21, 2022

LegacyVersion was removed from packaging in version 22.0. (See: pypa/packaging#530)

Resolves: #126

@finswimmer finswimmer marked this pull request as ready for review December 21, 2022 11:22
@finswimmer finswimmer changed the title fix: drop handling LegacyVersion fix: catch InvalidVersion instead of handling LegacyVersion Dec 21, 2022
@finswimmer
Copy link
Contributor Author

BTW: Having a lower boundary for packaging means, that pythonfinder itself needs at least Python 3.7. This would give the chance to modernize the code base a bit. Are you willing to accept PRs for this?

@matteius
Copy link
Contributor

@finswimmer Hey thanks for opening this -- I just approved the test runner to run; as far as I know we are open to and appreciate these kind of changes. I recently came out of a 50 hour power outage so I am still a bit foggy and will check on this again soon.

@finswimmer
Copy link
Contributor Author

Sounds good @matteius 👍 Then I will prepare a series of PR to modernize the code base in the next days. But for now have a good holiday.

@finswimmer
Copy link
Contributor Author

Hey @matteius,

any chance that you find some time to have a look on that PR?

fin swimmer

@oz123 oz123 merged commit d901f21 into sarugaku:master Feb 5, 2023
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.

ImportError with packaging >= 22.0
3 participants