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

Change Setup.py to use elif statements to avoid doubling requirements #936

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

makermelissa
Copy link
Collaborator

This changes Setup.py to use elif statements to avoid installing both Pi 4 and Pi 5 requirements on Pi 5. This may not fix the problem, but shouldn't break it either.

@makermelissa makermelissa requested a review from a team January 27, 2025 20:50
@makermelissa makermelissa merged commit a124b2a into adafruit:main Jan 29, 2025
1 check passed
@makermelissa
Copy link
Collaborator Author

Looks like it worked!

@jerryneedell
Copy link

jerryneedell commented Jan 30, 2025

FYI -- on a Pi 5, after installing Blinka 8.52.0 (using the script from the guide in a new venv) it seems to work OK, but then if I use pip to install a circuitptyhon library
(I tried both adafruit-circuitpyton rfm9x and adafruit-circuitpython-ticks)
pip reinstalls RPi.GPIO 0.7.1
and the "SOC" failure recurs.
If I then do
pip uninstall rpi.gpio
everything work fine.

Somethting appears to still be amiss with pip and RPI.GPIO

I have also commented in the forum https://forums.adafruit.com/viewtopic.php?p=1044283#p1044283

@makermelissa
Copy link
Collaborator Author

Hmm, that is odd and adds to the mystery. I guess I need to figure out where it's getting that requirement from.

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

Successfully merging this pull request may close these issues.

3 participants