Package: astroplan / 0.2-5

Metadata

Package Version Patches format
astroplan 0.2-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
use_system_astropy_helpers | (download)

setup.cfg | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable embedded astropy_helpers

fix_invalid_indices | (download)

astroplan/observer.py | 6 3 + 3 - 0 !
astroplan/scheduling.py | 2 1 + 1 - 0 !
2 files changed, 4 insertions(+), 4 deletions(-)

 fix issues with non-integer indices

pull 281 Use mock machinery for remote data none.patch | (download)

astroplan/conftest.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 pull/281: use mock machinery for remote-data='none'

Remote data got values in astropy 1.3, thus we need to check for that
and use the mock machinery if remote-data='none'

This solves most of the issues we see with astropy stable here #278 #263

URL: https://github.com/astropy/astroplan/pull/281

pull 274 Stop recognizing scalar SkyCoord objects as vect.patch | (download)

astroplan/observer.py | 22 8 + 14 - 0 !
1 file changed, 8 insertions(+), 14 deletions(-)

 pull/274: stop recognizing scalar skycoord objects as vectors

SkyCoords recently (new in astropy 1.3, from astropy/astropy#5254) got
an iter attribute inherited from ShapedLikeNDArray, so it's not enough
any more to check for the existence of that attribute to distinguish
vectors from scalars.

This PR should fix the issue while also gets rid of 19 test failures
against astropy dev.

URL: https://github.com/astropy/astroplan/pull/274

pull 273 Change to use new SkyCoord prints.patch | (download)

astroplan/target.py | 10 8 + 2 - 0 !
1 file changed, 8 insertions(+), 2 deletions(-)

 pull/273: change to use new skycoord prints

Numpy 1.12 will have a new array printing style, thus the SkyCoord
changed its in astropy version 1.3 in astropy/astropy#5423. This PR
fixes the docstring examples to use the new style, and skip running
doctest with older astropy versions.

URL: https://github.com/astropy/astroplan/pull/273

issues 282 Fix more test failures in astroplan.patch | (download)

astroplan/observer.py | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 issues/282: fix more test failures in astroplan

I tried to spend some time today looking at this. I applied #273 #274
and #281 after which there were still 6 outstanding errors. Applying
the following reduces that to 3 errors, all in test_scheduling.py and
all consistent with the error @olebole pointed out in
astropy. Everything else I tried seemed to point to that error in
astropy rather than in astroplan, but I could be wrong.

pull 285 Fix broadcasting.patch | (download)

astroplan/constraints.py | 4 2 + 2 - 0 !
astroplan/observer.py | 465 224 + 241 - 0 !
astroplan/target.py | 76 75 + 1 - 0 !
astroplan/tests/test_target.py | 43 41 + 2 - 0 !
setup.py | 2 1 + 1 - 0 !
5 files changed, 343 insertions(+), 247 deletions(-)

 fix the broadcasting issue, that caused tests to fail.
 The patch comes from https://github.com/astropy/astroplan/pull/285.