Created
February 15, 2023 14:28
-
-
Save superherointj/3f616f784014eeb2e3039b0f4037e4e9 to your computer and use it in GitHub Desktop.
python311Packages.pyregion: error logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing setuptools-build-hook | |
Using setuptoolsBuildPhase | |
Using setuptoolsShellHook | |
Sourcing pip-install-hook | |
Using pipInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing setuptools-check-hook | |
Using setuptoolsCheckPhase | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Removing setuptoolsCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/w16vafwcgn2q9h2g2pkjbraxaw9d5qy7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/setup.py | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
applying patch /nix/store/j4haznyszcqyvg7ig6wqhfiqw5sxnf07-082649730d353a0d0c0ee9619be1aa501aabba62.patch | |
patching file pyregion/conftest.py | |
applying patch /nix/store/wznwy3ad7vl4giqcnc70ky12bamxb8gp-c448a465dd56887979da62aec6138fc89bb37b19.patch | |
patching file pyregion/wcs_converter.py | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
building | |
Executing setuptoolsBuildPhase | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/setup_helpers.py:161: AstropyDeprecationWarning: The package argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead | |
warnings.warn('The package argument to generate_version_py has ' | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/setup_helpers.py:166: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead | |
warnings.warn('The version argument to generate_version_py has ' | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/setup_helpers.py:171: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release | |
warnings.warn('The release argument to generate_version_py has ' | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/version_helpers.py:239: AstropyDeprecationWarning: The packagename argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead | |
warnings.warn('The packagename argument to generate_version_py has ' | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/version_helpers.py:244: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead | |
warnings.warn('The version argument to generate_version_py has ' | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/version_helpers.py:249: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release | |
warnings.warn('The release argument to generate_version_py has ' | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/git_helpers.py:114: UserWarning: Error running git: [Errno 2] No such file or directory: 'git' | |
warnings.warn('Error running git: ' + str(e)) | |
/nix/store/iy30xk2b3h9gryyk3x3h03yrvjjj5x73-python3.10-astropy-helpers-4.0.1/lib/python3.10/site-packages/astropy_helpers/setup_helpers.py:411: SetuptoolsDeprecationWarning: As setuptools moves its configuration towards `pyproject.toml`, | |
`setuptools.config.read_configuration` became deprecated. | |
For the time being, you can use the `setuptools.config.setupcfg` module | |
to access a backward compatible API, but this module is provisional | |
and might be removed in the future. | |
conf = read_configuration(setup_cfg) | |
/nix/store/v9qczq3z12j33pnkzdfmpv7mq6zw9yvm-python3.10-setuptools-65.6.3/lib/python3.10/site-packages/setuptools/dist.py:316: DistDeprecationWarning: use_2to3 is ignored. | |
warnings.warn(f"{attr} is ignored.", DistDeprecationWarning) | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-cpython-310 | |
creating build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/version.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/wcs_converter.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/conftest.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/wcs_helper.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/region_to_filter.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/region_numbers.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/physical_coordinate.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/parser_helper.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/mpl_helper.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/ds9_region_parser.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/ds9_attr_parser.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/core.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/_astropy_init.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
copying pyregion/__init__.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
creating build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_wcs.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_region_numbers.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_region.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_parser_helper.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_get_mask.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_ds9_region_parser.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_ds9_attr_parser.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/test_cube.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/setup_package.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
copying pyregion/tests/coveragerc -> build/lib.linux-x86_64-cpython-310/pyregion/tests | |
creating build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test03_img.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test03_icrs.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test03_gal.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test03_fk5.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test03_ciao_physical.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test02_1_img.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_icrs.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk4.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test_text.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test_context.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test_annuli_wcs.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test_annuli_ciao.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test_annuli.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test04_img.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test02.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_print.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_mixed.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_img.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_gal.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk5_sexagecimal.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk5.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk5_degree.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_ds9_physical.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_ciao_physical.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01_ciao.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test01.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test02_1_fk5.reg -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits04.header -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits03.header -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/test.header -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits02.header -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits01.header -> build/lib.linux-x86_64-cpython-310/pyregion/tests/data | |
running build_ext | |
/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib/python3.10/importlib/__init__.py:169: UserWarning: The NumPy module was reloaded (imported a second time). This can in some cases result in small but subtle issues and is discouraged. | |
_bootstrap._exec(spec, module) | |
cythoning pyregion/_region_filter.pyx to pyregion/_region_filter.c | |
/nix/store/qg2nqilh2pdjnrb9dwxq78rgqwjmqzgp-python3.10-cython-0.29.33/lib/python3.10/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: /build/source/pyregion/_region_filter.pyx | |
tree = Parsing.p_module(s, pxd, full_module_name) | |
building 'pyregion.compiler_version' extension | |
creating build/temp.linux-x86_64-cpython-310 | |
creating build/temp.linux-x86_64-cpython-310/pyregion | |
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/include -fPIC -I/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10 -c pyregion/_compiler.c -o build/temp.linux-x86_64-cpython-310/pyregion/_compiler.o | |
gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib build/temp.linux-x86_64-cpython-310/pyregion/_compiler.o -L/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib -o build/lib.linux-x86_64-cpython-310/pyregion/compiler_version.cpython-310-x86_64-linux-gnu.so | |
building 'pyregion._region_filter' extension | |
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/include -fPIC -I/nix/store/24h72h9za3xchndqfh2l52mq396b7yw5-python3.10-numpy-1.23.5/lib/python3.10/site-packages/numpy/core/include -I/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/include/python3.10 -c pyregion/_region_filter.c -o build/temp.linux-x86_64-cpython-310/pyregion/_region_filter.o -Wp,-w -Wno-unused-function | |
gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib build/temp.linux-x86_64-cpython-310/pyregion/_region_filter.o -L/nix/store/0pyymzxf7n0fzpaqnvwv92ab72v3jq8d-python3-3.10.9/lib -o build/lib.linux-x86_64-cpython-310/pyregion/_region_filter.cpython-310-x86_64-linux-gnu.so | |
copying pyregion/cython_version.py -> build/lib.linux-x86_64-cpython-310/pyregion | |
/nix/store/v9qczq3z12j33pnkzdfmpv7mq6zw9yvm-python3.10-setuptools-65.6.3/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
creating build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/cython_version.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/_region_filter.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/compiler_version.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/pyregion | |
creating build/bdist.linux-x86_64/wheel/pyregion/tests | |
creating build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/sample_fits01.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/sample_fits02.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/sample_fits03.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/sample_fits04.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test02_1_fk5.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_ciao.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_ciao_physical.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_ds9_physical.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_fk5_degree.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_fk5.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_fk5_sexagecimal.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_gal.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_mixed.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_print.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test02.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test04_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test_annuli.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test_annuli_ciao.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test_annuli_wcs.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test_context.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test_text.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_fk4.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test01_icrs.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test02_1_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test03_ciao_physical.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test03_fk5.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test03_gal.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test03_icrs.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/data/test03_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/coveragerc -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/__init__.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/setup_package.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_cube.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_ds9_attr_parser.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_ds9_region_parser.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_get_mask.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_parser_helper.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_region.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_region_numbers.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/tests/test_wcs.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-310/pyregion/__init__.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/_astropy_init.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/core.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/ds9_attr_parser.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/ds9_region_parser.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/mpl_helper.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/parser_helper.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/physical_coordinate.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/region_numbers.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/region_to_filter.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/wcs_helper.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/conftest.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/wcs_converter.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-310/pyregion/version.py -> build/bdist.linux-x86_64/wheel/pyregion | |
running install_egg_info | |
running egg_info | |
creating pyregion.egg-info | |
writing pyregion.egg-info/PKG-INFO | |
writing dependency_links to pyregion.egg-info/dependency_links.txt | |
writing requirements to pyregion.egg-info/requires.txt | |
writing top-level names to pyregion.egg-info/top_level.txt | |
writing manifest file 'pyregion.egg-info/SOURCES.txt' | |
reading manifest file 'pyregion.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no files found matching '*' under directory 'licenses' | |
warning: no files found matching '*' under directory 'cextern' | |
warning: no files found matching '*' under directory 'scripts' | |
no previously-included directories found matching 'build' | |
no previously-included directories found matching 'docs/_build' | |
no previously-included directories found matching 'docs/api' | |
warning: no files found matching 'astropy_helpers/README.rst' | |
warning: no files found matching 'astropy_helpers/CHANGES.rst' | |
warning: no files found matching 'astropy_helpers/LICENSE.rst' | |
warning: no files found matching '*' under directory 'astropy_helpers/licenses' | |
warning: no files found matching 'astropy_helpers/ez_setup.py' | |
warning: no files found matching 'astropy_helpers/ah_bootstrap.py' | |
warning: no files found matching '*.py' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*.pyx' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*.c' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*.h' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*' under directory 'astropy_helpers/astropy_helpers.egg-info' | |
warning: no files found matching '*' under directory 'astropy_helpers/astropy_helpers/sphinx' | |
no previously-included directories found matching 'astropy_helpers/build' | |
no previously-included directories found matching 'astropy_helpers/astropy_helpers/tests' | |
warning: no previously-included files matching '*.pyc' found anywhere in distribution | |
warning: no previously-included files matching '*.o' found anywhere in distribution | |
adding license file 'LICENSE' | |
writing manifest file 'pyregion.egg-info/SOURCES.txt' | |
Copying pyregion.egg-info to build/bdist.linux-x86_64/wheel/pyregion-2.1.1-py3.10.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/pyregion-2.1.1.dist-info/WHEEL | |
creating 'dist/pyregion-2.1.1-cp310-cp310-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'pyregion/__init__.py' | |
adding 'pyregion/_astropy_init.py' | |
adding 'pyregion/_region_filter.cpython-310-x86_64-linux-gnu.so' | |
adding 'pyregion/compiler_version.cpython-310-x86_64-linux-gnu.so' | |
adding 'pyregion/conftest.py' | |
adding 'pyregion/core.py' | |
adding 'pyregion/cython_version.py' | |
adding 'pyregion/ds9_attr_parser.py' | |
adding 'pyregion/ds9_region_parser.py' | |
adding 'pyregion/mpl_helper.py' | |
adding 'pyregion/parser_helper.py' | |
adding 'pyregion/physical_coordinate.py' | |
adding 'pyregion/region_numbers.py' | |
adding 'pyregion/region_to_filter.py' | |
adding 'pyregion/version.py' | |
adding 'pyregion/wcs_converter.py' | |
adding 'pyregion/wcs_helper.py' | |
adding 'pyregion/tests/__init__.py' | |
adding 'pyregion/tests/coveragerc' | |
adding 'pyregion/tests/setup_package.py' | |
adding 'pyregion/tests/test_cube.py' | |
adding 'pyregion/tests/test_ds9_attr_parser.py' | |
adding 'pyregion/tests/test_ds9_region_parser.py' | |
adding 'pyregion/tests/test_get_mask.py' | |
adding 'pyregion/tests/test_parser_helper.py' | |
adding 'pyregion/tests/test_region.py' | |
adding 'pyregion/tests/test_region_numbers.py' | |
adding 'pyregion/tests/test_wcs.py' | |
adding 'pyregion/tests/data/sample_fits01.header' | |
adding 'pyregion/tests/data/sample_fits02.header' | |
adding 'pyregion/tests/data/sample_fits03.header' | |
adding 'pyregion/tests/data/sample_fits04.header' | |
adding 'pyregion/tests/data/test.header' | |
adding 'pyregion/tests/data/test01.reg' | |
adding 'pyregion/tests/data/test01_ciao.reg' | |
adding 'pyregion/tests/data/test01_ciao_physical.reg' | |
adding 'pyregion/tests/data/test01_ds9_physical.reg' | |
adding 'pyregion/tests/data/test01_fk4.reg' | |
adding 'pyregion/tests/data/test01_fk5.reg' | |
adding 'pyregion/tests/data/test01_fk5_degree.reg' | |
adding 'pyregion/tests/data/test01_fk5_sexagecimal.reg' | |
adding 'pyregion/tests/data/test01_gal.reg' | |
adding 'pyregion/tests/data/test01_icrs.reg' | |
adding 'pyregion/tests/data/test01_img.reg' | |
adding 'pyregion/tests/data/test01_mixed.reg' | |
adding 'pyregion/tests/data/test01_print.reg' | |
adding 'pyregion/tests/data/test02.reg' | |
adding 'pyregion/tests/data/test02_1_fk5.reg' | |
adding 'pyregion/tests/data/test02_1_img.reg' | |
adding 'pyregion/tests/data/test03_ciao_physical.reg' | |
adding 'pyregion/tests/data/test03_fk5.reg' | |
adding 'pyregion/tests/data/test03_gal.reg' | |
adding 'pyregion/tests/data/test03_icrs.reg' | |
adding 'pyregion/tests/data/test03_img.reg' | |
adding 'pyregion/tests/data/test04_img.reg' | |
adding 'pyregion/tests/data/test_annuli.reg' | |
adding 'pyregion/tests/data/test_annuli_ciao.reg' | |
adding 'pyregion/tests/data/test_annuli_wcs.reg' | |
adding 'pyregion/tests/data/test_context.reg' | |
adding 'pyregion/tests/data/test_text.reg' | |
adding 'pyregion-2.1.1.dist-info/LICENSE' | |
adding 'pyregion-2.1.1.dist-info/METADATA' | |
adding 'pyregion-2.1.1.dist-info/WHEEL' | |
adding 'pyregion-2.1.1.dist-info/top_level.txt' | |
adding 'pyregion-2.1.1.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
Finished executing setuptoolsBuildPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
installing | |
Executing pipInstallPhase | |
/build/source/dist /build/source | |
Processing ./pyregion-2.1.1-cp310-cp310-linux_x86_64.whl | |
Requirement already satisfied: numpy in /nix/store/24h72h9za3xchndqfh2l52mq396b7yw5-python3.10-numpy-1.23.5/lib/python3.10/site-packages (from pyregion==2.1.1) (1.23.5) | |
Requirement already satisfied: pyparsing>=2.0 in /nix/store/kncd63i9ikf66w54md2vpbwl756pzshx-python3.10-pyparsing-3.0.9/lib/python3.10/site-packages (from pyregion==2.1.1) (3.0.9) | |
Requirement already satisfied: astropy>=1.0 in /nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages (from pyregion==2.1.1) (5.2) | |
Requirement already satisfied: Cython in /nix/store/qg2nqilh2pdjnrb9dwxq78rgqwjmqzgp-python3.10-cython-0.29.33/lib/python3.10/site-packages (from pyregion==2.1.1) (0.29.33) | |
Requirement already satisfied: pyerfa>=2.0 in /nix/store/p3aipsvqn3rpf8c5z0fk1yfqwjkxvh5m-python3.10-pyerfa-2.0.0.1/lib/python3.10/site-packages (from astropy>=1.0->pyregion==2.1.1) (2.0.0.1) | |
Requirement already satisfied: packaging>=19.0 in /nix/store/s93sm7cyxbsfrpam3ainzkqsqdd6z4sm-python3.10-packaging-21.3/lib/python3.10/site-packages (from astropy>=1.0->pyregion==2.1.1) (21.3) | |
Requirement already satisfied: PyYAML>=3.13 in /nix/store/myxzg6g2wrrlrik9g3qdx788qx8ngilp-python3.10-pyyaml-6.0/lib/python3.10/site-packages (from astropy>=1.0->pyregion==2.1.1) (6.0) | |
Installing collected packages: pyregion | |
Successfully installed pyregion-2.1.1 | |
/build/source | |
Finished executing pipInstallPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/sp0rrqmg46qzmmswq2c5r8my45d8h3n5-python3.10-pyregion-2.1.1 | |
shrinking /nix/store/sp0rrqmg46qzmmswq2c5r8my45d8h3n5-python3.10-pyregion-2.1.1/lib/python3.10/site-packages/pyregion/_region_filter.cpython-310-x86_64-linux-gnu.so | |
shrinking /nix/store/sp0rrqmg46qzmmswq2c5r8my45d8h3n5-python3.10-pyregion-2.1.1/lib/python3.10/site-packages/pyregion/compiler_version.cpython-310-x86_64-linux-gnu.so | |
checking for references to /build/ in /nix/store/sp0rrqmg46qzmmswq2c5r8my45d8h3n5-python3.10-pyregion-2.1.1... | |
patching script interpreter paths in /nix/store/sp0rrqmg46qzmmswq2c5r8my45d8h3n5-python3.10-pyregion-2.1.1 | |
stripping (with command strip and flags -S) in /nix/store/sp0rrqmg46qzmmswq2c5r8my45d8h3n5-python3.10-pyregion-2.1.1/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/76gzknwgxk8x53jyv7xsrg8a5lyy6dcy-python3.10-pyregion-2.1.1-dist | |
checking for references to /build/ in /nix/store/76gzknwgxk8x53jyv7xsrg8a5lyy6dcy-python3.10-pyregion-2.1.1-dist... | |
patching script interpreter paths in /nix/store/76gzknwgxk8x53jyv7xsrg8a5lyy6dcy-python3.10-pyregion-2.1.1-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
running install tests | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
pytestCheckPhase | |
Executing pytestCheckPhase | |
/build/source/build/lib.linux-x86_64-cpython-310 /build/source | |
============================= test session starts ============================== | |
platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0 | |
rootdir: /build/source, configfile: setup.cfg | |
plugins: astropy-0.10.0, hypothesis-6.61.0, arraydiff-0.5.0, astropy-header-0.2.2, cov-4.0.0, doctestplus-0.12.1, filter-subpackage-0.1.2, mock-3.10.0, openfiles-0.5.0, remotedata-0.4.0 | |
collecting ... | |
collected 45 items | |
pyregion/tests/test_cube.py . [ 2%] | |
pyregion/tests/test_ds9_attr_parser.py ... [ 8%] | |
pyregion/tests/test_ds9_region_parser.py .... [ 17%] | |
pyregion/tests/test_get_mask.py . [ 20%] | |
pyregion/tests/test_parser_helper.py . [ 22%] | |
pyregion/tests/test_region.py ........F............. [ 71%] | |
pyregion/tests/test_region_numbers.py ....... [ 86%] | |
pyregion/tests/test_wcs.py ....F. [100%] | |
=================================== FAILURES =================================== | |
_______ test_region[test01_img.reg-test01_fk4.reg-sample_fits01.header] ________ | |
ref_name = 'test01_img.reg', reg_name = 'test01_fk4.reg' | |
header_name = 'sample_fits01.header' | |
@pytest.mark.parametrize(("ref_name", "reg_name", "header_name"), [ | |
("test01_img.reg", "test01_fk5_sexagecimal.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_gal.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_ds9_physical.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_fk5_degree.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_mixed.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_ciao.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_ciao_physical.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_fk5.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_fk4.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_icrs.reg", "sample_fits01.header"), | |
("test02_1_img.reg", "test02_1_fk5.reg", "sample_fits02.header"), | |
("test_annuli.reg", "test_annuli_wcs.reg", "sample_fits01.header"), | |
("test03_img.reg", "test03_fk5.reg", "sample_fits03.header"), | |
("test03_img.reg", "test03_icrs.reg", "sample_fits03.header"), | |
("test03_img.reg", "test03_ciao_physical.reg", "sample_fits03.header"), | |
("test03_img.reg", "test03_gal.reg", "sample_fits03.header"), | |
]) | |
def test_region(ref_name, reg_name, header_name): | |
header = Header.fromtextfile(join(rootdir, header_name)) | |
ref_region = pyregion_open(join(rootdir, ref_name)).as_imagecoord(header) | |
> r = pyregion_open(join(rootdir, reg_name)).as_imagecoord(header) | |
pyregion/tests/test_region.py:39: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
pyregion/core.py:70: in as_imagecoord | |
shape_list, comment_list = zip(*list(r)) | |
pyregion/ds9_region_parser.py:187: in sky_to_image | |
new_coords = convert_to_imagecoord(shape, header) | |
pyregion/wcs_converter.py:93: in convert_to_imagecoord | |
for x in old_coordinate.to_pixel(new_wcs, origin=1) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/sky_coordinate.py:1789: in to_pixel | |
return skycoord_to_pixel(self, wcs=wcs, origin=origin, mode=mode) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/wcs/utils.py:575: in skycoord_to_pixel | |
coords = coords.transform_to(frame) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/sky_coordinate.py:704: in transform_to | |
new_coord = trans(self.frame, generic_frame) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/transformations.py:1575: in __call__ | |
curr_coord = t(curr_coord, curr_toframe) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/transformations.py:1144: in __call__ | |
return supcall(fromcoord, toframe) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/builtin_frames/fk4.py:156: in fk4_to_fk4_no_e | |
u.Quantity(fk4_e_terms(fk4coord.equinox), u.dimensionless_unscaled, copy=False), | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/builtin_frames/fk4.py:131: in fk4_e_terms | |
o = earth.obliquity(equinox.jd, algorithm=1980) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/earth_orientation.py:110: in obliquity | |
return np.rad2deg(erfa.obl80(jd, 0)) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
date1 = 2433282.42345905, date2 = 0 | |
def obl80(date1, date2): | |
""" | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Parameters | |
---------- | |
date1 : double array | |
date2 : double array | |
Returns | |
------- | |
c_retval : double array | |
Notes | |
----- | |
Wraps ERFA function ``eraObl80``. The ERFA documentation is:: | |
- - - - - - - - - | |
e r a O b l 8 0 | |
- - - - - - - - - | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Given: | |
date1,date2 double TT as a 2-part Julian Date (Note 1) | |
Returned (function value): | |
double obliquity of the ecliptic (radians, Note 2) | |
Notes: | |
1) The TT date date1+date2 is a Julian Date, apportioned in any | |
convenient way between the two arguments. For example, | |
JD(TT)=2450123.7 could be expressed in any of these ways, | |
among others: | |
date1 date2 | |
2450123.7 0.0 (JD method) | |
2451545.0 -1421.3 (J2000 method) | |
2400000.5 50123.2 (MJD method) | |
2450123.5 0.2 (date & time method) | |
The JD method is the most natural and convenient to use in | |
cases where the loss of several decimal digits of resolution | |
is acceptable. The J2000 method is best matched to the way | |
the argument is handled internally and will deliver the | |
optimum resolution. The MJD method and the date & time methods | |
are both good compromises between resolution and convenience. | |
2) The result is the angle between the ecliptic and mean equator of | |
date date1+date2. | |
Reference: | |
Explanatory Supplement to the Astronomical Almanac, | |
P. Kenneth Seidelmann (ed), University Science Books (1992), | |
Expression 3.222-1 (p114). | |
This revision: 2021 May 11 | |
Copyright (C) 2013-2021, NumFOCUS Foundation. | |
Derived, with permission, from the SOFA library. See notes at end of file. | |
""" | |
> c_retval = ufunc.obl80(date1, date2) | |
E numpy.core._exceptions._UFuncNoLoopError: ufunc 'obl80' did not contain a loop with signature matching types (<class 'numpy.dtype[float64]'>, <class 'numpy.dtype[int64]'>) -> None | |
/nix/store/p3aipsvqn3rpf8c5z0fk1yfqwjkxvh5m-python3.10-pyerfa-2.0.0.1/lib/python3.10/site-packages/erfa/core.py:9623: UFuncTypeError | |
______ test_calculate_rotation_angle[fk4-sample_fits01.header--0.0810223] ______ | |
region_frame = 'fk4', header_name = 'sample_fits01.header' | |
rot_angle = -0.0810223 | |
@pytest.mark.parametrize(("region_frame", "header_name", "rot_angle"), [ | |
('fk5', 'sample_fits01.header', 0.00505712), | |
('galactic', 'sample_fits01.header', -19.2328), | |
('fk4', 'sample_fits01.header', -0.0810223), | |
('fk5', 'sample_fits03.header', -2.16043), | |
]) | |
def test_calculate_rotation_angle(region_frame, header_name, rot_angle): | |
header = Header.fromtextfile(os.path.join(rootdir, header_name)) | |
assert_allclose( | |
> _calculate_rotation_angle(region_frame, header), rot_angle, | |
atol=0.001 | |
) | |
pyregion/tests/test_wcs.py:40: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
pyregion/wcs_helper.py:68: in _calculate_rotation_angle | |
origin=1).transform_to(region_frame) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/sky_coordinate.py:704: in transform_to | |
new_coord = trans(self.frame, generic_frame) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/transformations.py:1575: in __call__ | |
curr_coord = t(curr_coord, curr_toframe) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/transformations.py:1144: in __call__ | |
return supcall(fromcoord, toframe) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/builtin_frames/fk4.py:206: in fk4_no_e_to_fk4 | |
fk4_e_terms(fk4noecoord.equinox), u.dimensionless_unscaled, copy=False | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/builtin_frames/fk4.py:131: in fk4_e_terms | |
o = earth.obliquity(equinox.jd, algorithm=1980) | |
/nix/store/ibw6b5l4hiw9lfamy9gmn3bajzh3iqxx-python3.10-astropy-5.2/lib/python3.10/site-packages/astropy/coordinates/earth_orientation.py:110: in obliquity | |
return np.rad2deg(erfa.obl80(jd, 0)) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
date1 = 2433282.42345905, date2 = 0 | |
def obl80(date1, date2): | |
""" | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Parameters | |
---------- | |
date1 : double array | |
date2 : double array | |
Returns | |
------- | |
c_retval : double array | |
Notes | |
----- | |
Wraps ERFA function ``eraObl80``. The ERFA documentation is:: | |
- - - - - - - - - | |
e r a O b l 8 0 | |
- - - - - - - - - | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Given: | |
date1,date2 double TT as a 2-part Julian Date (Note 1) | |
Returned (function value): | |
double obliquity of the ecliptic (radians, Note 2) | |
Notes: | |
1) The TT date date1+date2 is a Julian Date, apportioned in any | |
convenient way between the two arguments. For example, | |
JD(TT)=2450123.7 could be expressed in any of these ways, | |
among others: | |
date1 date2 | |
2450123.7 0.0 (JD method) | |
2451545.0 -1421.3 (J2000 method) | |
2400000.5 50123.2 (MJD method) | |
2450123.5 0.2 (date & time method) | |
The JD method is the most natural and convenient to use in | |
cases where the loss of several decimal digits of resolution | |
is acceptable. The J2000 method is best matched to the way | |
the argument is handled internally and will deliver the | |
optimum resolution. The MJD method and the date & time methods | |
are both good compromises between resolution and convenience. | |
2) The result is the angle between the ecliptic and mean equator of | |
date date1+date2. | |
Reference: | |
Explanatory Supplement to the Astronomical Almanac, | |
P. Kenneth Seidelmann (ed), University Science Books (1992), | |
Expression 3.222-1 (p114). | |
This revision: 2021 May 11 | |
Copyright (C) 2013-2021, NumFOCUS Foundation. | |
Derived, with permission, from the SOFA library. See notes at end of file. | |
""" | |
> c_retval = ufunc.obl80(date1, date2) | |
E numpy.core._exceptions._UFuncNoLoopError: ufunc 'obl80' did not contain a loop with signature matching types (<class 'numpy.dtype[float64]'>, <class 'numpy.dtype[int64]'>) -> None | |
/nix/store/p3aipsvqn3rpf8c5z0fk1yfqwjkxvh5m-python3.10-pyerfa-2.0.0.1/lib/python3.10/site-packages/erfa/core.py:9623: UFuncTypeError | |
=============================== warnings summary =============================== | |
build/lib.linux-x86_64-cpython-310/pyregion/tests/test_region.py::test_open_regions[test01.reg] | |
/build/source/build/lib.linux-x86_64-cpython-310/pyregion/ds9_region_parser.py:107: UserWarning: Failed to parse : ascircle(171.10096,-59.250612,18.510811") # color=cyan | |
warnings.warn("Failed to parse : " + l) | |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
=========================== short test summary info ============================ | |
FAILED pyregion/tests/test_region.py::test_region[test01_img.reg-test01_fk4.reg-sample_fits01.header] - numpy.core._exceptions._UFuncNoLoopError: ufunc 'obl80' did not contain a l... | |
FAILED pyregion/tests/test_wcs.py::test_calculate_rotation_angle[fk4-sample_fits01.header--0.0810223] - numpy.core._exceptions._UFuncNoLoopError: ufunc 'obl80' did not contain a l... | |
=================== 2 failed, 43 passed, 1 warning in 4.84s ==================== | |
/nix/store/b09v23lirgvci3wzszh22mbkdfj0h0yq-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing setuptools-build-hook | |
Using setuptoolsBuildPhase | |
Using setuptoolsShellHook | |
Sourcing pip-install-hook | |
Using pipInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing setuptools-check-hook | |
Using setuptoolsCheckPhase | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Removing setuptoolsCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/w16vafwcgn2q9h2g2pkjbraxaw9d5qy7-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/setup.py | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
applying patch /nix/store/j4haznyszcqyvg7ig6wqhfiqw5sxnf07-082649730d353a0d0c0ee9619be1aa501aabba62.patch | |
patching file pyregion/conftest.py | |
applying patch /nix/store/wznwy3ad7vl4giqcnc70ky12bamxb8gp-c448a465dd56887979da62aec6138fc89bb37b19.patch | |
patching file pyregion/wcs_converter.py | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
building | |
Executing setuptoolsBuildPhase | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/setup_helpers.py:161: AstropyDeprecationWarning: The package argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead | |
warnings.warn('The package argument to generate_version_py has ' | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/setup_helpers.py:166: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead | |
warnings.warn('The version argument to generate_version_py has ' | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/setup_helpers.py:171: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release | |
warnings.warn('The release argument to generate_version_py has ' | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/version_helpers.py:239: AstropyDeprecationWarning: The packagename argument to generate_version_py has been deprecated and will be removed in future. Specify the package name in setup.cfg instead | |
warnings.warn('The packagename argument to generate_version_py has ' | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/version_helpers.py:244: AstropyDeprecationWarning: The version argument to generate_version_py has been deprecated and will be removed in future. Specify the version number in setup.cfg instead | |
warnings.warn('The version argument to generate_version_py has ' | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/version_helpers.py:249: AstropyDeprecationWarning: The release argument to generate_version_py has been deprecated and will be removed in future. We now use the presence of the "dev" string in the version to determine whether this is a release | |
warnings.warn('The release argument to generate_version_py has ' | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/git_helpers.py:114: UserWarning: Error running git: [Errno 2] No such file or directory: 'git' | |
warnings.warn('Error running git: ' + str(e)) | |
/nix/store/4jwbf3rqnrkm4iv9l1g9zn13nfhc996c-python3.11-astropy-helpers-4.0.1/lib/python3.11/site-packages/astropy_helpers/setup_helpers.py:411: SetuptoolsDeprecationWarning: As setuptools moves its configuration towards `pyproject.toml`, | |
`setuptools.config.read_configuration` became deprecated. | |
For the time being, you can use the `setuptools.config.setupcfg` module | |
to access a backward compatible API, but this module is provisional | |
and might be removed in the future. | |
conf = read_configuration(setup_cfg) | |
/nix/store/p5vmzxk6wq1jgqgfqwixf8mr7aq2qra3-python3.11-setuptools-65.6.3/lib/python3.11/site-packages/setuptools/dist.py:316: DistDeprecationWarning: use_2to3 is ignored. | |
warnings.warn(f"{attr} is ignored.", DistDeprecationWarning) | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-x86_64-cpython-311 | |
creating build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/version.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/wcs_converter.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/conftest.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/wcs_helper.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/region_to_filter.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/region_numbers.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/physical_coordinate.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/parser_helper.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/mpl_helper.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/ds9_region_parser.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/ds9_attr_parser.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/core.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/_astropy_init.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
copying pyregion/__init__.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
creating build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_wcs.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_region_numbers.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_region.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_parser_helper.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_get_mask.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_ds9_region_parser.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_ds9_attr_parser.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/test_cube.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/setup_package.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
copying pyregion/tests/coveragerc -> build/lib.linux-x86_64-cpython-311/pyregion/tests | |
creating build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test03_img.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test03_icrs.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test03_gal.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test03_fk5.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test03_ciao_physical.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test02_1_img.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_icrs.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk4.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test_text.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test_context.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test_annuli_wcs.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test_annuli_ciao.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test_annuli.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test04_img.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test02.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_print.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_mixed.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_img.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_gal.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk5_sexagecimal.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk5.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_fk5_degree.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_ds9_physical.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_ciao_physical.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01_ciao.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test01.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test02_1_fk5.reg -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits04.header -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits03.header -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/test.header -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits02.header -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
copying pyregion/tests/data/sample_fits01.header -> build/lib.linux-x86_64-cpython-311/pyregion/tests/data | |
running build_ext | |
/nix/store/r85cm22i6058g4zj76w05rzvqwil6d2g-python3-3.11.1/lib/python3.11/importlib/__init__.py:169: UserWarning: The NumPy module was reloaded (imported a second time). This can in some cases result in small but subtle issues and is discouraged. | |
_bootstrap._exec(spec, module) | |
cythoning pyregion/_region_filter.pyx to pyregion/_region_filter.c | |
/nix/store/vvigcwdg03jpm6bs24hd8g1wl7xhfh1s-python3.11-cython-0.29.33/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: /build/source/pyregion/_region_filter.pyx | |
tree = Parsing.p_module(s, pxd, full_module_name) | |
building 'pyregion.compiler_version' extension | |
creating build/temp.linux-x86_64-cpython-311 | |
creating build/temp.linux-x86_64-cpython-311/pyregion | |
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/include -fPIC -I/nix/store/r85cm22i6058g4zj76w05rzvqwil6d2g-python3-3.11.1/include/python3.11 -c pyregion/_compiler.c -o build/temp.linux-x86_64-cpython-311/pyregion/_compiler.o | |
gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib build/temp.linux-x86_64-cpython-311/pyregion/_compiler.o -L/nix/store/r85cm22i6058g4zj76w05rzvqwil6d2g-python3-3.11.1/lib -o build/lib.linux-x86_64-cpython-311/pyregion/compiler_version.cpython-311-x86_64-linux-gnu.so | |
building 'pyregion._region_filter' extension | |
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/include -fPIC -I/nix/store/1g6bf72d5gna2kz1s1jqb5h8a8bpd9ac-python3.11-numpy-1.23.5/lib/python3.11/site-packages/numpy/core/include -I/nix/store/r85cm22i6058g4zj76w05rzvqwil6d2g-python3-3.11.1/include/python3.11 -c pyregion/_region_filter.c -o build/temp.linux-x86_64-cpython-311/pyregion/_region_filter.o -Wp,-w -Wno-unused-function | |
gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.13/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.5.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.4.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/kaiinm7cjirmv4zd3pdqar23rsypfqlh-libxcrypt-4.4.33/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.40.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.8/lib -L/nix/store/66fr4mlfnwym5dw4bx61xs7nb81q58cb-tzdata-2022g/lib build/temp.linux-x86_64-cpython-311/pyregion/_region_filter.o -L/nix/store/r85cm22i6058g4zj76w05rzvqwil6d2g-python3-3.11.1/lib -o build/lib.linux-x86_64-cpython-311/pyregion/_region_filter.cpython-311-x86_64-linux-gnu.so | |
copying pyregion/cython_version.py -> build/lib.linux-x86_64-cpython-311/pyregion | |
/nix/store/p5vmzxk6wq1jgqgfqwixf8mr7aq2qra3-python3.11-setuptools-65.6.3/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
creating build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/cython_version.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/_region_filter.cpython-311-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/compiler_version.cpython-311-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/pyregion | |
creating build/bdist.linux-x86_64/wheel/pyregion/tests | |
creating build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/sample_fits01.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/sample_fits02.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/sample_fits03.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/sample_fits04.header -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test02_1_fk5.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_ciao.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_ciao_physical.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_ds9_physical.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_fk5_degree.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_fk5.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_fk5_sexagecimal.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_gal.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_mixed.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_print.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test02.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test04_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test_annuli.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test_annuli_ciao.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test_annuli_wcs.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test_context.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test_text.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_fk4.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test01_icrs.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test02_1_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test03_ciao_physical.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test03_fk5.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test03_gal.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test03_icrs.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/data/test03_img.reg -> build/bdist.linux-x86_64/wheel/pyregion/tests/data | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/coveragerc -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/__init__.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/setup_package.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_cube.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_ds9_attr_parser.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_ds9_region_parser.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_get_mask.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_parser_helper.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_region.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_region_numbers.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/tests/test_wcs.py -> build/bdist.linux-x86_64/wheel/pyregion/tests | |
copying build/lib.linux-x86_64-cpython-311/pyregion/__init__.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/_astropy_init.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/core.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/ds9_attr_parser.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/ds9_region_parser.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/mpl_helper.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/parser_helper.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/physical_coordinate.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/region_numbers.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/region_to_filter.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/wcs_helper.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/conftest.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/wcs_converter.py -> build/bdist.linux-x86_64/wheel/pyregion | |
copying build/lib.linux-x86_64-cpython-311/pyregion/version.py -> build/bdist.linux-x86_64/wheel/pyregion | |
running install_egg_info | |
running egg_info | |
creating pyregion.egg-info | |
writing pyregion.egg-info/PKG-INFO | |
writing dependency_links to pyregion.egg-info/dependency_links.txt | |
writing requirements to pyregion.egg-info/requires.txt | |
writing top-level names to pyregion.egg-info/top_level.txt | |
writing manifest file 'pyregion.egg-info/SOURCES.txt' | |
reading manifest file 'pyregion.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no files found matching '*' under directory 'licenses' | |
warning: no files found matching '*' under directory 'cextern' | |
warning: no files found matching '*' under directory 'scripts' | |
no previously-included directories found matching 'build' | |
no previously-included directories found matching 'docs/_build' | |
no previously-included directories found matching 'docs/api' | |
warning: no files found matching 'astropy_helpers/README.rst' | |
warning: no files found matching 'astropy_helpers/CHANGES.rst' | |
warning: no files found matching 'astropy_helpers/LICENSE.rst' | |
warning: no files found matching '*' under directory 'astropy_helpers/licenses' | |
warning: no files found matching 'astropy_helpers/ez_setup.py' | |
warning: no files found matching 'astropy_helpers/ah_bootstrap.py' | |
warning: no files found matching '*.py' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*.pyx' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*.c' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*.h' under directory 'astropy_helpers/astropy_helpers' | |
warning: no files found matching '*' under directory 'astropy_helpers/astropy_helpers.egg-info' | |
warning: no files found matching '*' under directory 'astropy_helpers/astropy_helpers/sphinx' | |
no previously-included directories found matching 'astropy_helpers/build' | |
no previously-included directories found matching 'astropy_helpers/astropy_helpers/tests' | |
warning: no previously-included files matching '*.pyc' found anywhere in distribution | |
warning: no previously-included files matching '*.o' found anywhere in distribution | |
adding license file 'LICENSE' | |
writing manifest file 'pyregion.egg-info/SOURCES.txt' | |
Copying pyregion.egg-info to build/bdist.linux-x86_64/wheel/pyregion-2.1.1-py3.11.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/pyregion-2.1.1.dist-info/WHEEL | |
creating 'dist/pyregion-2.1.1-cp311-cp311-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'pyregion/__init__.py' | |
adding 'pyregion/_astropy_init.py' | |
adding 'pyregion/_region_filter.cpython-311-x86_64-linux-gnu.so' | |
adding 'pyregion/compiler_version.cpython-311-x86_64-linux-gnu.so' | |
adding 'pyregion/conftest.py' | |
adding 'pyregion/core.py' | |
adding 'pyregion/cython_version.py' | |
adding 'pyregion/ds9_attr_parser.py' | |
adding 'pyregion/ds9_region_parser.py' | |
adding 'pyregion/mpl_helper.py' | |
adding 'pyregion/parser_helper.py' | |
adding 'pyregion/physical_coordinate.py' | |
adding 'pyregion/region_numbers.py' | |
adding 'pyregion/region_to_filter.py' | |
adding 'pyregion/version.py' | |
adding 'pyregion/wcs_converter.py' | |
adding 'pyregion/wcs_helper.py' | |
adding 'pyregion/tests/__init__.py' | |
adding 'pyregion/tests/coveragerc' | |
adding 'pyregion/tests/setup_package.py' | |
adding 'pyregion/tests/test_cube.py' | |
adding 'pyregion/tests/test_ds9_attr_parser.py' | |
adding 'pyregion/tests/test_ds9_region_parser.py' | |
adding 'pyregion/tests/test_get_mask.py' | |
adding 'pyregion/tests/test_parser_helper.py' | |
adding 'pyregion/tests/test_region.py' | |
adding 'pyregion/tests/test_region_numbers.py' | |
adding 'pyregion/tests/test_wcs.py' | |
adding 'pyregion/tests/data/sample_fits01.header' | |
adding 'pyregion/tests/data/sample_fits02.header' | |
adding 'pyregion/tests/data/sample_fits03.header' | |
adding 'pyregion/tests/data/sample_fits04.header' | |
adding 'pyregion/tests/data/test.header' | |
adding 'pyregion/tests/data/test01.reg' | |
adding 'pyregion/tests/data/test01_ciao.reg' | |
adding 'pyregion/tests/data/test01_ciao_physical.reg' | |
adding 'pyregion/tests/data/test01_ds9_physical.reg' | |
adding 'pyregion/tests/data/test01_fk4.reg' | |
adding 'pyregion/tests/data/test01_fk5.reg' | |
adding 'pyregion/tests/data/test01_fk5_degree.reg' | |
adding 'pyregion/tests/data/test01_fk5_sexagecimal.reg' | |
adding 'pyregion/tests/data/test01_gal.reg' | |
adding 'pyregion/tests/data/test01_icrs.reg' | |
adding 'pyregion/tests/data/test01_img.reg' | |
adding 'pyregion/tests/data/test01_mixed.reg' | |
adding 'pyregion/tests/data/test01_print.reg' | |
adding 'pyregion/tests/data/test02.reg' | |
adding 'pyregion/tests/data/test02_1_fk5.reg' | |
adding 'pyregion/tests/data/test02_1_img.reg' | |
adding 'pyregion/tests/data/test03_ciao_physical.reg' | |
adding 'pyregion/tests/data/test03_fk5.reg' | |
adding 'pyregion/tests/data/test03_gal.reg' | |
adding 'pyregion/tests/data/test03_icrs.reg' | |
adding 'pyregion/tests/data/test03_img.reg' | |
adding 'pyregion/tests/data/test04_img.reg' | |
adding 'pyregion/tests/data/test_annuli.reg' | |
adding 'pyregion/tests/data/test_annuli_ciao.reg' | |
adding 'pyregion/tests/data/test_annuli_wcs.reg' | |
adding 'pyregion/tests/data/test_context.reg' | |
adding 'pyregion/tests/data/test_text.reg' | |
adding 'pyregion-2.1.1.dist-info/LICENSE' | |
adding 'pyregion-2.1.1.dist-info/METADATA' | |
adding 'pyregion-2.1.1.dist-info/WHEEL' | |
adding 'pyregion-2.1.1.dist-info/top_level.txt' | |
adding 'pyregion-2.1.1.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
Finished executing setuptoolsBuildPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
installing | |
Executing pipInstallPhase | |
/build/source/dist /build/source | |
Processing ./pyregion-2.1.1-cp311-cp311-linux_x86_64.whl | |
Requirement already satisfied: pyparsing>=2.0 in /nix/store/5mgg0dm9h354rf0xa0hmnrjxwcz2j3fq-python3.11-pyparsing-3.0.9/lib/python3.11/site-packages (from pyregion==2.1.1) (3.0.9) | |
Requirement already satisfied: numpy in /nix/store/1g6bf72d5gna2kz1s1jqb5h8a8bpd9ac-python3.11-numpy-1.23.5/lib/python3.11/site-packages (from pyregion==2.1.1) (1.23.5) | |
Requirement already satisfied: Cython in /nix/store/vvigcwdg03jpm6bs24hd8g1wl7xhfh1s-python3.11-cython-0.29.33/lib/python3.11/site-packages (from pyregion==2.1.1) (0.29.33) | |
Requirement already satisfied: astropy>=1.0 in /nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages (from pyregion==2.1.1) (5.2) | |
Requirement already satisfied: pyerfa>=2.0 in /nix/store/l6r2z66z2gkx9r2agy49gifcscvj9a4r-python3.11-pyerfa-2.0.0.1/lib/python3.11/site-packages (from astropy>=1.0->pyregion==2.1.1) (2.0.0.1) | |
Requirement already satisfied: PyYAML>=3.13 in /nix/store/vdbv8c700ip645xigh2ilg44nrl6kpxb-python3.11-pyyaml-6.0/lib/python3.11/site-packages (from astropy>=1.0->pyregion==2.1.1) (6.0) | |
Requirement already satisfied: packaging>=19.0 in /nix/store/dz8w1cgvzbly1i8ikh3nxwssnlc190fi-python3.11-packaging-21.3/lib/python3.11/site-packages (from astropy>=1.0->pyregion==2.1.1) (21.3) | |
Installing collected packages: pyregion | |
Successfully installed pyregion-2.1.1 | |
/build/source | |
Finished executing pipInstallPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/b4liikshjld88a8v2g2rrsrbyqijl6l5-python3.11-pyregion-2.1.1 | |
shrinking /nix/store/b4liikshjld88a8v2g2rrsrbyqijl6l5-python3.11-pyregion-2.1.1/lib/python3.11/site-packages/pyregion/compiler_version.cpython-311-x86_64-linux-gnu.so | |
shrinking /nix/store/b4liikshjld88a8v2g2rrsrbyqijl6l5-python3.11-pyregion-2.1.1/lib/python3.11/site-packages/pyregion/_region_filter.cpython-311-x86_64-linux-gnu.so | |
checking for references to /build/ in /nix/store/b4liikshjld88a8v2g2rrsrbyqijl6l5-python3.11-pyregion-2.1.1... | |
patching script interpreter paths in /nix/store/b4liikshjld88a8v2g2rrsrbyqijl6l5-python3.11-pyregion-2.1.1 | |
stripping (with command strip and flags -S) in /nix/store/b4liikshjld88a8v2g2rrsrbyqijl6l5-python3.11-pyregion-2.1.1/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/3537kgrg29ns9907li1r4zb8nfjwsziv-python3.11-pyregion-2.1.1-dist | |
checking for references to /build/ in /nix/store/3537kgrg29ns9907li1r4zb8nfjwsziv-python3.11-pyregion-2.1.1-dist... | |
patching script interpreter paths in /nix/store/3537kgrg29ns9907li1r4zb8nfjwsziv-python3.11-pyregion-2.1.1-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
running install tests | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
pytestCheckPhase | |
Executing pytestCheckPhase | |
/build/source/build/lib.linux-x86_64-cpython-311 /build/source | |
============================= test session starts ============================== | |
platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0 | |
rootdir: /build/source, configfile: setup.cfg | |
plugins: astropy-0.10.0, hypothesis-6.61.0, arraydiff-0.5.0, astropy-header-0.2.2, cov-4.0.0, doctestplus-0.12.1, filter-subpackage-0.1.2, mock-3.10.0, openfiles-0.5.0, remotedata-0.4.0 | |
collecting ... | |
collected 45 items | |
pyregion/tests/test_cube.py . [ 2%] | |
pyregion/tests/test_ds9_attr_parser.py ... [ 8%] | |
pyregion/tests/test_ds9_region_parser.py .... [ 17%] | |
pyregion/tests/test_get_mask.py . [ 20%] | |
pyregion/tests/test_parser_helper.py . [ 22%] | |
pyregion/tests/test_region.py ........F............. [ 71%] | |
pyregion/tests/test_region_numbers.py ....... [ 86%] | |
pyregion/tests/test_wcs.py ....F. [100%] | |
=================================== FAILURES =================================== | |
_______ test_region[test01_img.reg-test01_fk4.reg-sample_fits01.header] ________ | |
ref_name = 'test01_img.reg', reg_name = 'test01_fk4.reg' | |
header_name = 'sample_fits01.header' | |
@pytest.mark.parametrize(("ref_name", "reg_name", "header_name"), [ | |
("test01_img.reg", "test01_fk5_sexagecimal.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_gal.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_ds9_physical.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_fk5_degree.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_mixed.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_ciao.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_ciao_physical.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_fk5.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_fk4.reg", "sample_fits01.header"), | |
("test01_img.reg", "test01_icrs.reg", "sample_fits01.header"), | |
("test02_1_img.reg", "test02_1_fk5.reg", "sample_fits02.header"), | |
("test_annuli.reg", "test_annuli_wcs.reg", "sample_fits01.header"), | |
("test03_img.reg", "test03_fk5.reg", "sample_fits03.header"), | |
("test03_img.reg", "test03_icrs.reg", "sample_fits03.header"), | |
("test03_img.reg", "test03_ciao_physical.reg", "sample_fits03.header"), | |
("test03_img.reg", "test03_gal.reg", "sample_fits03.header"), | |
]) | |
def test_region(ref_name, reg_name, header_name): | |
header = Header.fromtextfile(join(rootdir, header_name)) | |
ref_region = pyregion_open(join(rootdir, ref_name)).as_imagecoord(header) | |
> r = pyregion_open(join(rootdir, reg_name)).as_imagecoord(header) | |
pyregion/tests/test_region.py:39: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
pyregion/core.py:70: in as_imagecoord | |
shape_list, comment_list = zip(*list(r)) | |
pyregion/ds9_region_parser.py:187: in sky_to_image | |
new_coords = convert_to_imagecoord(shape, header) | |
pyregion/wcs_converter.py:93: in convert_to_imagecoord | |
for x in old_coordinate.to_pixel(new_wcs, origin=1) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/sky_coordinate.py:1789: in to_pixel | |
return skycoord_to_pixel(self, wcs=wcs, origin=origin, mode=mode) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/wcs/utils.py:575: in skycoord_to_pixel | |
coords = coords.transform_to(frame) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/sky_coordinate.py:704: in transform_to | |
new_coord = trans(self.frame, generic_frame) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/transformations.py:1575: in __call__ | |
curr_coord = t(curr_coord, curr_toframe) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/transformations.py:1144: in __call__ | |
return supcall(fromcoord, toframe) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/builtin_frames/fk4.py:156: in fk4_to_fk4_no_e | |
u.Quantity(fk4_e_terms(fk4coord.equinox), u.dimensionless_unscaled, copy=False), | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/builtin_frames/fk4.py:131: in fk4_e_terms | |
o = earth.obliquity(equinox.jd, algorithm=1980) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/earth_orientation.py:110: in obliquity | |
return np.rad2deg(erfa.obl80(jd, 0)) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
date1 = 2433282.42345905, date2 = 0 | |
def obl80(date1, date2): | |
""" | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Parameters | |
---------- | |
date1 : double array | |
date2 : double array | |
Returns | |
------- | |
c_retval : double array | |
Notes | |
----- | |
Wraps ERFA function ``eraObl80``. The ERFA documentation is:: | |
- - - - - - - - - | |
e r a O b l 8 0 | |
- - - - - - - - - | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Given: | |
date1,date2 double TT as a 2-part Julian Date (Note 1) | |
Returned (function value): | |
double obliquity of the ecliptic (radians, Note 2) | |
Notes: | |
1) The TT date date1+date2 is a Julian Date, apportioned in any | |
convenient way between the two arguments. For example, | |
JD(TT)=2450123.7 could be expressed in any of these ways, | |
among others: | |
date1 date2 | |
2450123.7 0.0 (JD method) | |
2451545.0 -1421.3 (J2000 method) | |
2400000.5 50123.2 (MJD method) | |
2450123.5 0.2 (date & time method) | |
The JD method is the most natural and convenient to use in | |
cases where the loss of several decimal digits of resolution | |
is acceptable. The J2000 method is best matched to the way | |
the argument is handled internally and will deliver the | |
optimum resolution. The MJD method and the date & time methods | |
are both good compromises between resolution and convenience. | |
2) The result is the angle between the ecliptic and mean equator of | |
date date1+date2. | |
Reference: | |
Explanatory Supplement to the Astronomical Almanac, | |
P. Kenneth Seidelmann (ed), University Science Books (1992), | |
Expression 3.222-1 (p114). | |
This revision: 2021 May 11 | |
Copyright (C) 2013-2021, NumFOCUS Foundation. | |
Derived, with permission, from the SOFA library. See notes at end of file. | |
""" | |
> c_retval = ufunc.obl80(date1, date2) | |
E ValueError: Invalid data-type for array | |
/nix/store/l6r2z66z2gkx9r2agy49gifcscvj9a4r-python3.11-pyerfa-2.0.0.1/lib/python3.11/site-packages/erfa/core.py:9623: ValueError | |
______ test_calculate_rotation_angle[fk4-sample_fits01.header--0.0810223] ______ | |
region_frame = 'fk4', header_name = 'sample_fits01.header' | |
rot_angle = -0.0810223 | |
@pytest.mark.parametrize(("region_frame", "header_name", "rot_angle"), [ | |
('fk5', 'sample_fits01.header', 0.00505712), | |
('galactic', 'sample_fits01.header', -19.2328), | |
('fk4', 'sample_fits01.header', -0.0810223), | |
('fk5', 'sample_fits03.header', -2.16043), | |
]) | |
def test_calculate_rotation_angle(region_frame, header_name, rot_angle): | |
header = Header.fromtextfile(os.path.join(rootdir, header_name)) | |
assert_allclose( | |
> _calculate_rotation_angle(region_frame, header), rot_angle, | |
atol=0.001 | |
) | |
pyregion/tests/test_wcs.py:40: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
pyregion/wcs_helper.py:68: in _calculate_rotation_angle | |
origin=1).transform_to(region_frame) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/sky_coordinate.py:704: in transform_to | |
new_coord = trans(self.frame, generic_frame) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/transformations.py:1575: in __call__ | |
curr_coord = t(curr_coord, curr_toframe) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/transformations.py:1144: in __call__ | |
return supcall(fromcoord, toframe) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/builtin_frames/fk4.py:206: in fk4_no_e_to_fk4 | |
fk4_e_terms(fk4noecoord.equinox), u.dimensionless_unscaled, copy=False | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/builtin_frames/fk4.py:131: in fk4_e_terms | |
o = earth.obliquity(equinox.jd, algorithm=1980) | |
/nix/store/fb27jicry4lqhalx6x3r6dn80nk1mpsi-python3.11-astropy-5.2/lib/python3.11/site-packages/astropy/coordinates/earth_orientation.py:110: in obliquity | |
return np.rad2deg(erfa.obl80(jd, 0)) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
date1 = 2433282.42345905, date2 = 0 | |
def obl80(date1, date2): | |
""" | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Parameters | |
---------- | |
date1 : double array | |
date2 : double array | |
Returns | |
------- | |
c_retval : double array | |
Notes | |
----- | |
Wraps ERFA function ``eraObl80``. The ERFA documentation is:: | |
- - - - - - - - - | |
e r a O b l 8 0 | |
- - - - - - - - - | |
Mean obliquity of the ecliptic, IAU 1980 model. | |
Given: | |
date1,date2 double TT as a 2-part Julian Date (Note 1) | |
Returned (function value): | |
double obliquity of the ecliptic (radians, Note 2) | |
Notes: | |
1) The TT date date1+date2 is a Julian Date, apportioned in any | |
convenient way between the two arguments. For example, | |
JD(TT)=2450123.7 could be expressed in any of these ways, | |
among others: | |
date1 date2 | |
2450123.7 0.0 (JD method) | |
2451545.0 -1421.3 (J2000 method) | |
2400000.5 50123.2 (MJD method) | |
2450123.5 0.2 (date & time method) | |
The JD method is the most natural and convenient to use in | |
cases where the loss of several decimal digits of resolution | |
is acceptable. The J2000 method is best matched to the way | |
the argument is handled internally and will deliver the | |
optimum resolution. The MJD method and the date & time methods | |
are both good compromises between resolution and convenience. | |
2) The result is the angle between the ecliptic and mean equator of | |
date date1+date2. | |
Reference: | |
Explanatory Supplement to the Astronomical Almanac, | |
P. Kenneth Seidelmann (ed), University Science Books (1992), | |
Expression 3.222-1 (p114). | |
This revision: 2021 May 11 | |
Copyright (C) 2013-2021, NumFOCUS Foundation. | |
Derived, with permission, from the SOFA library. See notes at end of file. | |
""" | |
> c_retval = ufunc.obl80(date1, date2) | |
E ValueError: Invalid data-type for array | |
/nix/store/l6r2z66z2gkx9r2agy49gifcscvj9a4r-python3.11-pyerfa-2.0.0.1/lib/python3.11/site-packages/erfa/core.py:9623: ValueError | |
=============================== warnings summary =============================== | |
build/lib.linux-x86_64-cpython-311/pyregion/tests/test_region.py::test_open_regions[test01.reg] | |
/build/source/build/lib.linux-x86_64-cpython-311/pyregion/ds9_region_parser.py:107: UserWarning: Failed to parse : ascircle(171.10096,-59.250612,18.510811") # color=cyan | |
warnings.warn("Failed to parse : " + l) | |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
=========================== short test summary info ============================ | |
FAILED pyregion/tests/test_region.py::test_region[test01_img.reg-test01_fk4.reg-sample_fits01.header] - ValueError: Invalid data-type for array | |
FAILED pyregion/tests/test_wcs.py::test_calculate_rotation_angle[fk4-sample_fits01.header--0.0810223] - ValueError: Invalid data-type for array | |
=================== 2 failed, 43 passed, 1 warning in 4.87s ==================== | |
/nix/store/b09v23lirgvci3wzszh22mbkdfj0h0yq-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment