1
0

bump min required Python version to 3.8

This commit is contained in:
SomberNight
2022-02-08 12:43:04 +01:00
parent f02e3b9d99
commit dd2f8541b7
5 changed files with 9 additions and 11 deletions

View File

@@ -10,14 +10,12 @@ task:
TOXENV: py3
ELECTRUM_PYTHON_NAME: python3
matrix:
- env:
ELECTRUM_PYTHON_VERSION: 3.6
- env:
ELECTRUM_PYTHON_VERSION: 3.7
- env:
ELECTRUM_PYTHON_VERSION: 3.8
- env:
ELECTRUM_PYTHON_VERSION: 3.9
- env:
ELECTRUM_PYTHON_VERSION: 3.10
- env:
ELECTRUM_PYTHON_VERSION: 3
- env:
@@ -80,7 +78,7 @@ task:
locale_script:
- contrib/push_locale
env:
ELECTRUM_IMAGE: python:3.7
ELECTRUM_IMAGE: python:3.8
ELECTRUM_REQUIREMENTS_CI: contrib/requirements/requirements-travis.txt
# in addition, crowdin_api_key is set as an "override" in https://cirrus-ci.com/settings/...
depends_on:
@@ -146,7 +144,7 @@ task:
flake8_script:
- flake8 . --count --select=$ELECTRUM_LINTERS --show-source --statistics
env:
ELECTRUM_IMAGE: python:3.7
ELECTRUM_IMAGE: python:3.8
ELECTRUM_REQUIREMENTS: contrib/requirements/requirements.txt
matrix:
- name: Flake8 Mandatory
@@ -223,7 +221,7 @@ task:
task:
name: Submodules
container:
image: python:3.7
image: python:3.8
cpu: 1
memory: 1G
fetch_script:

View File

@@ -5,7 +5,7 @@ Electrum - Lightweight Bitcoin client
Licence: MIT Licence
Author: Thomas Voegtlin
Language: Python (>= 3.6)
Language: Python (>= 3.8)
Homepage: https://electrum.org/

View File

@@ -8,7 +8,7 @@ contrib=$(dirname "$0")
# note: we should not use a higher version of python than what the binaries bundle
if [[ ! "$SYSTEM_PYTHON" ]] ; then
SYSTEM_PYTHON=$(which python3.6) || printf ""
SYSTEM_PYTHON=$(which python3.8) || printf ""
else
SYSTEM_PYTHON=$(which $SYSTEM_PYTHON) || printf ""
fi

View File

@@ -27,7 +27,7 @@ import os
import sys
MIN_PYTHON_VERSION = "3.6.1" # FIXME duplicated from setup.py
MIN_PYTHON_VERSION = "3.8.0" # FIXME duplicated from setup.py
_min_python_version_tuple = tuple(map(int, (MIN_PYTHON_VERSION.split("."))))

View File

@@ -12,7 +12,7 @@ import subprocess
from setuptools import setup, find_packages
from setuptools.command.install import install
MIN_PYTHON_VERSION = "3.6.1"
MIN_PYTHON_VERSION = "3.8.0"
_min_python_version_tuple = tuple(map(int, (MIN_PYTHON_VERSION.split("."))))