clightning: fix Python packages
Patching `pyln-proto` to use cryptography 38 lets us avoid adding many older Python pkg versions. The backwards incompatible changes from cryptography 36 to 38 only include the removal of deprecated fns that pyln-proto doesn't use. See string "BACKWARDS INCOMPATIBLE" in https://cryptography.io/en/latest/changelog/
This commit is contained in:
parent
d1ef2a6e1e
commit
e4b8e14d3a
2 changed files with 5 additions and 1 deletions
|
|
@ -27,4 +27,8 @@ buildPythonPackage rec {
|
|||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
postUnpack = "sourceRoot=$sourceRoot/contrib/pyln-proto";
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's|cryptography = "^36.0.1"|cryptography = "^38.0.0"|' pyproject.toml
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue