mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
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 <jkukkonen@google.com>
This commit is contained in:
parent
ec81bfa0b1
commit
4e889e7212
3 changed files with 0 additions and 10 deletions
|
|
@ -20,7 +20,6 @@ jobs:
|
|||
python-version: "3.x"
|
||||
- id: get-version
|
||||
run: |
|
||||
python3 -m pip install -e .
|
||||
script="from tuf.api.metadata import SPECIFICATION_VERSION; \
|
||||
print(f\"v{'.'.join(SPECIFICATION_VERSION)}\")"
|
||||
ver=$(python3 -c "$script")
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
# Install tuf in editable mode and requirements for local testing with tox,
|
||||
# and also for running test suite or individual tests manually.
|
||||
# The build and tox versions specified here are also used as constraints
|
||||
# during CI and CD Github workflows
|
||||
-r build.txt
|
||||
-r test.txt
|
||||
-r lint.txt
|
||||
-e .
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -16,9 +16,6 @@ commands =
|
|||
|
||||
deps =
|
||||
-r{toxinidir}/requirements/test.txt
|
||||
# Install TUF in editable mode, instead of tox default virtual environment
|
||||
# installation (see `skipsdist`), to get relative paths in coverage reports
|
||||
--editable {toxinidir}
|
||||
|
||||
install_command = python3 -m pip install {opts} {packages}
|
||||
|
||||
|
|
@ -38,7 +35,6 @@ commands =
|
|||
[testenv:lint]
|
||||
deps =
|
||||
-r{toxinidir}/requirements/lint.txt
|
||||
--editable {toxinidir}
|
||||
lint_dirs = tuf examples tests verify_release .github/scripts
|
||||
passenv = RUFF_OUTPUT_FORMAT
|
||||
commands =
|
||||
|
|
|
|||
Loading…
Reference in a new issue