Package Details: python-astropy 1.2.1-1

Git Clone URL: https://aur.archlinux.org/python-astropy.git (read-only)
Package Base: python-astropy
Description: A community python library for astronomy
Upstream URL: http://www.astropy.org/
Licenses: BSD
Conflicts: python-pyfits, python-vo
Submitter: mboquien
Maintainer: mboquien
Last Packager: mboquien
Votes: 18
Popularity: 0.436032
First Submitted: 2013-04-20 09:07
Last Updated: 2016-06-27 17:03

Latest Comments

mboquien commented on 2016-03-25 22:56

The package has been updated to 1.1.2. Sorry for the delay. The minimum wcslib version got bumped with astropy 1.1.2 in order to fix a critical bug. In the end the AUR astropy package depended on the Arch wcslib package update.

lonur commented on 2015-09-04 12:38

Thank you, this way it still throws a couple of warnings but goes all the way through.

mboquien commented on 2015-09-04 12:24

For the time being a solution is to delete the "--use-system-libraries" option line 18 of the PKGBUILD. The issue should be fixed properly with astropy 1.1.

lonur commented on 2015-09-04 12:22

Hi, are there any workarounds or fixes for the problem mauritiusdadd described below? Or is it just me still having this issue building python-astropy 1.0.4-1?

mboquien commented on 2015-08-16 17:29

Thanks for reporting the issue. I can confirm it. I have contacted the astropy developers. I will see whether I can get a patch.

mauritiusdadd commented on 2015-08-16 13:01

Hi, this package fails to build after the recent update of wcslib to version 5.9-1 (even in a clean chroot) with the following 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));
^
astropy/wcs/src/pipeline.c:148:7: warning: implicit declaration of function 'wcserr_copy' [-Wimplicit-function-declaration]
wcserr_copy(pipeline->wcs->err, pipeline->err);
^
astropy/wcs/src/pipeline.c:69:19: warning: variable 'err' set but not used [-Wunused-but-set-variable]
struct wcserr **err;
^
astropy/wcs/src/pipeline.c:60:22: warning: unused variable 'function' [-Wunused-variable]
static const char* function = "pipeline_all_pixel2world";
^
astropy/wcs/src/pipeline.c: In function 'pipeline_pix2foc':
astropy/wcs/src/pipeline.c:235:42: error: invalid application of 'sizeof' to incomplete type 'struct wcserr'
pipeline->err = calloc(1, sizeof(struct wcserr));
^
astropy/wcs/src/pipeline.c:181:20: warning: variable 'err' set but not used [-Wunused-but-set-variable]
struct wcserr **err;
^
astropy/wcs/src/pipeline.c:173:22: warning: unused variable 'function' [-Wunused-variable]
static const char* function = "pipeline_pix2foc";
^
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().

mauritiusdadd commented on 2015-08-16 12:59

Hi, this package fails to build after the recent update of wcslib to version 5.9-1 (even in a clean chroot) with the following errors, :

astropy/wcs/src/pipeline.c: In function 'pipeline_all_pixel2world':
astropy/wcs/src/pipeline.c:93:16: warning: implicit declaration of function 'wcserr_set' [-Wimplicit-function-declaration]
status = wcserr_set(
^
astropy/wcs/src/pipeline.c:12:28: warning: implicit declaration of function 'WCSERR_SET' [-Wimplicit-function-declaration]
#define PIP_ERRMSG(status) WCSERR_SET(status)
^
astropy/wcs/src/pipeline.c:94:9: note: in expansion of macro 'PIP_ERRMSG'
PIP_ERRMSG(WCSERR_BAD_COORD_TRANS),
^
astropy/wcs/src/pipeline.c:146:42: error: invalid application of 'sizeof' to incomplete type 'struct wcserr'
pipeline->err = calloc(1, sizeof(struct wcserr));
^
astropy/wcs/src/pipeline.c:148:7: warning: implicit declaration of function 'wcserr_copy' [-Wimplicit-function-declaration]
wcserr_copy(pipeline->wcs->err, pipeline->err);
^
astropy/wcs/src/pipeline.c:69:19: warning: variable 'err' set but not used [-Wunused-but-set-variable]
struct wcserr **err;
^
astropy/wcs/src/pipeline.c:60:22: warning: unused variable 'function' [-Wunused-variable]
static const char* function = "pipeline_all_pixel2world";
^
astropy/wcs/src/pipeline.c: In function 'pipeline_pix2foc':
astropy/wcs/src/pipeline.c:235:42: error: invalid application of 'sizeof' to incomplete type 'struct wcserr'
pipeline->err = calloc(1, sizeof(struct wcserr));
^
astropy/wcs/src/pipeline.c:181:20: warning: variable 'err' set but not used [-Wunused-but-set-variable]
struct wcserr **err;
^
astropy/wcs/src/pipeline.c:173:22: warning: unused variable 'function' [-Wunused-variable]
static const char* function = "pipeline_pix2foc";
^
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().

mboquien commented on 2015-01-27 22:01

Sorry about the small installation problem. I corrected it as soon as I saw it. Not quickly enough though. Revision ≥3 should fix the problem.

mboquien commented on 2015-01-27 22:00

Sorry about the small installation problem. I corrected as soon as I aws. Not quickly enough. Revision ≥3 should be problem free.

migueldvb commented on 2015-01-27 21:56

Fantastic! Just a small comment that the dependency on python-numpy should be >=1.5.1

I think this package also conflicts with python2-astropy because they try to install executable files under the same path.

All comments