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

Luma.Core Dropped Support for Python 2 #4

Closed
jfoot opened this issue Dec 10, 2020 · 2 comments · Fixed by #1
Closed

Luma.Core Dropped Support for Python 2 #4

jfoot opened this issue Dec 10, 2020 · 2 comments · Fixed by #1
Assignees
Labels
bug Something isn't working Major Crashes program. Work Planned

Comments

@jfoot
Copy link
Owner

jfoot commented Dec 10, 2020

Describe the bug
The Luma.Core, Luma.OLED and Luma.Emulator Library has now dropped support for Python 2. I must decide if I shall upgrade the programs to Python 3 and investigate their performance metrics. Or update the website instructions to work for Python 2 instead.

Work Around
Instead of the command “sudo -H pip install –upgrade luma.oled” and “sudo pip install luma.emulator”, please can your write the following lines:

sudo pip install luma.core==1.13.0
sudo pip install luma.oled==3.4.0
sudo pip install luma.emulator==1.2.0

To Reproduce
Steps to reproduce the behaviour:

  1. Try to install the libraries and set-up a fresh pi as of November 2020.

Expected behaviour

  1. The libraries all install correctly for Python 2

Screenshots or Error Trace
If applicable, add screenshots to help explain your problem.
image

Program information:

  • Pi Type Pi Zero WH
  • Program All
  • Version NA

Additional context
I plan on fixing this the weekend of the 19th of December.

@jfoot jfoot added bug Something isn't working Major Crashes program. Work Planned labels Dec 10, 2020
@jfoot jfoot self-assigned this Dec 10, 2020
@jfoot
Copy link
Owner Author

jfoot commented Dec 10, 2020

All programs have been updated to Python 3, further testing is needed to check it's performance and stability. The website and documentation will need updating to reflect the changes.

@jfoot jfoot linked a pull request Dec 14, 2020 that will close this issue
@jfoot jfoot pinned this issue Dec 14, 2020
@jfoot
Copy link
Owner Author

jfoot commented Dec 19, 2020

As per the latest release this has now been solved :)

@jfoot jfoot closed this as completed Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Major Crashes program. Work Planned
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant