joinmarket-clientserver icon indicating copy to clipboard operation
joinmarket-clientserver copied to clipboard

Install fails on Debian 13 (install.sh) ; can not be built due to default Python 3.13.5

Open seamo1 opened this issue 4 months ago • 2 comments

Preparing editable metadata (pyproject.toml) ... done INFO: pip is looking at multiple versions of joinmarket to determine which version is compatible with other requirements. This could take a while. ERROR: Package 'joinmarket' requires a different Python: 3.13.5 not in '<3.13,>=3.8' Joinmarket was not installed. Exiting.

I believe the last Python3 that can be used with JoinMarket is 3.12. Debian 13 comes with Python3.13. The root cause for the install.sh failure is that bencoder.pyx 3.0.1 does not support Python3.13.
It seems there is no newer bencoder: https://github.com/JoinMarket-Org/joinmarket-clientserver/pull/1428

Possible solution is to try Python 3.11 in a virtual environment, as outlined here: https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1787#issuecomment-3077806374

What I did & it worked:
sudo apt-get install libffi-dev https://wiki.debian.org/Python#Installing_from_Source
Installed 3.11 from source, then did: use the altinstall target (as root): "make altinstall"
Then ran: install.sh -p python3.11

seamo1 avatar Aug 31 '25 15:08 seamo1

There is no support for Python 3.13 currently, see #1787.

kristapsk avatar Aug 31 '25 20:08 kristapsk

How about vendoring and patching bencoder.pyx? The package seems pretty much frozen at this point.

  • #1802

3nprob avatar Sep 27 '25 01:09 3nprob