We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f792a3a commit ab38346Copy full SHA for ab38346
src/validate_pyproject/formats.py
@@ -379,13 +379,7 @@ def int(value: builtins.int) -> bool:
379
380
381
try:
382
- try:
383
- from packaging import licenses as _licenses
384
- except ImportError: # pragma: no cover
385
- # let's try setuptools vendored version
386
- from setuptools._vendor.packaging import ( # type: ignore[no-redef]
387
- licenses as _licenses,
388
- )
+ from packaging import licenses as _licenses
389
390
def SPDX(value: str) -> bool:
391
"""See :ref:`PyPA's license specifiers <pypa:#license>`
0 commit comments