Python: Downgrade packaging for Python 3.7 support

This commit is contained in:
Rasmus Wriedt Larsen
2024-08-06 11:15:48 +02:00
parent 4eb6afa880
commit d50898e114
2 changed files with 7 additions and 4 deletions

View File

@@ -58,13 +58,13 @@ files = [
[[package]]
name = "packaging"
version = "24.0"
version = "23.2"
description = "Core utilities for Python packages"
optional = false
python-versions = ">=3.7"
files = [
{file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"},
{file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"},
{file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"},
{file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"},
]
[[package]]
@@ -224,4 +224,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more
[metadata]
lock-version = "2.0"
python-versions = "^3.7"
content-hash = "efa2573fc074b2b5334ac81c2ed14a4b9894aacab841973703a7af180c181870"
content-hash = "77d4ac980bc0aad555f8a72166242260b14251959db0ded9d055c9f06c36c972"

View File

@@ -15,6 +15,9 @@ pyyaml = "^6.0.1"
[tool.poetry.group.dev.dependencies]
pytest-mock = "^3.11.1"
pytest = "^7.4.2"
# packaging 24.0 was wrongly released as supporting Python 3.7, while it actually
# didn't. So as long as we support Python 3.7, we need to stick to <24.0.
packaging = "<24.0"
[build-system]
requires = ["poetry-core>=1.0.0"]