Page MenuHomePhabricator

bump minimum python version to 3.9
ClosedPublic

Authored by PiRK on Feb 2 2024, 11:06.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC364cb01e0a6f: bump minimum python version to 3.9
Summary

And remove some compatibility code.

note that Electrum ABC is currently packaged with 3.9.13

Supported Linux operating systems (core#27483):

FreeBSD 12/13 also ships with 3.9
CentOS-like 8/9 also ships with 3.9 (and 3.11)
OpenSuse Leap also ships with 3.9 (and 3.11)

Debian bullseye or newer
Ubuntu 21.04 and newer

Note that it is relatively easy to install python 3.9 on Ubuntu 20.04 with the package manager:
https://tecadmin.net/how-to-install-python-3-9-on-ubuntu-20-04/

Test Plan

ninja check-functional

Check the doc for hmac.digest and concurrent.futures to confirm the API is compatible with python 3.9.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Feb 2 2024, 11:06
Fabien requested changes to this revision.Feb 2 2024, 11:09
Fabien added a subscriber: Fabien.

There are also a min version check in some cmake files

This revision now requires changes to proceed.Feb 2 2024, 11:09
electrum/electrumabc/plugins.py
30 ↗(On Diff #44902)

See https://docs.python.org/3/library/concurrent.html
It never really made sense to import concurrent on its own. This package only has one module: concurrent.futures.

bump the minimum version also in the CMakeLists.txt

This revision is now accepted and ready to land.Feb 2 2024, 12:16
This revision was automatically updated to reflect the committed changes.