Skip to content

Commit 9f5c4ea

Browse files
committed
Remove support for 3.6
1 parent 66d5271 commit 9f5c4ea

10 files changed

+26
-27
lines changed

.readthedocs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ build:
44
image: latest
55

66
python:
7-
version: 3.6
8-
setup_py_install: false
7+
version: 3.8
8+
setup_py_install: false

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ os:
33
dist: bionic
44
language: python
55
python:
6-
- 3.7
76
- 3.8
87
services:
98
- docker

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Please find the complete documentation on our [website](https://www.freqtrade.io
3737

3838
## Features
3939

40-
- [x] **Based on Python 3.6+**: For botting on any operating system - Windows, macOS and Linux.
40+
- [x] **Based on Python 3.7+**: For botting on any operating system - Windows, macOS and Linux.
4141
- [x] **Persistence**: Persistence is achieved through sqlite.
4242
- [x] **Dry-run**: Run the bot without playing money.
4343
- [x] **Backtesting**: Run a simulation of your buy/sell strategy.
@@ -187,7 +187,7 @@ To run this bot we recommend you a cloud instance with a minimum of:
187187

188188
### Software requirements
189189

190-
- [Python 3.6.x](http://docs.python-guide.org/en/latest/starting/installation/)
190+
- [Python 3.7.x](http://docs.python-guide.org/en/latest/starting/installation/)
191191
- [pip](https://pip.pypa.io/en/stable/installing/)
192192
- [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
193193
- [TA-Lib](https://mrjbq7.github.io/ta-lib/install.html)

docs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## Introduction
1616

17-
Freqtrade is a crypto-currency algorithmic trading software developed in python (3.6+) and supported on Windows, macOS and Linux.
17+
Freqtrade is a crypto-currency algorithmic trading software developed in python (3.7+) and supported on Windows, macOS and Linux.
1818

1919
!!! Danger "DISCLAIMER"
2020
This software is for educational purposes only. Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.
@@ -51,7 +51,7 @@ To run this bot we recommend you a linux cloud instance with a minimum of:
5151

5252
Alternatively
5353

54-
- Python 3.6.x
54+
- Python 3.7+
5555
- pip (pip3)
5656
- git
5757
- TA-Lib

docs/installation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Please consider using the prebuilt [docker images](docker.md) to get started qui
1010

1111
Click each one for install guide:
1212

13-
* [Python >= 3.6.x](http://docs.python-guide.org/en/latest/starting/installation/)
13+
* [Python >= 3.7.x](http://docs.python-guide.org/en/latest/starting/installation/)
1414
* [pip](https://pip.pypa.io/en/stable/installing/)
1515
* [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
1616
* [virtualenv](https://virtualenv.pypa.io/en/stable/installation.html) (Recommended)
@@ -34,7 +34,7 @@ The easiest way to install and run Freqtrade is to clone the bot Github reposito
3434
When cloning the repository the default working branch has the name `develop`. This branch contains all last features (can be considered as relatively stable, thanks to automated tests). The `stable` branch contains the code of the last release (done usually once per month on an approximately one week old snapshot of the `develop` branch to prevent packaging bugs, so potentially it's more stable).
3535

3636
!!! Note
37-
Python3.6 or higher and the corresponding `pip` are assumed to be available. The install-script will warn you and stop if that's not the case. `git` is also needed to clone the Freqtrade repository.
37+
Python3.7 or higher and the corresponding `pip` are assumed to be available. The install-script will warn you and stop if that's not the case. `git` is also needed to clone the Freqtrade repository.
3838

3939
This can be achieved with the following commands:
4040

@@ -63,7 +63,7 @@ usage:
6363
** --install **
6464

6565
With this option, the script will install the bot and most dependencies:
66-
You will need to have git and python3.6+ installed beforehand for this to work.
66+
You will need to have git and python3.7+ installed beforehand for this to work.
6767

6868
* Mandatory software as: `ta-lib`
6969
* Setup your virtualenv under `.env/`
@@ -94,7 +94,7 @@ We've included/collected install instructions for Ubuntu, MacOS, and Windows. Th
9494
OS Specific steps are listed first, the [Common](#common) section below is necessary for all systems.
9595

9696
!!! Note
97-
Python3.6 or higher and the corresponding pip are assumed to be available.
97+
Python3.7 or higher and the corresponding pip are assumed to be available.
9898

9999
=== "Ubuntu/Debian"
100100
#### Install necessary dependencies

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
# Required for app
7-
- python>=3.6
7+
- python>=3.7
88
- pip
99
- wheel
1010
- numpy

freqtrade/__main__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
__main__.py for Freqtrade
44
To launch Freqtrade as a module
55
6-
> python -m freqtrade (with Python >= 3.6)
6+
> python -m freqtrade (with Python >= 3.7)
77
"""
88

99
from freqtrade import main

freqtrade/main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010

1111
# check min. python version
12-
if sys.version_info < (3, 6):
13-
sys.exit("Freqtrade requires Python version >= 3.6")
12+
if sys.version_info < (3, 7):
13+
sys.exit("Freqtrade requires Python version >= 3.7")
1414

1515
from freqtrade.commands import Arguments
1616
from freqtrade.exceptions import FreqtradeException, OperationalException

setup.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
from setuptools import setup
44

55

6-
if version_info.major == 3 and version_info.minor < 6 or \
6+
if version_info.major == 3 and version_info.minor < 7 or \
77
version_info.major < 3:
8-
print('Your Python interpreter must be 3.6 or greater!')
8+
print('Your Python interpreter must be 3.7 or greater!')
99
exit(1)
1010

1111
from pathlib import Path # noqa: E402
@@ -109,7 +109,6 @@
109109
'Environment :: Console',
110110
'Intended Audience :: Science/Research',
111111
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
112-
'Programming Language :: Python :: 3.6',
113112
'Programming Language :: Python :: 3.7',
114113
'Programming Language :: Python :: 3.8',
115114
'Operating System :: MacOS',

setup.sh

+10-9
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,25 @@ function check_installed_python() {
2525
return
2626
fi
2727

28-
which python3.7
28+
which python3.9
2929
if [ $? -eq 0 ]; then
30-
echo "using Python 3.7"
31-
PYTHON=python3.7
30+
echo "using Python 3.9"
31+
PYTHON=python3.9
3232
check_installed_pip
3333
return
3434
fi
3535

36-
which python3.6
36+
which python3.7
3737
if [ $? -eq 0 ]; then
38-
echo "using Python 3.6"
39-
PYTHON=python3.6
38+
echo "using Python 3.7"
39+
PYTHON=python3.7
4040
check_installed_pip
4141
return
42-
fi
42+
fi
43+
4344

4445
if [ -z ${PYTHON} ]; then
45-
echo "No usable python found. Please make sure to have python3.6 or python3.7 installed"
46+
echo "No usable python found. Please make sure to have python3.7 or greater installed"
4647
exit 1
4748
fi
4849
}
@@ -302,7 +303,7 @@ function help() {
302303
echo " -p,--plot Install dependencies for Plotting scripts."
303304
}
304305

305-
# Verify if 3.6 or 3.7 is installed
306+
# Verify if 3.7 or 3.8 is installed
306307
check_installed_python
307308

308309
case $* in

0 commit comments

Comments
 (0)