Skip to content

Commit

Permalink
Merge pull request #92 from mwcraig/drop-appveyor-bump-min-python
Browse files Browse the repository at this point in the history
Drop appveyor in favor of travis and increase minimum python version to 3.6
  • Loading branch information
mwcraig committed Aug 3, 2019
2 parents 6cae16b + 1e56abe commit 7b79a01
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 54 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ matrix:
fast_finish: true

include:
- stage: Initial tests
env: PYTHON_VERSION=3.5 SETUP_CMD='egg_info'
- stage: Initial tests
env: PYTHON_VERSION=3.6 SETUP_CMD='egg_info'
- stage: Initial tests
Expand Down Expand Up @@ -98,11 +96,14 @@ matrix:
# versions of Python, we can vary Python and Numpy versions at the same
# time.

- stage: Comprehensive tests
env: PYTHON_VERSION=3.5 NUMPY_VERSION=1.13
- stage: Comprehensive tests
env: NUMPY_VERSION=1.14

- stage: Comprehensive tests
os: windows
env: SETUP_CMD='test'
PYTHON_VERSION=3.7

# Do a PEP8 test with flake8
- stage: Comprehensive tests
env: MAIN_CMD='flake8 astrowidgets --count' SETUP_CMD=''
Expand Down
48 changes: 0 additions & 48 deletions appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion astrowidgets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# This is the same check as the one at the top of setup.py
import sys

__minimum_python_version__ = "3.5"
__minimum_python_version__ = "3.6"

if sys.version_info < tuple((int(val) for val in __minimum_python_version__.split('.'))):
class UnsupportedPythonError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ install_requires = astropy, ginga, pillow, ipywidgets, ipyevents>=0.4.0
# version should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386)
version = 0.1.0.dev
# Note: you will also need to change this in your package's __init__.py
minimum_python_version = 3.5
minimum_python_version = 3.6

#[entry_points]
#astropy-package-template-example = packagename.example_mod:main

0 comments on commit 7b79a01

Please sign in to comment.