Skip to content

Commit e5547e7

Browse files
committed
workflows: Fix the spec version check
I removed all instances of "pip install -e ." from our scripts in 4e889e7 since installing python-tuf is no longer needed (PWD is in python import paths already). This is a different case though since here we don't install dependencies separately and importing python-tuf still requires securesystemslib: Let's install the dependencies. Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 43221a9 commit e5547e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/specification-version-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
python-version: "3.x"
2121
- id: get-version
2222
run: |
23+
python3 -m pip install -r requirements/pinned.txt
2324
script="from tuf.api.metadata import SPECIFICATION_VERSION; \
2425
print(f\"v{'.'.join(SPECIFICATION_VERSION)}\")"
2526
ver=$(python3 -c "$script")

0 commit comments

Comments
 (0)