Skip to content

Commit

Permalink
Merge pull request #783 from larrybradley/travis
Browse files Browse the repository at this point in the history
Require numpy >= 1.11
  • Loading branch information
larrybradley authored Dec 11, 2018
2 parents ba9f7d2 + f6f52a4 commit fc4f9b7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 17 deletions.
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,25 +90,26 @@ matrix:
env: ASTROPY_VERSION=development
EVENT_TYPE='pull_request push cron'

# Test with Astropy LTS version and the latest Python
# Test with Astropy LTS version and older numpy versions
# astropy >= 3.1 requires numpy >= 1.13
- stage: Comprehensive tests
env: ASTROPY_VERSION=lts
EVENT_TYPE='pull_request push cron'
NUMPY_VERSION=1.13
env: PYTHON_VERSION=3.5
NUMPY_VERSION=1.11
ASTROPY_VERSION=lts
PIP_DEPENDENCIES='pytest<3.10'

# Test with other Python and numpy versions
- stage: Comprehensive tests
env: PYTHON_VERSION=3.7

- stage: Comprehensive tests
env: PYTHON_VERSION=3.5 NUMPY_VERSION=1.10
env: NUMPY_VERSION=1.12 ASTROPY_VERSION=lts
PIP_DEPENDENCIES='pytest<3.10'

- stage: Comprehensive tests
env: NUMPY_VERSION=1.11
env: NUMPY_VERSION=1.13 ASTROPY_VERSION=lts
PIP_DEPENDENCIES='pytest<3.10'
EVENT_TYPE='pull_request push cron'

# Test with other Python and numpy versions
- stage: Comprehensive tests
env: NUMPY_VERSION=1.12
env: PYTHON_VERSION=3.7

# Test with numpy pre-release version
- stage: Comprehensive tests
Expand Down
14 changes: 10 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
0.6 (unreleased)
----------------

General
^^^^^^^

- Versions of Numpy <1.11 are no longer supported. [#783]

New Features
^^^^^^^^^^^^

Expand All @@ -18,13 +23,18 @@ New Features

- ``photutils.psf``

- The ``Star``, ``Stars``, and ``LinkedStars`` classes are now
deprecated and have been renamed ``EPSFStar``, ``EPSFStars``, and
``LinkedEPSFStars``, respectively. [#727]

- Added a ``GriddedPSFModel`` class for spatially-dependent PSFs.
[#772]

- The ``pixel_scale`` keyword in ``EPSFStar``, ``EPSFBuilder`` and
``EPSFModel`` is now deprecated. Use the ``oversampling`` keyword
instead. [#780]


API changes
^^^^^^^^^^^

Expand All @@ -43,10 +53,6 @@ API changes

- ``photutils.psf``

- The ``Star``, ``Stars``, and ``LinkedStars`` classes are now
deprecated and have been renamed ``EPSFStar``, ``EPSFStars``, and
``LinkedEPSFStars``, respectively. [#727]

- The ``photutils.psf.funcs.py`` module was renamed
``photutils.psf.utils.py``. The ``prepare_psf_model`` and
``get_grouped_psf_model`` functions were also moved to this new
Expand Down
2 changes: 1 addition & 1 deletion photutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import sys

__minimum_python_version__ = '3.5'
__minimum_numpy_version__ = '1.10'
__minimum_numpy_version__ = '1.11'


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 @@ -35,6 +35,6 @@ install_requires = astropy
version = 0.6.dev
# Note: these versions also need to be defined in the package __init__.py
minimum_python_version = 3.5
minimum_numpy_version = 1.10
minimum_numpy_version = 1.11

[entry_points]

0 comments on commit fc4f9b7

Please sign in to comment.