Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Properly fix version handling with packaging>=22.0 #362

Merged
merged 1 commit into from
May 29, 2023

Conversation

mweinelt
Copy link
Contributor

Both the current version and the last startup version can be unparsable.

Hence we now just catch the resulting exception and reset the version
to the new version, which may or may not be parsable, which we'll find
out on the next start up. But either way this prevents crashes from
unparsable versions in the database.

This is a follow-up for eb4c63d.

Both the current version and the last startup version can be unparsable.

Hence we now just catch the resulting exception and reset the version
to the new version, which may or may not be parsable, which we'll find
out on the next start up. But either way this prevents crashes from
unparsable versions in the database.
@TerryGeng
Copy link
Collaborator

LGTM. Thanks!

@TerryGeng TerryGeng merged commit bd9f9bc into azlux:master May 29, 2023
@mweinelt mweinelt deleted the version-parser-fix branch May 29, 2023 14:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants