Skip to content

Commit acb2834

Browse files
authored
fix: upgrade packaging version (#3252)
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).
1 parent a0a217f commit acb2834

File tree

10 files changed

+258
-239
lines changed

10 files changed

+258
-239
lines changed

gcp/api/poetry.lock

+41-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gcp/api/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires-python = ">=3.11,<4.0"
44
dependencies = [
55
"google-cloud-ndb==2.3.2",
66
"google-cloud-logging==3.11.4",
7-
"packaging==20.9",
7+
"packaging==24.2",
88
"requests==2.32.3",
99
"grpcio==1.70.0",
1010
"grpcio-reflection==1.62.2",

0 commit comments

Comments
 (0)