Browse Source

bump min required Python version to 3.8

patch-4
SomberNight 3 years ago
parent
commit
dd2f8541b7
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 12
      .cirrus.yml
  2. 2
      README.rst
  3. 2
      contrib/freeze_packages.sh
  4. 2
      run_electrum
  5. 2
      setup.py

12
.cirrus.yml

@ -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:

2
README.rst

@ -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/

2
contrib/freeze_packages.sh

@ -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

2
run_electrum

@ -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("."))))

2
setup.py

@ -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("."))))

Loading…
Cancel
Save