Skip to content

Commit

Permalink
Use stable version of validate-pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Aug 1, 2024
1 parent 1d2fd37 commit d6601ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# *** PLEASE DO NOT MODIFY DIRECTLY: Automatically generated code ***


VERSION = "2.19.1"
VERSION = "2.20.0"
from decimal import Decimal
import re
from .fastjsonschema_exceptions import JsonSchemaValueException
Expand Down
2 changes: 1 addition & 1 deletion setuptools/config/_validate_pyproject/formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def pep508(value: str) -> bool:
"""
try:
_req.Requirement(value)
return True
except _req.InvalidRequirement:
return False
return True

except ImportError: # pragma: no cover
_logger.warning(
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ commands =
[testenv:generate-validation-code]
skip_install = True
deps =
# validate-pyproject[all]==0.18
validate-pyproject[all] @ https://github.com/abravalheri/validate-pyproject/archive/refs/heads/allow-overwrite.zip
validate-pyproject[all]==0.18
commands =
python -m tools.generate_validation_code

Expand Down

0 comments on commit d6601ba

Please sign in to comment.