Skip to content

Commit 7fc0fe8

Browse files
committed
use venv instead of virtualenv for nox backend
1 parent 45596ea commit 7fc0fe8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535

3636
# Error if a python version is missing
3737
nox.options.error_on_missing_interpreters = True
38+
# Use venv backend which doesn't include bundled setuptools
39+
# for CVE-2025-47273, CVE-2024-6345.
40+
# See https://github.com/python/cpython/issues/135374
41+
nox.options.default_venv_backend = 'venv'
3842

3943
nox.options.sessions = [
4044
"blacken",

0 commit comments

Comments
 (0)