diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-07-09 13:57:54 +0200 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-07-09 13:59:26 +0200 |
commit | df2c9e8b56f21f15597efc1111e809ca12311a5c (patch) | |
tree | 497f1810a7829947cfc508a714ddd5e9fd739b8b | |
parent | 5db56adcd2a2e09fe576777f4812d429ec42dd6c (diff) | |
download | jsonschema-df2c9e8b56f21f15597efc1111e809ca12311a5c.tar.gz |
Install with --in-tree-build in the tox.ini.
Follows pip's warning message advice, which recommends
trying this option because out-of-tree builds will be
removed.
See: pypa/pip#7555
-rw-r--r-- | tox.ini | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -22,9 +22,11 @@ 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]' + + # Remove once pypa/pip#7555 is closed. + noextra: {envpython} -m pip install --use-feature=in-tree-build {toxinidir} + format,perf: {envpython} -m pip install --use-feature=in-tree-build '{toxinidir}[format]' + format_nongpl: {envpython} -m pip install --use-feature=in-tree-build '{toxinidir}[format_nongpl]' tests,coverage,codecov: {envpython} -m {env:MAYBE_COVERAGE:} twisted.trial {posargs:jsonschema} tests: {envpython} -m doctest {toxinidir}/README.rst @@ -67,7 +69,10 @@ commands = deps = safety commands = {envpython} -m pip install 'pip>=21.1.1' # Evade CVE-2021-28363 - {envpython} -m pip install '{toxinidir}[format]' + + # Remove once pypa/pip#7555 is closed. + {envpython} -m pip install --use-feature=in-tree-build '{toxinidir}[format]' + {envpython} -m safety check [testenv:secrets] |