Skip to content
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

Closed Issue: revert to using pip for ansible on 32bit RasPiOS [& ongoing issues w/ wheels, cryptography, rust] #3459

Merged
merged 1 commit into from
Jan 7, 2023

Conversation

jvonau
Copy link
Contributor

@jvonau jvonau commented Jan 7, 2023

Fixes bug:

Stops polluting /etc/apt/sources.list.d/ and /usr/share/keyrings/ with files that are never used to install ansible while using "pip3 install". ie Ubuntu and RasPiOS-64bit

Description of changes proposed in this pull request:

Restores "pip3 install" for RasPiOS-32-bit

Smoke-tested on which OS or OS's:

Ref: Slimmed down version of #3456

@jvonau jvonau changed the title revert to using pip for ansible on 32bit RaspOS revert to using pip for ansible on 32bit RasPiOS Jan 7, 2023
@holta holta merged commit 616efbe into iiab:master Jan 7, 2023
@holta
Copy link
Member

holta commented Jan 7, 2023

ASIDE: RasPiOS will probably fix its 32-bit problems in coming months if not in coming weeks. Background here:

@holta holta added this to the 8.1 milestone Jan 7, 2023
@jvonau
Copy link
Contributor Author

jvonau commented Jan 11, 2023

@holta
Copy link
Member

holta commented Jan 11, 2023

Ref: https://www.piwheels.org/project/cryptography/

Screenshot just for the record:

image

Recap: This PR uses pip3 install cryptography==37.0.4 which seems fine for now.

@holta
Copy link
Member

holta commented Feb 8, 2023

@holta
Copy link
Member

holta commented Mar 17, 2023

The latest colorful chart at https://www.piwheels.org/project/cryptography/ suggests IIAB should probably... transition from cryptography 37.0.4 (2022-07-05) to 39.0.2 (2023-03-02).

@jvonau
Copy link
Contributor Author

jvonau commented Mar 17, 2023

Just remove the pinned versioning now that the upstream rust tool chain is corrected.

@holta
Copy link
Member

holta commented Mar 17, 2023

Just remove the pinned versioning now that the upstream rust tool chain is corrected.

Definitely.

Or perhaps eliminate it entirely — e.g. if the PR below was tested on 32-bit RasPiOS to not need pip install cryptography at all?

@holta
Copy link
Member

holta commented Apr 22, 2023

2 bits of bad news just for the record:

  1. Latest screenshot from https://www.piwheels.org/project/cryptography/ indicates cryptography 40.0.2 (released 2023-04-14) fails on both Debian 10 (Buster) and 11 (Bullseye):

    image

  2. "any wheels built with Rust will only work on Pi 2/3/4 not 1/Zero" for now... possibly 32-bit ARM issues might never be fully resolved in a stable way... as the world increasingly focuses on 64-bit:

@holta holta changed the title revert to using pip for ansible on 32bit RasPiOS revert to using pip for ansible on 32bit RasPiOS [& ongoing issues w/ wheels, cryptography, rust] Apr 22, 2023
@jvonau
Copy link
Contributor Author

jvonau commented Apr 23, 2023

2 bits of bad news just for the record:

1. Latest screenshot from https://www.piwheels.org/project/cryptography/ indicates cryptography 40.0.2 (released 2023-04-14) fails on both Debian 10 (Buster) and 11 (Bullseye):
   ![image](https://user-images.githubusercontent.com/2458907/233806443-fd7f00bd-a25e-4eeb-95b9-99e45526df70.png)

Debian-10 is unsupported so why mention it and just pin the version if need be, I showed you how to do that. Not the fault of this project that the wheel is unavailable could install the rust toolchain and build the package from scratch but would add greatly to the install time.

2. "any wheels built with Rust will only work on Pi 2/3/4 not 1/Zero" for now... possibly 32-bit ARM issues might never be fully resolved in a stable way... as the world increasingly focuses on 64-bit:
   
   * [Install rustup as piwheels user piwheels/piwheels#328 (comment)](https://github.com/piwheels/piwheels/pull/328#issuecomment-1518606329)
   * [Problem with package: cryptography Illegal Instruction on armv6 piwheels/packages#348](https://github.com/piwheels/packages/issues/348)

Told you the switch to the arm64 kernel is going to hurt a pile of workflows

@jvonau jvonau changed the title revert to using pip for ansible on 32bit RasPiOS [& ongoing issues w/ wheels, cryptography, rust] Closed issue revert to using pip for ansible on 32bit RasPiOS [& ongoing issues w/ wheels, cryptography, rust] Apr 23, 2023
@jvonau jvonau changed the title Closed issue revert to using pip for ansible on 32bit RasPiOS [& ongoing issues w/ wheels, cryptography, rust] Closed Issue: revert to using pip for ansible on 32bit RasPiOS [& ongoing issues w/ wheels, cryptography, rust] Apr 23, 2023
@holta
Copy link
Member

holta commented Jun 9, 2023

Just FYI 2 new piwheels releases (41.0.0 and 41.0.1) failed ~10 days ago:

image

https://www.piwheels.org/project/cryptography/

@holta
Copy link
Member

holta commented Sep 9, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants