python-packages/joinmarket: update

- Add `doCheck = false` and `pythonImportsCheck` where appropriate.
  This is good practice in general, but specifically works around a
  `buildPythonPackage` bug where the test phase fails due to a
  requirements check that is unrelated to testing.

- Enable tests for `jmbitcoin`.

- Patch some requirements. I've checked the release notes of the
  required deps for backwards compatibility.
This commit is contained in:
Erik Arvstedt 2023-12-02 23:26:56 +01:00
parent de51f20ccb
commit dc1033f1c8
No known key found for this signature in database
GPG key ID: 33312B944DD97846
7 changed files with 71 additions and 72 deletions

View file

@ -6,12 +6,19 @@ buildPythonPackage rec {
postUnpack = "sourceRoot=$sourceRoot/jmbase";
propagatedBuildInputs = [ future twisted service-identity chromalog txtorcon pyaes ];
patchPhase = ''
sed -i 's|twisted==22.4.0|twisted==22.10.0|' setup.py
sed -i 's|twisted==22.4.0|twisted==23.8.0|' setup.py
sed -i 's|service-identity==21.1.0|service-identity==23.1.0|' setup.py
'';
propagatedBuildInputs = [ future twisted service-identity chromalog txtorcon pyaes ];
# Has no tests
doCheck = false;
pythonImportsCheck = [
"jmbase"
];
meta = with lib; {
homepage = "https://github.com/Joinmarket-Org/joinmarket-clientserver";