Closed keflavich closed 7 years ago
This code can never have worked on Python 3, right? The fix is good. Do you have time to work out / add a regression test to make sure those lines have coverage?
I think 2to3.py made it work in py3 before, but something (I have no idea what...) changed in the last ~year.
I don't have time to make such a test; I'd refactor all my code to use https://github.com/astropy/regions but I don't have the time so this patch was my best solution. Also, I don't think we have FITS mask generation in regions yet.
The failure is at least partly:
UnsatisfiableError: The following specifications were found to be in conflict:
- numpy 1.12* -> python 2.7*
- python 3.4*
Use "conda info <package>" to see the dependencies for each package.
which I think means we need to update astropy-helpers.
@keflavich - Could you rebase?
@keflavich - Thank you!
I think this is a 2-to-3 failure? I was getting issues like:
so I changed the
print >> outf
lines tooutf.write