From 349c15d7f5f59463d9afa0bd1cdd17504b9307d6 Mon Sep 17 00:00:00 2001 From: Eli Kogan-Wang Date: Wed, 14 Aug 2024 13:52:19 +0200 Subject: [PATCH] upgrade core dependencies when creating venv --- src/appenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appenv.py b/src/appenv.py index 58974ef..7806dd1 100755 --- a/src/appenv.py +++ b/src/appenv.py @@ -87,7 +87,7 @@ def ensure_venv(target): version = sys.version.split()[0] python_maj_min = ".".join(str(x) for x in sys.version_info[:2]) print("Creating venv ...") - venv.create(target, with_pip=False, symlinks=True) + venv.create(target, with_pip=False, symlinks=True, upgrade_deps=True) try: # This is trying to detect whether we're on a proper Python stdlib