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

Do not crash when a version fails to parse #29685

Merged
merged 1 commit into from Feb 22, 2023

Conversation

uranusjr
Copy link
Member

Old files on PyPI may contain version numbers that are non-standard and can't be properly parsed. Those are no longer allowed for new versions, so we can safely ignore those versions since they must be ancient.

The error is hit by #29644

Old files on PyPI may contain version numbers that are non-standard and
can't be properly parsed. Those are no longer allowed for new versions,
so we can safely ignore those versions since they must be ancient.
@potiuk potiuk merged commit 8430d60 into apache:main Feb 22, 2023
@potiuk
Copy link
Member

potiuk commented Feb 22, 2023

Nice catch @uranusjr ! thanks!

@uranusjr uranusjr deleted the ignore-invalid-versions branch February 22, 2023 12:30
ephraimbuddy pushed a commit that referenced this pull request Mar 8, 2023
Old files on PyPI may contain version numbers that are non-standard and
can't be properly parsed. Those are no longer allowed for new versions,
so we can safely ignore those versions since they must be ancient.

(cherry picked from commit 8430d60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants