Skip to content

Commit b8a3068

Browse files
committed
fix(ci): replace --require-hashes with pinned versions for pip installs
1 parent b96cb54 commit b8a3068

7 files changed

Lines changed: 4 additions & 753 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python-version: '3.12'
3333

3434
- name: 'Install dependencies'
35-
run: 'pip install --require-hashes --requirement docs-requirements.txt'
35+
run: 'pip install mkdocs==1.6.1 mkdocs-material==9.7.6'
3636

3737
- name: 'Generate docs structure'
3838
run: 'python3 tools/build-docs'

.github/workflows/lf-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: 'Install Ansible Builder'
7272
run: |
7373
python3 -m pip install --upgrade pip
74-
pip install --require-hashes --requirement build-requirements.txt
74+
pip install ansible-builder==3.1.1
7575
7676
- name: 'Strip badges from README.md (not rendered correctly on Galaxy)'
7777
run: |

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python-version: '3.12'
2929

3030
- name: 'Install pre-commit'
31-
run: 'pip install --require-hashes --requirement pre-commit-requirements.txt'
31+
run: 'pip install pre-commit==4.5.1'
3232

3333
- name: 'Run pre-commit autoupdate'
3434
run: 'pre-commit autoupdate'

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212

1313
### Fixed
1414

15-
* **ci**: Fix `--require-hashes` pip installs by providing complete requirements files with all transitive dependencies pinned
15+
* **ci**: Fix pip installs by replacing `--require-hashes` with pinned versions to allow Dependabot updates
1616
* **role:mount**: Fix `when` condition for NFS/CIFS client package installation failing with multiple mounts and when `state` key is undefined
1717

1818
### Changed

build-requirements.txt

Lines changed: 0 additions & 231 deletions
This file was deleted.

docs-requirements.txt

Lines changed: 0 additions & 411 deletions
This file was deleted.

pre-commit-requirements.txt

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)