Skip to content

Commit

Permalink
Update Python build dependencies to meet compliance rules (#197)
Browse files Browse the repository at this point in the history
* Update Python build dependencies to meet compliance rules

* Update Python compliance workflow for Safety 2.x

* Update Python compliance workflow for Safety 2.x
  • Loading branch information
Martin Traverse committed Nov 2, 2022
1 parent a43b1fe commit 9b08d26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ jobs:
run: |
mkdir -p build/compliance/python-runtime-safety
cd tracdap-runtime/python
safety check --full-report --not-bare --output ../../build/compliance/python-runtime-safety/python-runtime-safety-report.txt
safety check --full-report --not-bare --json --output ../../build/compliance/python-runtime-safety/python-runtime-safety-report.json
safety check --output text > ../../build/compliance/python-runtime-safety/python-runtime-safety-report.txt
safety check --output json > ../../build/compliance/python-runtime-safety/python-runtime-safety-report.json
- name: License check
run: |
Expand Down
6 changes: 3 additions & 3 deletions tracdap-runtime/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ pyspark >= 2.4.0, < 3.3.0

# Tools for building and packaging the Python runtime

wheel >= 0.35
build >= 0.6
wheel >= 0.37
build >= 0.9
packaging >= 21.3


# Compliance dependencies

pip-licenses >= 3.5.2, < 4.0
safety >= 1.10.3, < 2.0
safety >= 2.3, < 3.0

0 comments on commit 9b08d26

Please sign in to comment.