forked from secure-systems-lab/securesystemslib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise requirements and dependency monitoring (WIP) [skip CI]
TODO: - Add Dependabot badge - Compare to theupdateframework/python-tuf#982 and in-toto/in-toto#294 - Grep for renames - Create commits
- Loading branch information
Showing
11 changed files
with
67 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Install securesystemslib in editable mode with all runtime and test | ||
# requirements for local testing with tox, and also for the running test suite | ||
# or individual tests manually | ||
tox | ||
-r requirements.txt | ||
-r requirements-test.txt | ||
-e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Minimal runtime requirements (see 'install_requires' in setup.py) | ||
six | ||
python-dateutil | ||
subprocess32; python_version < '3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cffi==1.14.0 # via cryptography, pynacl | ||
colorama==0.4.3 | ||
cryptography==2.8 | ||
enum34==1.1.6 ; python_version < "3" # via cryptography | ||
ipaddress==1.0.23 ; python_version < "3" # via cryptography | ||
pycparser==2.19 # via cffi | ||
pynacl==1.3.0 | ||
python-dateutil==2.8.1 | ||
six==1.14.0 | ||
subprocess32==3.5.4 ; python_version < "3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# test runtime dependencies (see 'tests_require' field in setup.py) | ||
mock; python_version < "3.3" | ||
|
||
# additional test tools | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,39 @@ | ||
# All runtime requirements including extras (see 'install_requires' and | ||
# 'extras_require' in setup.py) | ||
# | ||
# This file together with 'pip-compile' is used to generate a pinned | ||
# requirements file with all immediate and transitive dependencies. | ||
# | ||
# 'requirements-pinned.txt' is updated on GitHub with Dependabot, which | ||
# triggers CI/CD builds to automatically test against updated dependencies. | ||
# | ||
# Below instructions can be used to re-generate 'requirements-pinned.txt', e.g. | ||
# if: | ||
# - requirements are added or removed from this file | ||
# - Python version support is changed | ||
# - CI/CD build breaks due to updates (e.g. transitive dependency conflicts) | ||
# | ||
# 1. Use this script to create a pinned requirements file for each Python | ||
# version | ||
# ``` | ||
# for v in 2.7 3.5 3.6 3.7 3.8; do | ||
# mkvirtualenv sslib-env-${v} -p python${v}; | ||
# pip install pip-tools; | ||
# pip-compile --no-header -o requirements-${v}.txt requirements.txt; | ||
# deactivate; | ||
# rmvirtualenv sslib-env-${v}; | ||
# done; | ||
# | ||
# ``` | ||
# 2. Use this command to merge per-version files | ||
# `sort -o requirements-pinned.txt -u requirements-?.?.txt` | ||
# 2. Manually add environment markers to requirements-pinned.txt | ||
# 3. Use this command to remove per-version files | ||
# `rm requirements-?.?.txt` | ||
# | ||
cryptography | ||
pynacl | ||
six | ||
colorama | ||
six | ||
python-dateutil | ||
subprocess32; python_version < '3' | ||
subprocess32 ; python_version < '3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters