From ed0117b4b60901bf28b95af614eb10e19b56803a Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Wed, 26 Jul 2023 13:45:51 +0300 Subject: [PATCH] 'pip install --upgrade' to automatically deploy newer requirements --- build_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_docs.py b/build_docs.py index 8f49c3a..571fd9d 100755 --- a/build_docs.py +++ b/build_docs.py @@ -835,7 +835,7 @@ def build_venv(self): venv_path = self.build_root / ("venv-" + self.version.name) run([sys.executable, "-m", "venv", venv_path]) run( - [venv_path / "bin" / "python", "-m", "pip", "install"] + [venv_path / "bin" / "python", "-m", "pip", "install", "--upgrade"] + [self.theme] + self.version.requirements, cwd=self.checkout / "Doc",