Package Details: python2-astropy 2.0.1-1

Git Clone URL: https://aur.archlinux.org/python2-astropy.git (read-only)
Package Base: python2-astropy
Description: A community python library for astronomy
Upstream URL: http://www.astropy.org/
Licenses: BSD
Conflicts: python-pywcs, python2-pyfits, python2-vo
Submitter: mboquien
Maintainer: mboquien
Last Packager: mboquien
Votes: 17
Popularity: 0.148269
First Submitted: 2013-04-25 18:26
Last Updated: 2017-08-19 11:51

Latest Comments

mboquien commented on 2015-08-19 08:18

Hello,

Indeed, the astropy developers do not plan on fixing this bug until 1.1. As a dirty workaround in the meantime you can delete the "--use-system-libraries" option line 18 of the PKGBUILD.

Regards,

Médéric

privong commented on 2015-08-19 05:56

The wcs compile bug was submitted to the astropy project by @mboquien, but it sounds like wcslib 5.x will not be supported until astropy 1.1
https://github.com/astropy/astropy/issues/4081

ipashchenko commented on 2015-08-17 12:06

The same error:

astropy/wcs/src/pipeline.c:235:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct wcserr’
pipeline->err = calloc(1, sizeof(struct wcserr));

giniu commented on 2015-08-16 16:59

Are you able to build agains wcslib 5.9? I'm seeing errors:

astropy/wcs/src/pipeline.c:146:42: error: invalid application of ‘sizeof’ to incomplete type ‘struct wcserr’
pipeline->err = calloc(1, sizeof(struct wcserr));

and I suspect wcslib update today.

mboquien commented on 2013-11-24 12:36

Hello,

Finally astropy 0.3 is out. It solves the problem of incompatibility with cfitsio that prevented astropy 0.2 from building correctly when using external packages. Unfortunately, the legacy option is now gone. This means that you cannot do an "import pyfits" anymore now. Porting could be as simple as "import astropy.io.fits as pyfits". Otherwise the dependencies have been updated, using erfa rather than sofa and the licenses are now properly included. Let me know if you encounter any problem.

Regards,

Médéric

mboquien commented on 2013-06-18 10:37

Hello. You can remove python2-pyfits altogether. The compatibility option is activated so you should be able to import pyfits with astropy installed.

$ yaourt -Ss python2-pyfits
aur/python2-pyfits 3.1.1-1 (13)
A python language interface to FITS formatted data files
$ python2
Python 2.7.5 (default, May 12 2013, 12:00:47)
[GCC 4.8.0 20130502 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyfits
>>>

dwalz commented on 2013-06-18 10:35

python2-astropy conflicts with python2-pyfits
Is there a way to resolve this?

mboquien commented on 2013-04-25 18:41

I have enabled the legacy packages so before installing you may need to remove the python2-vo, python-aplpy, and python-pywcs packages. Otherwise the compilation will fail. Also, to prevent a conflict between similarly named files in python-astropy, I have followed the same strategy as the packager of python2-pyfits, appending a "2" to fitschecks, fitsdiff and volint.

mboquien commented on 2013-04-25 18:41

I have enabled the legacy packages so before installing you may need to remove the python2-vo, python-aplpy, and python-pywcs packages. Otherwise the compilation will fail. Also, to prevent a conflict between similarly named files, I have followed the same strategy as the packager of python2-pyfits, appending a "2" to fitschecks, fitsdiff and volint.

mboquien commented on 2013-04-25 18:28

I have enabled the legacy packages so before installing you may need to remove the python2-vo, python-aplpy, and python-pywcs packages. Otherwise the compilation will fail.