Skip to content

Commit 216c446

Browse files
cdce8pabravalheri
andauthored
Update formats.py
Co-authored-by: Anderson Bravalheri <[email protected]>
1 parent ab38346 commit 216c446

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/validate_pyproject/formats.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ def SPDX(value: str) -> bool:
393393

394394
except ImportError: # pragma: no cover
395395
_logger.warning(
396-
"Could not find an installation of `packaging`. License expressions "
397-
"might not be validated. "
398-
"To enforce validation, please install `packaging`."
396+
"Could not find an up-to-date installation of `packaging`. "
397+
"License expressions might not be validated. "
398+
"To enforce validation, please install `packaging>=24.2`."
399399
)
400400

401401
def SPDX(value: str) -> bool:

0 commit comments

Comments
 (0)