summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-06-01 16:47:22 -0400
committerJulian Berman <Julian@GrayVines.com>2022-06-01 16:47:22 -0400
commitfd3a457c7359f13f50de8d5e3fbc73998c3ea2dc (patch)
tree4f38ae6f5dcf095e7c8a4dfb2b4c503f6d7b9f9c /tox.ini
parentb621484e84314e18052af306e225066cc430d0f3 (diff)
downloadjsonschema-fd3a457c7359f13f50de8d5e3fbc73998c3ea2dc.tar.gz
Slightly speed up pip installs by skipping the version check in CI.
Also remove some old version upgrading cruft.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 4 insertions, 10 deletions
diff --git a/tox.ini b/tox.ini
index b9c12d6..eb22013 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,11 +22,9 @@ setenv =
whitelist_externals =
mkdir
commands =
- {envpython} -m pip install 'pip>=21.1.1' # Evade CVE-2021-28363
-
- noextra: {envpython} -m pip install {toxinidir}
- format,perf: {envpython} -m pip install '{toxinidir}[format]'
- format_nongpl: {envpython} -m pip install '{toxinidir}[format_nongpl]'
+ noextra: {envpython} -m pip install --disable-pip-version-check {toxinidir}
+ format,perf: {envpython} -m pip install --disable-pip-version-check '{toxinidir}[format]'
+ format_nongpl: {envpython} -m pip install --disable-pip-version-check '{toxinidir}[format_nongpl]'
# Ignore the deprecation warning until pypa/setuptools#3276 is released
tests,coverage,codecov: {envpython} -Werror -W"ignore:module 'sre_constants' is deprecated:DeprecationWarning" -m {env:MAYBE_COVERAGE:} twisted.trial {posargs:jsonschema}
@@ -69,11 +67,7 @@ commands =
[testenv:safety]
deps = safety
commands =
- {envpython} -m pip install 'pip>=21.1.1' # Evade CVE-2021-28363
-
- # Remove once pypa/pip#7555 is closed.
- {envpython} -m pip install --use-feature=in-tree-build '{toxinidir}[format]'
-
+ {envpython} -m pip install --disable-pip-version-check '{toxinidir}[format]'
{envpython} -m safety check
[testenv:secrets]