Skip to content

Commit b2ff166

Browse files
committed
dev: update venvstarter
1 parent 9e1c676 commit b2ff166

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/bootstrap_venvstarter.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@
88
deps_dir.mkdir()
99

1010
if not (deps_dir / "venvstarter.py").exists():
11+
if "PIP_REQUIRE_VIRTUALENV" in os.environ:
12+
del os.environ["PIP_REQUIRE_VIRTUALENV"]
1113
os.system(f"{sys.executable} -m pip install venvstarter -t {deps_dir}")
1214

15+
sys.path.append(str(deps_dir))
1316
venvstarter_module = runpy.run_path(str(deps_dir / "venvstarter.py"))
17+
sys.path.pop()
1418

15-
wanted_version = "0.12.1"
19+
wanted_version = "0.12.2"
1620

1721
upgrade = False
1822
VERSION = venvstarter_module.get("VERSION")

0 commit comments

Comments
 (0)