summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-03-30 19:43:16 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-03-30 19:43:16 +0100
commit40e95967bd1a4976cacad342b52c52b344790ba9 (patch)
treeb5be1e99141ca54fe9377c288c10eb4fe147385d
parentd007b8963b1e2fc1b0e5961f54e555206c2d8e96 (diff)
downloadpython-setuptools-git-40e95967bd1a4976cacad342b52c52b344790ba9.tar.gz
Update version of validate-pyproject
-rw-r--r--setuptools/config/_validate_pyproject/NOTICE4
-rw-r--r--setuptools/config/_validate_pyproject/formats.py2
-rw-r--r--tox.ini2
3 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/config/_validate_pyproject/NOTICE b/setuptools/config/_validate_pyproject/NOTICE
index b426f7fd..286d2908 100644
--- a/setuptools/config/_validate_pyproject/NOTICE
+++ b/setuptools/config/_validate_pyproject/NOTICE
@@ -1,7 +1,7 @@
The code contained in this directory was automatically generated using the
following command:
- python -m validate_pyproject.vendoring --output-dir=setuptools/config/_validate_pyproject --enable-plugins setuptools distutils --very-verbose
+ python -m validate_pyproject.pre_compile --output-dir=setuptools/config/_validate_pyproject --enable-plugins setuptools distutils --very-verbose
Please avoid changing it manually.
@@ -31,7 +31,7 @@ by the same projects:
- `__init__.py`
- `fastjsonschema_validations.py`
-The relevant copyright notes and licenses are included bellow.
+The relevant copyright notes and licenses are included below.
***
diff --git a/setuptools/config/_validate_pyproject/formats.py b/setuptools/config/_validate_pyproject/formats.py
index a288eb5f..4f23d98a 100644
--- a/setuptools/config/_validate_pyproject/formats.py
+++ b/setuptools/config/_validate_pyproject/formats.py
@@ -139,7 +139,7 @@ class _TroveClassifier:
if self.downloaded is False:
return True
- if os.getenv("NO_NETWORK"):
+ if os.getenv("NO_NETWORK") or os.getenv("VALIDATE_PYPROJECT_NO_NETWORK"):
self.downloaded = False
msg = (
"Install ``trove-classifiers`` to ensure proper validation. "
diff --git a/tox.ini b/tox.ini
index 1b105d5d..e3dd03fb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -68,7 +68,7 @@ commands =
[testenv:generate-validation-code]
skip_install = True
deps =
- validate-pyproject[all]==0.6.1
+ validate-pyproject[all]==0.7
commands =
python -m tools.generate_validation_code