Skip to content

Commit bc1780a

Browse files
catalinsymphonybroHeryk
authored andcommitted
Update packages for snyk (finos#381)
* Update packages for snyk * Allow more types of licenses * Upgrade packages flagged by safety check * Add flag to skip checking dev deps * Version increase (cherry picked from commit f182642)
1 parent 60d133f commit bc1780a

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ jobs:
4747
run: poetry install
4848

4949
- name: Export dependencies
50-
run: poetry export -o requirements.txt
50+
run: poetry export -o requirements.txt --only main
5151

5252
- name: Run license checks
5353
run: poetry run liccheck
5454

5555
- name: Run CVE checks
56-
run: poetry run safety check
56+
run: poetry run safety check -r requirements.txt

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ urllib3 = ">=2.5.0,<3"
1919
aiohttp = "^3.12.14"
2020
pyyaml = "^6.0"
2121
PyJWT = "^2.10.0"
22-
cryptography = "^44.0.1"
22+
cryptography = "^46.0.0"
2323
tenacity = "^8.0.1"
2424
defusedxml = "^0.7.1"
2525
docutils = "0.16"
@@ -71,7 +71,9 @@ authorized_licenses = [
7171
"MIT",
7272
"Apache Software",
7373
"Apache-2.0",
74-
"Python Software Foundation"
74+
"Python Software Foundation",
75+
"Apache-2.0 AND MIT",
76+
"PSF-2.0"
7577
]
7678

7779

0 commit comments

Comments
 (0)