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

Drop support for Python 3.6 (EOL December 2021) #1314

Closed
dennissiemensma opened this issue Mar 3, 2021 · 7 comments
Closed

Drop support for Python 3.6 (EOL December 2021) #1314

dennissiemensma opened this issue Mar 3, 2021 · 7 comments
Labels
backwards-incompatible Backwards incompatible break

Comments

@dennissiemensma
Copy link
Member

It will reach end of life December 2021: https://devguide.python.org/#status-of-python-branches

However, since 3.7, 3.8 and 3.9 have been around for a while, it should be okay to require 3.7+ in the next major DSMR-reader release.

@dennissiemensma dennissiemensma added the backwards-incompatible Backwards incompatible break label Mar 3, 2021
@dennissiemensma dennissiemensma added this to the 5.0 milestone Mar 3, 2021
dennissiemensma added a commit that referenced this issue Mar 4, 2021
@dennissiemensma
Copy link
Member Author

Deprecation uitgebracht in v4.13.

dennissiemensma added a commit that referenced this issue Mar 10, 2021
@dajappie
Copy link

Due to deprecation of Python 3.6 I've upgraded to Python 3.9.2 on my Rpi 3b (stretch). When then upgrading from DSMRreader 4.12 to 4.13 there were errors about Python cryptography. They did not seem to interfere with DSMRreader running when ignored, but to entirely resolve them I had to install Rust before the Python crypto module could be installed. Below commands are sufficient to get rid of all crypto errors during the DSMR upgrade:

sudo su - dsmr
pip install --upgrade pip
curl https://sh.rustup.rs -sSf | sh
. ~/.profile
pip install cryptography
./deploy.sh

@dennissiemensma
Copy link
Member Author

@dajappie bedankt voor je aanvulling. Had je ook de complete virtualenv opnieuw aangemaakt in Python 3.9?

@dajappie
Copy link

Sorry voor de late reply, ja Python nieuw van scratch gecompileerd, oude virtualenv weggegooid en nieuwe aangemaakt. Upgrade naar laatste versie liep gisteren probleemloos met de crypto issue opgelost

@dennissiemensma
Copy link
Member Author

Fijn, dank voor de update! Goed om te weten dat dit dan mogelijk een dingetje gaat worden bij andere gebruikers tzt.

dennissiemensma added a commit that referenced this issue Oct 20, 2021
dennissiemensma added a commit that referenced this issue Oct 21, 2021
@dennissiemensma
Copy link
Member Author

Doorgevoerd in v5 dev branch

@dennissiemensma
Copy link
Member Author

Tevens ondersteuning voor Python 3.10 toegevoegd. Die is begin deze maand uitgebracht en de tests in DSMR-reader lijken er niet door stuk te gaan.

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

No branches or pull requests

2 participants