Skip to content

Commit d4121d4

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

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: 'Install dependencies'
3030
run: |
3131
pip install --editable .
32-
pip install --require-hashes --requirement /dev/stdin <<< "pdoc==16.0.0 --hash=sha256:070b51de2743b9b1a4e0ab193a06c9e6c12cf4151cf9137656eebb16e8556628"
32+
pip install pdoc==16.0.0
3333
3434
- name: 'Build documentation'
3535
run: 'pdoc --output-directory docs lib'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: '3.12'
2424

2525
- name: 'Install pre-commit'
26-
run: 'pip install --require-hashes --requirement /dev/stdin <<< "pre-commit==4.5.1 --hash=sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77"'
26+
run: 'pip install pre-commit==4.5.1'
2727

2828
- name: 'Run pre-commit autoupdate'
2929
run: 'pre-commit autoupdate'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
python-version: '3.12'
2323

2424
- name: 'Install build tools'
25-
run: 'pip install --require-hashes --requirement /dev/stdin <<< "build==1.4.2 --hash=sha256:7a4d8651ea877cb2a89458b1b198f2e69f536c95e89129dbf5d448045d60db88"'
25+
run: 'pip install build==1.4.2'
2626

2727
- name: 'Build package'
2828
run: 'python -m build'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased]
1010

11+
### Fixed
12+
13+
* Fix `--require-hashes` pip installs in CI workflows by using pinned versions instead
14+
1115
### Added
1216

1317
* Add CONTRIBUTING

0 commit comments

Comments
 (0)