Migration from Python 3.7 to 3.9 gone bad
See original GitHub issueHi guys, I’am in the process of upgrading my project from Python 3.7 to 3.9 but the Luma.oled library is spazzing out… In the attached picture you see a scrolling text. With 3.7 everything works fine but with Python 3.9 the scrolling text is completely broken. Minimal static examples all work.
RPI 3B+
5.4.79-v7+
Version: luma.oled 3.8.1 (luma.core 2.2.0)
Python3.9.1 completely fresh venv
Package Version
-------------------------------- ---------
Adafruit-Blinka 5.9.1
adafruit-circuitpython-bme280 2.5.1
adafruit-circuitpython-bme680 3.3.0
adafruit-circuitpython-busdevice 5.0.1
Adafruit-GPIO 1.0.3
Adafruit-PlatformDetect 2.23.0
Adafruit-PureIO 1.1.8
cbor2 5.2.0
certifi 2020.12.5
chardet 3.0.4
Cython 0.29.21
dbus-python 1.2.16
Deprecated 1.2.10
idna 2.10
luma.core 2.2.0
luma.oled 3.8.1
mock 4.0.3
pi-ina219 1.3.0
pi-rc522 2.2.1
Pillow 8.0.1
pip 20.3.2
pycairo 1.20.0
pyftdi 0.52.0
PyGObject 3.38.0
pyserial 3.5
python-lirc 1.2.3
python-mpv 0.5.2
pyusb 1.1.0
requests 2.25.0
rpi-ws281x 4.2.5
RPi.GPIO 0.7.0
setuptools 49.2.1
smbus2 0.4.0
spidev 3.5
sysv-ipc 1.0.1
urllib3 1.26.2
wheel 0.36.2
wrapt 1.12.1
xmltodict 0.12.0
Expected behaviour
Scrolling text without artifacts. Code can be found here: https://github.com/majuss/wladio/blob/master/radio/display.py
Actual behaviour
Scrolling text with haevy glitches.
The runner example is also broken, if I don’t stretch it across the whole screen.
I will update this issue with my findings.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Is python 3.7 and 3.9 the same? Pls help - Quora
No. Python 3.7 is Python 3.7; Python 3.9 is Python 3.9. They are very similar, but if you go the Python website ...
Read more >Upgrading Python 3.7 to 3.9 on macOS Big Sur - Stack Overflow
I fixed this frustrating error by first removing the Python 3.7 manually, by deleting it from the Applications folder and then uninstalling ...
Read more >Porting Python 2 Code to Python 3 — Python 3.11.1 ...
Once you have your code well-tested you are ready to begin porting your code to Python 3! But to fully understand how your...
Read more >Python 3.8, 3.9 or 3.10 for new projects? - Reddit
You can upgrade as you go. My current project started with python 3.7 but now is using 3.9. ... My bad, maybe I...
Read more >Update Python to the new version 3.9 - Installation
Hello, I have a home assistant on raspbian and I have read that now in the next versions Python 3.7 will no longer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I use a SSD1322 and no same glitches with 7.1.2.
I switched to a Pi 4 and now everything works with Python3.9