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
How to pre-test RasPiOS 12 [cffi, cryptography, lxml "wheels" for Python 3.11 now exist!] #3526
Comments
Just a how to note, not for general consumption but I thought I would share. |
Did an IIAB install largely complete? (Either way, instructions like this are indeed extremely useful for newcomers.) Related: |
I went with the 'none' version of local_vars as a starting point, installed clean. |
FYI jerryv@box:~ $ apt list python2* |
http://ftp.debian.org/debian/pool/main/p/python2.7/?C=M;O=D
The order is important and are 'dpkg_arch' dependent, that was the reasoning behind my original #3518 having dpkg_arch available for other roles. |
@jvonau mentions at #3535 (comment) :
|
I don't have time to try this but should work:
Might not all be in place yet but post how far you get to. |
@EMG70 would you have time in the coming week, to try the instructions immediately above? |
That’s OK, I will try it this week and let you know. |
Stepping through an upgrade of an older install
That was with iiab already install should be a smaller set on a newly written image |
most of these will not be installed on a fresh image. |
This test box never had kalite installed so no python2 was ever installed http://sprunge.us/M2I5sQ
Looks like they are going to ship python2 |
Bingo libssl3 is being used
|
And it installs too
|
installing ansible might be a pain
Note the -aarch64- in the above suggests that python's pip is using
Lets see where is goes in a few days and see if a python3.11 (cp311) wheel is created for cffi on piwheels |
@jvonau should @EMG70 wait a few days before testing 32-bit RasPiOS ? |
Don't try until there is a new wheel with cp311 within the name in the above url. |
Noted Jerry,Thanks |
Done, 5 months later! 💯 Where CFFI = C Foreign Function Interface @EMG70 let's do a LARGE-sized install onto the latest pre-release of "Raspberry Pi OS 12" (desktop version ideally? or Lite version?) if you have time in the coming 10 days! |
Just FYI if you run
|
CFFI issues persist for @EMG70 on today's new test on "32-bit" (sort of!) RasPiOS 12 Lite: (He should post iiab-diagnostics shortly to give a bit more context!) |
Same issue seems to occur with And @EMG70 also tried booting "32-bit" RasPiOS 12 Lite (pre-release) on his RPi 400 in true 32-bit mode, by doing:
In short, he tried both kinds of boots (32-bit armv7l kernel and 64-bit aarch64 kernel, per #3516) each running on RPi 400, and no luck in either case, even when avoiding PR #3632. CLARIF: each time, he saved the "32-bit" RasPiOS 12 Lite pre-release test OS, using techniques like the following:
A bit more detail in this screenshot below, showing what appears almost immediately as/after scripts/ansible tries to install cryptography 40.0.1 to the new |
FYI @EMG70 and I intend to give "32-bit" RasPiOS 12 (Bookworm) another crack on Friday September 22: Whether or not cffi wheel for Python 3.11 shows improvement here... ? |
Full paste of the latest cffi error on a fresh "32-bit" RasPiOS 12 Lite below — running with a 64-bit kernel in this case — in the hope this helps us & all move the ball forward: OS/Architecture/Prep Details
|
@EMG70 I've posted upstream to make sure we stay on track with RasPiOS12 — as it evolves towards final release / general availability — presumably very quickly now in coming weeks: |
|
@EMG70 just FYI the Calibre-Web install issue on RasPiOS Bookworm (#3642) appears under control now, but might still be further improved as it converges here: So let's test everything we can carefully on/around Friday 2023-10-06 if you have time to help then, as RasPiOS 12 is making big strides behind the scenes, and presumably is now on final approach very soon! |
No problem. I will get in touch a few days before 06/10/23. |
Awesome. ASIDE / lots of grassroots folk are now testing pre-release Raspberry Pi OS Bookworm, so hopefully that means it'll be quite solid when it's released in coming-weeks-or-so — many months after Debian 12 Bookworm itself was released on 2023-06-10:
|
Awesome News: https://piwheels.org just fixed it (lxml 4.9.3 for Python 3.11) today after I pinged them about this failed build! |
Two generally very successful RasPiOS 12/Bookworm pre-release tests — huge thanks to @EMG70. FYI he used graphical desktop versions of RasPiOS in both cases — each tested with a LARGE-sized IIAB install:
There were a few errors like Error: NetworkManager is not running. — in both cases above — when running sudo iiab-network as this fully 32-bit screenshot shows: |
Now that Raspberry Pi OS Bookworm is released (e.g. 64-bit release notes), follow-up is happening on tickets like: |
Install the latest arm64 image of RasPiOS and boot
sudo raspi-config and set the country code for the WiFi and other settings.
Might want to try the NetworkManager option at this time.
Edit: Make the required changes in local_facts.fact and provide a OS.yml file is covered with #3525 not needed now.
Install IIAB as per normal.
The text was updated successfully, but these errors were encountered: