Skip to content

Commit 6ff5a2d

Browse files
committed
BLD: add missing dependency on packaging
We were relying on `pyproject-metadata` adding a `packaging` dependency implicitly. We use it directly though, so should add it in our own metadata. We have no particular version requirements beyond what is needed by `pyproject-metadata`, so we add the same >=19.0 constraint.
1 parent 4cf51a2 commit 6ff5a2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ backend-path = ['.']
88
requires = [
99
'meson >= 0.63.3; python_version < "3.12"',
1010
'meson >= 1.2.3; python_version >= "3.12"',
11+
'packaging >= 19.0',
1112
'pyproject-metadata >= 0.7.1',
1213
'tomli >= 1.0.0; python_version < "3.11"',
1314
]
@@ -34,6 +35,7 @@ classifiers = [
3435
dependencies = [
3536
'meson >= 0.63.3; python_version < "3.12"',
3637
'meson >= 1.2.3; python_version >= "3.12"',
38+
'packaging >= 19.0',
3739
'pyproject-metadata >= 0.7.1',
3840
'tomli >= 1.0.0; python_version < "3.11"',
3941
]

0 commit comments

Comments
 (0)