From b3407d49e2837a34ee4b43fde6b90a92f536db05 Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 27 Sep 2024 23:03:38 +0200 Subject: [PATCH 1/2] Vagrant VM: use frozen list of Python packages --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index c1c655ca9..54355942b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -70,7 +70,7 @@ $frontend = <<-SHELL # Install learn deps python3 -m venv /vagrant/venv source /vagrant/venv/bin/activate - pip3 install -r /vagrant/frontend/requirements.txt + pip3 install -r /vagrant/frontend/requirements_frozen.txt # File system: increase number of user watches # Needed for npm @@ -203,7 +203,7 @@ $epub = <<-SHELL # Install learn deps python3 -m venv /vagrant/venv source /vagrant/venv/bin/activate - pip3 install -r /vagrant/frontend/requirements.txt + pip3 install -r /vagrant/frontend/requirements_frozen.txt # File system: increase number of user watches # Needed for npm From 900df442d86098728bb0e351c22d663068f7ab2f Mon Sep 17 00:00:00 2001 From: gusthoff Date: Fri, 27 Sep 2024 23:12:15 +0200 Subject: [PATCH 2/2] GitHub actions: use frozen list of Python packages --- .github/workflows/sphinx-books-tests.js.yml | 2 +- .github/workflows/sphinx-content-tests.js.yml | 2 +- .github/workflows/sphinx-plugin-tests.js.yml | 2 +- .github/workflows/typescript-tests.js.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sphinx-books-tests.js.yml b/.github/workflows/sphinx-books-tests.js.yml index 295805c22..974a383b1 100644 --- a/.github/workflows/sphinx-books-tests.js.yml +++ b/.github/workflows/sphinx-books-tests.js.yml @@ -61,7 +61,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install -r requirements_frozen.txt - name: Run Webpack production run: make cleanall webpack-production - name: Run SPHINX content tests diff --git a/.github/workflows/sphinx-content-tests.js.yml b/.github/workflows/sphinx-content-tests.js.yml index 2b9bff7f8..bf2917345 100644 --- a/.github/workflows/sphinx-content-tests.js.yml +++ b/.github/workflows/sphinx-content-tests.js.yml @@ -50,7 +50,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install -r requirements_frozen.txt - name: Run SPHINX engine tests run: make SPHINXOPTS="-W" test_engine - name: Build HTML content diff --git a/.github/workflows/sphinx-plugin-tests.js.yml b/.github/workflows/sphinx-plugin-tests.js.yml index 22f822ee6..83a00225d 100644 --- a/.github/workflows/sphinx-plugin-tests.js.yml +++ b/.github/workflows/sphinx-plugin-tests.js.yml @@ -43,6 +43,6 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install -r requirements_frozen.txt - name: Test Sphinx Widget Parser Plugin run: make test_parser diff --git a/.github/workflows/typescript-tests.js.yml b/.github/workflows/typescript-tests.js.yml index 87345f4c2..ac7ae3eb7 100644 --- a/.github/workflows/typescript-tests.js.yml +++ b/.github/workflows/typescript-tests.js.yml @@ -55,7 +55,7 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt + pip install -r requirements_frozen.txt - name: Build HTML test pages run: make site-testing - name: Run Typescript tests