We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the sunpy CI (sunpy/sunpy#6330) the reproject bulid with Python 3.11 failed with:
2022-07-11T20:46:52.2642007Z Building wheel for reproject (pyproject.toml): started 2022-07-11T20:46:52.2642242Z Building wheel for reproject (pyproject.toml): finished with status 'error' 2022-07-11T20:46:52.2642406Z error: subprocess-exited-with-error 2022-07-11T20:46:52.2642470Z 2022-07-11T20:46:52.2642706Z × Building wheel for reproject (pyproject.toml) did not run successfully. 2022-07-11T20:46:52.2642818Z │ exit code: 1 2022-07-11T20:46:52.2642952Z ╰─> [111 lines of output] 2022-07-11T20:46:52.2643443Z /tmp/pip-build-env-fjgf1s6_/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. 2022-07-11T20:46:52.2643591Z warnings.warn(msg, warning_class) 2022-07-11T20:46:52.2643717Z running bdist_wheel 2022-07-11T20:46:52.2643793Z running build 2022-07-11T20:46:52.2643873Z running build_py 2022-07-11T20:46:52.2643949Z creating build 2022-07-11T20:46:52.2644130Z creating build/lib.linux-x86_64-cpython-311 2022-07-11T20:46:52.2644328Z creating build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2644569Z copying reproject/_astropy_init.py -> build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2644805Z copying reproject/utils.py -> build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2645054Z copying reproject/array_utils.py -> build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2645296Z copying reproject/conftest.py -> build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2645544Z copying reproject/wcs_utils.py -> build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2645782Z copying reproject/version.py -> build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2646016Z copying reproject/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2646230Z creating build/lib.linux-x86_64-cpython-311/reproject/adaptive 2022-07-11T20:46:52.2646488Z copying reproject/adaptive/core.py -> build/lib.linux-x86_64-cpython-311/reproject/adaptive 2022-07-11T20:46:52.2646771Z copying reproject/adaptive/high_level.py -> build/lib.linux-x86_64-cpython-311/reproject/adaptive 2022-07-11T20:46:52.2647048Z copying reproject/adaptive/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/adaptive 2022-07-11T20:46:52.2647283Z creating build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2647606Z copying reproject/spherical_intersect/core.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2647932Z copying reproject/spherical_intersect/overlap.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2648258Z copying reproject/spherical_intersect/high_level.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2648591Z copying reproject/spherical_intersect/setup_package.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2648912Z copying reproject/spherical_intersect/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2649130Z creating build/lib.linux-x86_64-cpython-311/reproject/mosaicking 2022-07-11T20:46:52.2649409Z copying reproject/mosaicking/background.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking 2022-07-11T20:46:52.2649693Z copying reproject/mosaicking/coadd.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking 2022-07-11T20:46:52.2649984Z copying reproject/mosaicking/subset_array.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking 2022-07-11T20:46:52.2650279Z copying reproject/mosaicking/wcs_helpers.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking 2022-07-11T20:46:52.2650562Z copying reproject/mosaicking/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking 2022-07-11T20:46:52.2650769Z creating build/lib.linux-x86_64-cpython-311/reproject/tests 2022-07-11T20:46:52.2651046Z copying reproject/tests/test_high_level.py -> build/lib.linux-x86_64-cpython-311/reproject/tests 2022-07-11T20:46:52.2651312Z copying reproject/tests/test_utils.py -> build/lib.linux-x86_64-cpython-311/reproject/tests 2022-07-11T20:46:52.2651575Z copying reproject/tests/helpers.py -> build/lib.linux-x86_64-cpython-311/reproject/tests 2022-07-11T20:46:52.2651887Z copying reproject/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/tests 2022-07-11T20:46:52.2652111Z creating build/lib.linux-x86_64-cpython-311/reproject/interpolation 2022-07-11T20:46:52.2652445Z copying reproject/interpolation/core.py -> build/lib.linux-x86_64-cpython-311/reproject/interpolation 2022-07-11T20:46:52.2652755Z copying reproject/interpolation/high_level.py -> build/lib.linux-x86_64-cpython-311/reproject/interpolation 2022-07-11T20:46:52.2653053Z copying reproject/interpolation/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/interpolation 2022-07-11T20:46:52.2653263Z creating build/lib.linux-x86_64-cpython-311/reproject/healpix 2022-07-11T20:46:52.2653531Z copying reproject/healpix/core.py -> build/lib.linux-x86_64-cpython-311/reproject/healpix 2022-07-11T20:46:52.2653797Z copying reproject/healpix/utils.py -> build/lib.linux-x86_64-cpython-311/reproject/healpix 2022-07-11T20:46:52.2654074Z copying reproject/healpix/high_level.py -> build/lib.linux-x86_64-cpython-311/reproject/healpix 2022-07-11T20:46:52.2654334Z copying reproject/healpix/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/healpix 2022-07-11T20:46:52.2654563Z creating build/lib.linux-x86_64-cpython-311/reproject/adaptive/tests 2022-07-11T20:46:52.2654866Z copying reproject/adaptive/tests/test_core.py -> build/lib.linux-x86_64-cpython-311/reproject/adaptive/tests 2022-07-11T20:46:52.2655159Z copying reproject/adaptive/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/adaptive/tests 2022-07-11T20:46:52.2655407Z creating build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect/tests 2022-07-11T20:46:52.2655763Z copying reproject/spherical_intersect/tests/test_high_level.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect/tests 2022-07-11T20:46:52.2656120Z copying reproject/spherical_intersect/tests/test_reproject.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect/tests 2022-07-11T20:46:52.2656477Z copying reproject/spherical_intersect/tests/test_overlap.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect/tests 2022-07-11T20:46:52.2656818Z copying reproject/spherical_intersect/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect/tests 2022-07-11T20:46:52.2657054Z creating build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests 2022-07-11T20:46:52.2657745Z copying reproject/mosaicking/tests/test_background.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests 2022-07-11T20:46:52.2658072Z copying reproject/mosaicking/tests/test_subset_array.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests 2022-07-11T20:46:52.2658393Z copying reproject/mosaicking/tests/test_wcs_helpers.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests 2022-07-11T20:46:52.2658695Z copying reproject/mosaicking/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests 2022-07-11T20:46:52.2659007Z copying reproject/mosaicking/tests/test_coadd.py -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests 2022-07-11T20:46:52.2659247Z creating build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests 2022-07-11T20:46:52.2659570Z copying reproject/interpolation/tests/test_core.py -> build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests 2022-07-11T20:46:52.2659889Z copying reproject/interpolation/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests 2022-07-11T20:46:52.2660115Z creating build/lib.linux-x86_64-cpython-311/reproject/healpix/tests 2022-07-11T20:46:52.2660402Z copying reproject/healpix/tests/test_utils.py -> build/lib.linux-x86_64-cpython-311/reproject/healpix/tests 2022-07-11T20:46:52.2660706Z copying reproject/healpix/tests/test_healpix.py -> build/lib.linux-x86_64-cpython-311/reproject/healpix/tests 2022-07-11T20:46:52.2661069Z copying reproject/healpix/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/reproject/healpix/tests 2022-07-11T20:46:52.2661440Z copying reproject/spherical_intersect/overlapArea.h -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2661785Z copying reproject/spherical_intersect/reproject_slice_c.h -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2662096Z copying reproject/spherical_intersect/mNaN.h -> build/lib.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2662312Z creating build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2662604Z copying reproject/tests/data/galactic_2d.fits -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2662885Z copying reproject/tests/data/cube.hdr -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2663166Z copying reproject/tests/data/gc_ga.hdr -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2663453Z copying reproject/tests/data/equatorial_3d.fits -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2663746Z copying reproject/tests/data/secchi_l0_a.fits -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2664037Z copying reproject/tests/data/mwpan2_RGB_3600.hdr -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2664325Z copying reproject/tests/data/secchi_l0_b.fits -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2664619Z copying reproject/tests/data/aia_171_level1.fits -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2664898Z copying reproject/tests/data/gc_eq.hdr -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2665189Z copying reproject/tests/data/aia_171_level1.asdf -> build/lib.linux-x86_64-cpython-311/reproject/tests/data 2022-07-11T20:46:52.2665438Z creating build/lib.linux-x86_64-cpython-311/reproject/adaptive/tests/reference 2022-07-11T20:46:52.2665832Z copying reproject/adaptive/tests/reference/test_reproject_adaptive_roundtrip.fits -> build/lib.linux-x86_64-cpython-311/reproject/adaptive/tests/reference 2022-07-11T20:46:52.2666225Z copying reproject/adaptive/tests/reference/test_reproject_adaptive_2d_rotated.fits -> build/lib.linux-x86_64-cpython-311/reproject/adaptive/tests/reference 2022-07-11T20:46:52.2666590Z copying reproject/adaptive/tests/reference/test_reproject_adaptive_2d.fits -> build/lib.linux-x86_64-cpython-311/reproject/adaptive/tests/reference 2022-07-11T20:46:52.2666839Z creating build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests/reference 2022-07-11T20:46:52.2667207Z copying reproject/mosaicking/tests/reference/test_coadd_solar_map.fits -> build/lib.linux-x86_64-cpython-311/reproject/mosaicking/tests/reference 2022-07-11T20:46:52.2667469Z creating build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests/reference 2022-07-11T20:46:52.2667886Z copying reproject/interpolation/tests/reference/test_reproject_celestial_3d_equ2gal.fits -> build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests/reference 2022-07-11T20:46:52.2668278Z copying reproject/interpolation/tests/reference/test_reproject_roundtrip.fits -> build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests/reference 2022-07-11T20:46:52.2668690Z copying reproject/interpolation/tests/reference/test_reproject_celestial_2d_gal2equ.fits -> build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests/reference 2022-07-11T20:46:52.2669065Z copying reproject/interpolation/tests/reference/test_small_cutout.fits -> build/lib.linux-x86_64-cpython-311/reproject/interpolation/tests/reference 2022-07-11T20:46:52.2669299Z creating build/lib.linux-x86_64-cpython-311/reproject/healpix/tests/data 2022-07-11T20:46:52.2669633Z copying reproject/healpix/tests/data/reference_result.fits -> build/lib.linux-x86_64-cpython-311/reproject/healpix/tests/data 2022-07-11T20:46:52.2670047Z copying reproject/healpix/tests/data/bayestar.fits.gz -> build/lib.linux-x86_64-cpython-311/reproject/healpix/tests/data 2022-07-11T20:46:52.2670122Z running build_ext 2022-07-11T20:46:52.2670310Z cythoning reproject/spherical_intersect/_overlap.pyx to reproject/spherical_intersect/_overlap.c 2022-07-11T20:46:52.2671028Z /tmp/pip-build-env-fjgf1s6_/overlay/lib/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-46twd571/reproject_476971c7fb6149ed9a8320692a2eb052/reproject/spherical_intersect/_overlap.pyx 2022-07-11T20:46:52.2671159Z tree = Parsing.p_module(s, pxd, full_module_name) 2022-07-11T20:46:52.2671327Z cythoning ./reproject/adaptive/deforest.pyx to ./reproject/adaptive/deforest.c 2022-07-11T20:46:52.2672024Z /tmp/pip-build-env-fjgf1s6_/overlay/lib/python3.11/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-46twd571/reproject_476971c7fb6149ed9a8320692a2eb052/reproject/adaptive/deforest.pyx 2022-07-11T20:46:52.2672150Z tree = Parsing.p_module(s, pxd, full_module_name) 2022-07-11T20:46:52.2672367Z building 'reproject.spherical_intersect._overlap' extension 2022-07-11T20:46:52.2672550Z creating build/temp.linux-x86_64-cpython-311 2022-07-11T20:46:52.2672749Z creating build/temp.linux-x86_64-cpython-311/reproject 2022-07-11T20:46:52.2672975Z creating build/temp.linux-x86_64-cpython-311/reproject/spherical_intersect 2022-07-11T20:46:52.2673891Z gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tmp/pip-build-env-fjgf1s6_/overlay/lib/python3.11/site-packages/numpy/core/include -Ireproject/spherical_intersect -I/home/runner/work/sunpy/sunpy/.tox/py311/include -I/opt/hostedtoolcache/Python/3.11.0-beta.3/x64/include/python3.11 -c reproject/spherical_intersect/_overlap.c -o build/temp.linux-x86_64-cpython-311/reproject/spherical_intersect/_overlap.o -O2 2022-07-11T20:46:52.2674087Z reproject/spherical_intersect/_overlap.c:196:12: fatal error: longintrepr.h: No such file or directory 2022-07-11T20:46:52.2674190Z 196 | #include "longintrepr.h" 2022-07-11T20:46:52.2674281Z | ^~~~~~~~~~~~~~~ 2022-07-11T20:46:52.2674372Z compilation terminated. 2022-07-11T20:46:52.2674565Z error: command '/usr/bin/gcc' failed with exit code 1 2022-07-11T20:46:52.2674645Z [end of output] 2022-07-11T20:46:52.2674709Z 2022-07-11T20:46:52.2674865Z note: This error originates from a subprocess, and is likely not a problem with pip. 2022-07-11T20:46:52.2674978Z ERROR: Failed building wheel for reproject
The text was updated successfully, but these errors were encountered:
I think this issue may be resolved by cython/cython#4428
Sorry, something went wrong.
Maybe removing or updating the cython pin in pyproject.toml will make the build pass.
pyproject.toml
CI now runs Python 3.11
No branches or pull requests
On the sunpy CI (sunpy/sunpy#6330) the reproject bulid with Python 3.11 failed with:
The text was updated successfully, but these errors were encountered: