-
Notifications
You must be signed in to change notification settings - Fork 171
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
Update manual installation instructions for Python 3.10.10 #347
Conversation
numpy 1.21.1 does not officially support python 10. https://numpy.org/doc/stable/release/1.21.1-notes.html My recommendation is to update to 1.21.6 in the requirements.txt file. numpy 1.21.3 added official python 3.10 support. Versions numpy after 1.21.6 has deprecations I did not investigate if they would impact our project. |
TL;DR: ACK TESTED I'm going to run thru step-by-step instructions for manual installation based on this pr on my development rpi2. Will leave my notes here later. re: Grab the python 3.10 source -- and verify it???:
re: configure step -- ran faster for me on rpi2, maybe even faster on rpi4/rpi3/rpi0v2:
re: compile step -- ran faster for me on rpi2, maybe even faster on rpi4/rpi3/rpi0v2:
re: cleanup step -- complained about perms because I used
re: Install dependencies step -- ran faster for me on rpi2:
re: download zbar -- and verify it???:
re: installing zbar, this caught my eye but maybe it's ok:
re: download C library for Broadcom BCM 2835 -- and verify it???
re: installing seedsigner requirements with pip: re: further os modifications cleanup, this caught my eye (see above):
ACK tested Nothing critical failed during my slow step-by-step walkthrough this morning... however the notes above might be interesting for small updates to this pr... up to others to decide that. My seedsigner pi2 board running the manual-installation this morning seems to run fine. All tests passed as well. |
Python 3.10.10 can be possible in SeedSignerOS for sure. Actually SeedSigner OS uses 3.10.4 (https://github.com/buildroot/buildroot/blob/b634d504cb5a0b621f115f36c50a712e85fc8027/package/python3/python3.hash). As soon I get hands on reproducible builds, Python version can be pump at the version you would like to. Keeping in mind other packages support for that Python version as @newtonick commented. (+1) |
In my previous response above, I'd noted "ACK tested" running through an entire "manual installation" based off this pr (see notes if they're useful). In hopes to see this pr merged, so that current users of 0.6.0 who want to recreate a similar environment via "manual installation", I hereby add another "ACK tested" to the same process with the only change being that I did so with python 3.10.4 instead of 3.10.10... so they're both working to me. Good asap with 3.10.4 for current users reading this document. Good for 0.6.1 whenever this dependency gets bumped to 3.10.10 for next release too. |
ACK Tested (ran through entire manual install process) @kdmukai any reason this remains a draft? Also this PR in the seedsigner-os repo includes the python 3.10.10 |
I will finally do a complete build from scratch in the coming days and flip this out of DRAFT if all goes well. |
@@ -316,12 +406,13 @@ sudo systemctl disable networking.service | |||
sudo systemctl disable dphys-swapfile.service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might no longer be needed, service "is masked, ignored" after previously removing it in the "Further OS Modifications" section.
ACK tested, as of commit e64c2dc 35 tests passed, coverage: 59% |
ACK and tested |
SeedSigner OS is currently pulling 3.10.8. But the existing manual installation instructions were leaving python at the Raspi OS's built-in 3.7.x.
Updating instructions here for the most up-to-date 3.10.x and leaving it as a follow-up TODO to make the matching upgrade to the minor version in SeedSigner OS.
Notes:
Misc
Minor cleanup now that the fork of
pyzbar
is controlled by SeedSigner and not me.