Closed SomberNight closed 3 years ago
I confirm I can reproduce the issue here. 1.8.1 introduced quite some changes to setup.py
, and it also fails to install.
I think I found it: one of the changes customises install
, which is hence forcibly resolved to distutils
'. But setup
comes from setuptools
, and setuptools/command/install.py
does mention --single-version-externally-managed
.
I changed the imports to pick from setuptools instead, and released as 1.9.1 (after testing on test.pypi.org).
This fixes the issue for me, could you check ?
$ virtualenv vclean
...
$ ./vclean/bin/pip install libusb1==1.9.1 --no-binary :all:
Collecting libusb1==1.9.1
Downloading libusb1-1.9.1.tar.gz (79 kB)
|████████████████████████████████| 79 kB 549 kB/s
Skipping wheel build for libusb1, due to binaries being disabled for it.
Installing collected packages: libusb1
Running setup.py install for libusb1 ... done
Successfully installed libusb1-1.9.1
EDIT: I accidentally a sentence.
Also, just to spread the word, as I see the ping-back from electrum repository: python-libusb1 releases are now cryptographicaly signed. This was the reason of some changes to setup.py
, although not the one which broke the install.
See KEYS for more details. Signature checking is not trivial, and if you want to properly check that only authorized keys signed a release and not just any key you trust, you have to create one gpg keyring per package... But it's probably better than nothing.
This fixes the issue for me, could you check ?
Works for me too. Thanks!
python-libusb1 releases are now cryptographicaly signed
Great; good to know. We will consider validating them.
I can't install libusb1 version 1.9 from sdist -- version 1.8 works. Any idea what is going on?