Skip to content

Commit

Permalink
chore(maintenance): add --require-hashes flag to pip installs (#1827)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamorosi authored Dec 20, 2023
1 parent 9444980 commit 50be946
Show file tree
Hide file tree
Showing 6 changed files with 229 additions and 698 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
python-version: "3.11"
- name: Install doc generation dependencies
run: |
pip install -r docs/requirements.txt
pip install --require-hashes -r docs/requirements.txt
- name: Setup doc deploy
run: |
git config --global user.name Docs deploy
Expand Down
6 changes: 3 additions & 3 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM squidfunk/mkdocs-material@sha256:fc42bac0005e79c2b2dd576e72103b06932c30c7b7b455a1f9cd3d39b187d49d
FROM squidfunk/mkdocs-material@sha256:9af3b7e58f88c46d85fd3abfd2a8abad2bd157a8baa5ad8303d43ce0bdf098bb

ADD docker-requirements.txt /tmp/docker-requirements.txt
RUN pip install -r /tmp/docker-requirements.txt
ADD requirements.txt /tmp/
RUN pip install --require-hashes -r /tmp/requirements.txt
223 changes: 0 additions & 223 deletions docs/docker-requirements.txt

This file was deleted.

Loading

0 comments on commit 50be946

Please sign in to comment.