Description of problem: Broken dependencies Trying to build a package with a dependency on python3-trezor (included in f30) and I get these errors... """ - nothing provides python-typing-extensions needed by python3-trezor-0.11.2-1.fc30.noarch - nothing provides python3.7dist(construct) >= 2.9 needed by python3-trezor-0.11.2-1.fc30.noarch - nothing provides python3.7dist(pyblake2) >= 0.9.3 needed by python3-trezor-0.11.2-1.fc30.noarch """
Note. Just try to install python3-trezor on Fedora 30: ``` sudo dnf install python3-trezor ``` And you will see the breakage.
> python-typing-extensions This was a typo and have been fixed. > python3.7dist(construct) Fedora 30 ships with a lower version. I hope it is possible to bump the version without causing other packages to fail. > python3.7dist(pyblake2) Python 3.6 and later includes this modules, but we need to make a patch and submit it upstream.
Any chance this will get fixed? It's blocking me from upgrading to F30
It depends on python-construct that have not been updated for f30. Are you able to push python-construct >= 2.9 for f30 Frederik Holden?
(In reply to Jonny Heggheim from comment #4) > It depends on python-construct that have not been updated for f30. Are you > able to push python-construct >= 2.9 for f30 Frederik Holden? You're asking the wrong person, I'm not the packager for that. I'm just on the CC list for this because I use python-trezor.
I'm still dead in the water and can't move beyond Fedora 29 because of this one package... """ - nothing provides python3.7dist(construct) >= 2.9 needed by python3-trezor-0.11.2-2.fc30.noarch - nothing provides python3.7dist(pyblake2) >= 0.9.3 needed by python3-trezor-0.11.2-2.fc30.noarch """
And, of course, the problem persists into Fedora 31 (or should I open another bug?). I am going to bump the version of the OS this applies to. """ - nothing provides python3.7dist(pyblake2) >= 0.9.3 needed by python3-trezor-0.11.2-3.fc31.noarch """
(In reply to Todd Warner from comment #6) > I'm still dead in the water and can't move beyond Fedora 29 because of this > one package... > > """ > - nothing provides python3.7dist(construct) >= 2.9 needed by > python3-trezor-0.11.2-2.fc30.noarch > - nothing provides python3.7dist(pyblake2) >= 0.9.3 needed by > python3-trezor-0.11.2-2.fc30.noarch > """ Thanks for being patience, I will update the stack and try to fix issues this week, I am going to upgrade to Fedora 30 myself.
FEDORA-2019-3c9ce28ded has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3c9ce28ded
FEDORA-2019-843eae9696 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-843eae9696
python-trezor-0.11.4-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-843eae9696
python-trezor-0.11.4-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3c9ce28ded
Depends on 1754684
Can you try https://bodhi.fedoraproject.org/updates/FEDORA-2019-a5919b0faf ? It depends on https://bodhi.fedoraproject.org/updates/FEDORA-2019-500a20bca1 trezorctl will crash because of wrong version of python-construct on f30, but the library should work. I am still waiting for terjeros.no to update python-construct on f30 (bug 1705151).
(In reply to Jonny Heggheim from comment #14) > Can you try https://bodhi.fedoraproject.org/updates/FEDORA-2019-a5919b0faf ? > > It depends on https://bodhi.fedoraproject.org/updates/FEDORA-2019-500a20bca1 > > trezorctl will crash because of wrong version of python-construct on f30, > but the library should work. I am still waiting for terjeros.no to > update python-construct on f30 (bug 1705151). I tested now with that update. - It installs fine - trezorctl crashes (as you predicted) - Electrum can't find the Trezor ("Please insert your Trezor" message appears) - The following simple library test can't find the device either: $ python3 Python 3.7.4 (default, Jul 9 2019, 16:32:37) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import trezorlib.transport >>> trezorlib.transport.enumerate_devices() []
Thanks for testing, I just upgraded to fedora 30, but I did not bring my trezor for travel, so I will not have the possibility to test with real hardware before next week. Could you check that you get the same empty collection when running python3 as root?
(In reply to Jonny Heggheim from comment #16) > Thanks for testing, I just upgraded to fedora 30, but I did not bring my > trezor for travel, so I will not have the possibility to test with real > hardware before next week. > > Could you check that you get the same empty collection when running python3 > as root? Same result when running as root. I also tried installing python3-construct from atim's COPR (https://copr.fedorainfracloud.org/coprs/atim/password-safe/). After installing that trezorctl runs, but neither it nor trezorlib.transport.enumerate_devices() can find any connected devices.
I figured out what the problem was. HidTransport doesn't enable unless python3-hidapi is installed. After installing that, enumerate_devices() manages to find the device just fine, Electrum sees the device, and trezorctl communicates with it if python3-construct is installed. Perhaps python3-hidapi should be added as a dependency?
(In reply to Frederik Holden from comment #18) > I figured out what the problem was. HidTransport doesn't enable unless > python3-hidapi is installed. After installing that, enumerate_devices() > manages to find the device just fine, Electrum sees the device, and > trezorctl communicates with it if python3-construct is installed. Perhaps > python3-hidapi should be added as a dependency? Thanks for finding out the error. For Fedora 29 and lower, python3-hidapi was added as dependency, but it was removed due to the automatic dependency generator, since hidapi was defined as optional by upstream. Will add it back.
FEDORA-2019-88093b8914 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-88093b8914
FEDORA-2019-95346cebe4 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-95346cebe4
Hopefully the last update will work
python-trezor-0.11.5-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-88093b8914
python-trezor-0.11.5-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-95346cebe4
python-trezor-0.11.5-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
python-trezor-0.11.5-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.