Skip to content

Commit

Permalink
Drop python 2.7 and 3.4 Support and testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-neal committed Jan 20, 2018
1 parent 1e6b518 commit bb74402
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"

before_install:
# http://conda.pydata.org/docs/travis.html
- travis_retry sudo apt-get update
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
travis_retry wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
travis_retry wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- travis_retry 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
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@

Upcoming release:

Simplified oveload operator function.
Simplified overload operator function.

Handle all warnings as errorsin testing.
Handle all warnings as errors in testing.

Fix test parameters to avoid invalid values.

Drop support for python 2.7 due xaxis and flux keywords required with "*,".
Drop testing of python 3.4 also while at it.


0.2.1 14/01/2018
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ I would really appreciate user feedback or suggested improvements if you have an
Feel free to submit issues or create pull requests.


## Python 2.7
Python 2.7 is only supported in versions <0.2.1 (also available on pip) to make use of useful python3 features.


## Other Spectrum Classes

Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Physics',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Natural Language :: English',
Expand Down

0 comments on commit bb74402

Please sign in to comment.