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: upgrade packaging version #3252

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

michaelkedar
Copy link
Member

Upgrading to Python 3.12 on my computer seems to have broken the API - some problem with packaging.utils.canonicalize_version using something that was deprecated.

OSV.dev is still using Python 3.11, so this hasn't been a problem (yet).

Upgrading packaging to the newest version seems to fix this. The main osv library was constraining it to the older version because of #1270 - I've just changed it to use packaging-legacy, which fixes #1271 (and required re-locking every poetry.lock file depending on it).

Copy link
Collaborator

@oliverchang oliverchang left a comment

Choose a reason for hiding this comment

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

thanks!

@michaelkedar michaelkedar merged commit acb2834 into google:master Mar 13, 2025
12 checks passed
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.

Use packaging-legacy
2 participants