-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specter Python 3.10 compatibility; Ubuntu 22.04 has python 3.10 #1686
Comments
These changes https://github.com/cryptoadvance/specter-desktop/compare/master...relativisticelectron:upgrade310?expand=1 together with the |
Great, this might be easier than i expected! I'd suggest to create a Draft PR where we're trying to collect all things necessary to migrate to 3.10. I'll then have "something to work with". I might commit myself or do recommendations on how to get progress there?! There are probably quite some docker-images which will need some refurbishing and migration to 3.10. But almost all of that (apart from the manual build and the push to the repo) can be done in the repo. |
There is another issue when loading wallets
So weird... the embit version was not changed. And I currently do not find what thing was changed in https://github.com/python/cpython/blob/3.10/Lib/hashlib.py compared to https://github.com/python/cpython/blob/3.8/Lib/hashlib.py Possible reason: openssl/openssl#16994 (The openssl version was upgraded to 3.0.2 in ubuntu 22.04) @stepansnigirev : If I understand correctly, ripemd160 was disabled by default in openssl 3. Do you have ideas how embit can handle this reduced functionality in openssl? |
If this is merged successfully, #1635 will also be fixed and allow for new Jade hardware, which requires pyserial 3.5 and hwi 2.1.0 :) thanks @relativisticelectron ; I'm not a python guy so i couldn't figure out for the life of me how to fix the keepkey file |
For the reference: I've created a PR #1693 for migrating to HWI 2.1.0 . Why do we need to do that for python 3.10 ? I would really like to try hard separating the different issues and tackling them separately (and in the right order). I think we're not clear yet about the dependencies here. |
When I try keeping the version of HWI fixed,
|
I'm pretty sure I had that issue too. I believe 3.10 is the required version for HWI. Isn't the current specter python version pinned because the previous HWI required python ^3.9? |
Yes, indeed. forgot about that: This means we need to upgrade HWI before migrating to python 3.10. Sure, we can do some things in parallel, though. |
i need help to solve this below problems. Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
i was install with this sudo apt-get install node-ripemd160 but i still get errors like this below review Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
@Meru852 : While your question is not concerning specter we also encountered that problem. The root cause is that openssl/openssl#16994 removed ripemd160 from openssl3 (which is the default in ubuntu 22.04). A solution is an own implementation of ripemd160 as it was done in diybitcoinhardware/embit#28 (comment) |
Solved by #1688 |
okay thank you very much of your help. |
With Ubuntu 22.04 python 3.10 is now the default. The Readme instructions
are not working. Can Specter be made compatible with python 3.10?
When I set up a conda python 3.10 env and run
pip install -r requirements.txt
I getTo fix the hwi error I use a modified
requirements.in
:I run into the error
This needs to be fixed.
The text was updated successfully, but these errors were encountered: