Skip to content

Commit f5857a9

Browse files
committed
python: cve: use latest cryptography and urllib3
Use: https://raw.githubusercontent.com/openstack/requirements/7d16424510c49daa913fc20a6300427b72522231/upper-constraints.txt as baseline and then change: ``` cryptography: 43.0.3 to 44.0.1 urllib3: 1.26.20 to 2.5.0 ``` Fixes the below pip-audit failures: ``` Found 2 known vulnerabilities in 2 packages ------------ ------- ------------------- ------- cryptography 43.0.3 GHSA-79v4-65xg-pq4g 44.0.1 urllib3 1.26.20 GHSA-pq67-6m6q-mj2v 2.5.0 ``` Change-Id: I4c1994ab7dc27f902aa51ac6945776c23f9ff2fd Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
1 parent b810edb commit f5857a9

File tree

3 files changed

+606
-3
lines changed

3 files changed

+606
-3
lines changed

.github/workflows/cloudbase_init_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Cloudbase-Init tests
22

33
env:
4-
UPPER_CONSTRAINTS: "https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt"
4+
UPPER_CONSTRAINTS: "upper-constraints.txt"
55
TEST_RESOURCES: "https://github.com/cloudbase/cloudbase-init-test-resources"
66
TEST_RESOURCES_BRANCH: "master"
77

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ skipsdist = True
77
usedevelop = True
88
setenv = VIRTUAL_ENV={envdir}
99
deps =
10-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
10+
-c{env:TOX_CONSTRAINTS_FILE:upper-constraints.txt}
1111
-r{toxinidir}/test-requirements.txt
1212
-r{toxinidir}/requirements.txt
1313
commands = stestr run --slowest {posargs}
@@ -31,7 +31,7 @@ commands = {posargs}
3131

3232
[testenv:docs]
3333
deps =
34-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
34+
-c{env:TOX_CONSTRAINTS_FILE:upper-constraints.txt}
3535
-r{toxinidir}/doc/requirements.txt
3636
-egit+https://github.com/openstack/cloudbase-init\#egg=cloudbase-init
3737
commands =

0 commit comments

Comments
 (0)