Skip to content

Commit bbe7658

Browse files
committed
fix larray-project#567 : dropped Python 2 support
1 parent f4b2b53 commit bbe7658

File tree

5 files changed

+3
-15
lines changed

5 files changed

+3
-15
lines changed

.travis.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ dist: xenial # required for Python >= 3.7
55
language: python
66

77
python:
8-
- "2.7"
98
- "3.6"
109
- "3.7"
1110

@@ -17,20 +16,12 @@ before_install:
1716
# Install Miniconda
1817
# We do this conditionally because it saves us some downloading if the
1918
# version is the same.
20-
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
21-
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
22-
else
23-
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
24-
fi
19+
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
2520
- bash miniconda.sh -b -p $HOME/miniconda
2621
- export PATH="$HOME/miniconda/bin:$PATH"
2722
- hash -r
2823
- conda config --add channels conda-forge
2924
- conda config --set always_yes yes --set changeps1 no
30-
# workaround for conda >= 4.8
31-
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
32-
pip install tqdm;
33-
fi
3425
- conda update -q conda
3526

3627
# Useful for debugging any issues with conda

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Once you have satisfied the requirements detailed below, simply run::
7373
Required Dependencies
7474
---------------------
7575

76-
- Python 2.7, 3.6 or 3.7
76+
- Python 3.6 or 3.7
7777
- `numpy <http://www.numpy.org/>`__ (1.13 or later)
7878
- `pandas <http://pandas.pydata.org/>`__ (0.20 or later)
7979

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
python:
2-
- 2.7
32
- 3.6
43
- 3.7

doc/source/changes/version_0_33.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Syntax changes
1212
Backward incompatible changes
1313
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1414

15-
* other backward incompatible changes
15+
* dropped support for Python 2 (closes :issue:`567`).
1616

1717

1818
New features

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ def readlocal(fname):
3030
'Intended Audience :: Science/Research',
3131
'Intended Audience :: Developers',
3232
'Programming Language :: Python',
33-
'Programming Language :: Python :: 2',
34-
'Programming Language :: Python :: 2.7',
3533
'Programming Language :: Python :: 3',
3634
'Programming Language :: Python :: 3.6',
3735
'Programming Language :: Python :: 3.7',

0 commit comments

Comments
 (0)