Skip to content

Commit d7b7375

Browse files
committed
Pin the oscrypto unreleased version for the fix for CI Ubuntu 24.04
Signed-off-by: Sergey Vasilyev <[email protected]>
1 parent df0d29e commit d7b7375

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

requirements.txt

+8
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ pytest-mock
2323
pytest-timeout
2424
types-PyYAML
2525
types-setuptools
26+
27+
# Enforce the hotfix for Ubuntu 24.04 in CI. Otherwise, we are stuck in Ubuntu 22.04.
28+
# The bugfix is merged but not released: https://github.com/wbond/oscrypto/issues/78
29+
# Pinning this in the end operators is the decision of the operator developers,
30+
# including the protocols of accessing the repo or vendoring the dependency code.
31+
# This dependency is used ONLY in the dev mode with temporary self-signed CA, ONLY for simplicity.
32+
# In the worst case, configure the operator with a self-signed CA made in the openssl CLI manually.
33+
git+https://github.com/wbond/oscrypto.git@1547f535001ba568b239b8797465536759c742a3

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@
7777
'uvloop>=0.18.0; python_version>="3.12"',
7878
],
7979
'dev': [
80-
'pyngrok', # 1.00 MB + downloaded binary
80+
# NB: oscrypto is pinned for CI in requirements.txt; do the same in your app yourself.
8181
'oscrypto', # 2.80 MB (smaller than cryptography: 8.7 MB)
8282
'certbuilder', # +0.1 MB (2.90 MB if alone)
8383
'certvalidator', # +0.1 MB (2.90 MB if alone)
84+
'pyngrok', # 1.00 MB + downloaded binary
8485
],
8586
},
8687
package_data={"kopf": ["py.typed"]},

0 commit comments

Comments
 (0)