From 537622b11c9ea52fda9d52ede1138a54e147b877 Mon Sep 17 00:00:00 2001 From: Florian Blanchet Date: Sun, 2 Apr 2023 20:13:51 +0300 Subject: [PATCH] fix(venv): upgrade pip to last version after venv creation The project is installed as editable in a virtual environment with pip. Editable installation is supported by pip since 21.3.0. --- incipyt/tools/venv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/incipyt/tools/venv.py b/incipyt/tools/venv.py index 1e1b0461..27ed10a2 100644 --- a/incipyt/tools/venv.py +++ b/incipyt/tools/venv.py @@ -21,3 +21,4 @@ def pre(self, workon): commands.setenv_python_cmd( env_path.resolve() / ("Scripts" if os.name == "nt" else "bin") / "python" ) + commands.pip_install(["pip>=21.3.0"])