python313Packages.virtualenv-clone: fix tests (#404248)
This commit is contained in:
@@ -20,11 +20,11 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/__init__.py \
|
||||
--replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'" \
|
||||
--replace "'3.9', '3.10']" "'3.9', '3.10', '3.11', '3.12']" # if the Python version used isn't in this list, tests fail
|
||||
--replace-fail "'virtualenv'" "'${virtualenv}/bin/virtualenv'" \
|
||||
--replace-fail "'3.9', '3.10']" "'3.9', '3.10', '3.11', '3.12', '3.13']" # if the Python version used isn't in this list, tests fail
|
||||
|
||||
substituteInPlace tests/test_virtualenv_sys.py \
|
||||
--replace "'virtualenv'" "'${virtualenv}/bin/virtualenv'"
|
||||
--replace-fail "'virtualenv'" "'${virtualenv}/bin/virtualenv'"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ virtualenv ];
|
||||
|
||||
Reference in New Issue
Block a user