Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 276200f

Browse files
committed
dev env: Stop installing tuf as "editable"
This was likely only necessary because the test suite required it: Now tuf does not get installed at all by tox (or by dev install) Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 42e2cb5 commit 276200f

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
python-version: "3.x"
2121
- id: get-version
2222
run: |
23-
python3 -m pip install -e .
2423
script="from tuf.api.metadata import SPECIFICATION_VERSION; \
2524
print(f\"v{'.'.join(SPECIFICATION_VERSION)}\")"
2625
ver=$(python3 -c "$script")

requirements/dev.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# Install tuf in editable mode and requirements for local testing with tox,
2-
# and also for running test suite or individual tests manually.
3-
# The build and tox versions specified here are also used as constraints
4-
# during CI and CD Github workflows
51
-r build.txt
62
-r test.txt
73
-r lint.txt
8-
-e .

tox.ini

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ commands =
1616

1717
deps =
1818
-r{toxinidir}/requirements/test.txt
19-
# Install TUF in editable mode, instead of tox default virtual environment
20-
# installation (see `skipsdist`), to get relative paths in coverage reports
21-
--editable {toxinidir}
2219

2320
install_command = python3 -m pip install {opts} {packages}
2421

@@ -38,7 +35,6 @@ commands =
3835
[testenv:lint]
3936
deps =
4037
-r{toxinidir}/requirements/lint.txt
41-
--editable {toxinidir}
4238
lint_dirs = tuf examples tests verify_release .github/scripts
4339
passenv = RUFF_OUTPUT_FORMAT
4440
commands =

0 commit comments

Comments
 (0)