Skip to content

Commit

Permalink
Drop support for Python 2.7 (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer Hill committed Jun 11, 2018
1 parent f34e5ac commit 7de3f45
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 37 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Expand Up @@ -6,10 +6,6 @@ notifications:
matrix:
fast_finish: true
include:
- python: 2.7
env: CONDA_ENV=py27
- python: 2.7
env: CONDA_ENV=py27-min
- python: 3.5
env: CONDA_ENV=py35
- python: 3.6
Expand All @@ -21,11 +17,7 @@ matrix:
env: CONDA_ENV=py36-xarray-dev

before_install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
Expand Down
5 changes: 0 additions & 5 deletions appveyor.yml
Expand Up @@ -5,11 +5,6 @@
environment:

matrix:
- PYTHON: "C:\\Python27-conda64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
CONDA_ENV: "py27"

- PYTHON: "C:\\Python35-conda64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
Expand Down
18 changes: 0 additions & 18 deletions ci/environment-py27.yml

This file was deleted.

Expand Up @@ -2,7 +2,7 @@ name: test_env
channels:
- conda-forge
dependencies:
- python=2.7
- python=3.6
- scipy
- netCDF4
- xarray
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Expand Up @@ -7,7 +7,7 @@ Supported platforms
-------------------

- Operating system: Windows, MacOS/Mac OS X, and Linux
- Python: 2.7, 3.5, and 3.6
- Python: 3.5 and 3.6

.. note::

Expand Down
4 changes: 2 additions & 2 deletions docs/whats-new.rst
Expand Up @@ -16,8 +16,8 @@ Breaking Changes
explicit ``east_bound``, ``west_bound``, ``south_bound``, and
``north_bound`` (:pull:`266`). By `Spencer Hill
<https://github.com/spencerahill>`_.
- Drop support for Python 3.4, since our core upstream dependency
xarray is also dropping it as of their 0.11 release (:pull:`255`).
- Drop support for Python 2.7 and 3.4, since our core upstream dependency
xarray is also dropping these soon (:pull:`255`, :pull:`280`).
By `Spencer Hill <https://github.com/spencerahill>`_.
- Deprecate ``Constant`` class and ``constants.py`` module.
Physical constants used internally by aospy are now stored
Expand Down
1 change: 0 additions & 1 deletion setup.py
Expand Up @@ -49,7 +49,6 @@
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down

0 comments on commit 7de3f45

Please sign in to comment.