File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,7 @@ def tox(self):
266
266
tox_requires .add ("virtualenv!=20.16.0" )
267
267
268
268
self ._ini ["tox" ]["requires" ] = indent_join (sorted (tox_requires ))
269
+ # self._ini["tox"]["toxworkdir"] = "{env:TOX_WORK_DIR:.tox}"
269
270
270
271
def envlists (self ):
271
272
"""
@@ -391,9 +392,11 @@ def testenv_py312_dev(self):
391
392
for fixup_version in ["3.12-dev" , "3.12" , "3.13-dev" ]:
392
393
if fixup_version in self ["python_versions" ]:
393
394
if self ["enable_devmode" ]:
394
- self ._ini [f"testenv:py{ fixup_version .replace ('.' , '' )} " ]["setenv" ] = indent_join (
395
- ("PYTHONDEVMODE=1" , "PIP_DISABLE_PIP_VERSION_CHECK=1" )
396
- )
395
+ env_name = f"testenv:py{ fixup_version .replace ('.' , '' )} "
396
+ if env_name in self ._ini :
397
+ self ._ini [env_name ]["setenv" ] = indent_join (
398
+ ("PYTHONDEVMODE=1" , "PIP_DISABLE_PIP_VERSION_CHECK=1" )
399
+ )
397
400
398
401
for env in third_party_envs :
399
402
env_name = f"testenv:py{ fixup_version .replace ('.' , '' )} -{ env } "
You can’t perform that action at this time.
0 commit comments