You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in astropy/astropy#5651 with @bsipocz and @ViviCoder (Debian maintainer of astroplan), astroplan still fails in a number of tests with astropy 1.3, even with some necessary patches added. This makes astroplan currently unsuitable for the upcoming Debian Stretch release, which will include astropy 1.3 (with bug fixes).
Is there any chance to get the astroplan failures fixed in the next days? Then we could release Debian Stretch including astroplan, which would be quite nice.
There's some discussion under other the issues already, e.g. #263 or #278. Basically only one incompatibility is remained to be fixed (the broadcasting issue). I'm not sure whether @bmorris3 has the time to merge the current PRs and work on the remaining issue and do a release.
Oops, I see that this mainly duplicates #263 -- this is, however since the caption of #263 is misleading. I thought (from the date the issue was opened) that "stable" means the previous astropy version (1.2), so I didn't check this out.
However, I can confirm that when I apply #274 and #281 (and use a patched version of astropy), the only remaining problem are broadcasting issues. @bsipocz do you have a fix for that? We don't need a new version; a patch would be fine to keep astroplan in the next Debian release :-)
Sadly, I don't have a fix for it yet, I only had a quick debug session of it and couldn't see why it fails. I maybe some triviality though for someone knowing more about numpy tricks...
Is this a bug in astroplan or in astropy? I could imagine that it has the same cause as astropy/astropy#5650 ... but I am not familiar with the broadcasting stuff ...
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.
The first patch is just making the indexes use integers instead of floats and there's probably a better way to do it. The second patch is just a simplification based on the new vector support so bypasses the issue pointed out above. I can submit these as a separate pull-request if desired.
@bsipocz@bmorris3 Could you estimate how fatal the remaining failures are?
The reason I ask is that in principle, we could upload (and thus ship with Debian Stretch) astroplan with the patches given so far and just mark these three failures as @pytest.mark.xfail(). But this would only make sense if astroplan is useful (with astropy-1.3) in this stage.
What is your opinion about astroplan in Debian Stretch?
My proposed set of patches is here -- it needs confirmation from @ViviCoder however. And, for reference, the Debian related bug is #851437.
Activity
bsipocz commentedon Jan 21, 2017
There's some discussion under other the issues already, e.g. #263 or #278. Basically only one incompatibility is remained to be fixed (the broadcasting issue). I'm not sure whether @bmorris3 has the time to merge the current PRs and work on the remaining issue and do a release.
olebole commentedon Jan 23, 2017
Oops, I see that this mainly duplicates #263 -- this is, however since the caption of #263 is misleading. I thought (from the date the issue was opened) that "stable" means the previous astropy version (1.2), so I didn't check this out.
However, I can confirm that when I apply #274 and #281 (and use a patched version of astropy), the only remaining problem are broadcasting issues.
@bsipocz do you have a fix for that? We don't need a new version; a patch would be fine to keep astroplan in the next Debian release :-)
bsipocz commentedon Jan 23, 2017
Sadly, I don't have a fix for it yet, I only had a quick debug session of it and couldn't see why it fails. I maybe some triviality though for someone knowing more about numpy tricks...
olebole commentedon Jan 24, 2017
Is this a bug in astroplan or in astropy? I could imagine that it has the same cause as astropy/astropy#5650 ... but I am not familiar with the broadcasting stuff ...
wtgee commentedon Jan 24, 2017
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.pyand 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.The first patch is just making the indexes use integers instead of floats and there's probably a better way to do it. The second patch is just a simplification based on the new vector support so bypasses the issue pointed out above. I can submit these as a separate pull-request if desired.
diff.txt
olebole commentedon Jan 24, 2017
I can confirm this. The remaining failures are all similar, so here is the first one:
olebole commentedon Jan 27, 2017
@bsipocz @bmorris3 Could you estimate how fatal the remaining failures are?
The reason I ask is that in principle, we could upload (and thus ship with Debian Stretch) astroplan with the patches given so far and just mark these three failures as
@pytest.mark.xfail(). But this would only make sense if astroplan is useful (with astropy-1.3) in this stage.What is your opinion about astroplan in Debian Stretch?
My proposed set of patches is here -- it needs confirmation from @ViviCoder however. And, for reference, the Debian related bug is #851437.
ViviCoder commentedon Jan 29, 2017
It is ok for me if astroplan is mostly usable in spite of the remaining failures.
bsipocz commentedon Jan 31, 2017
@wtgee - Yes please open the PR for #282 (comment). I think the more problem are fixed are the better.
Small fixes for astropy 1.3 as discussed in astropy#282
Merge pull request #283 from wtgee/issue-282-fixes
bsipocz commentedon Oct 4, 2017
this can be closed now