Skip to content

Instantly share code, notes, and snippets.

@doronbehar
Created September 15, 2023 12:39
Show Gist options
  • Save doronbehar/9eefd3fdb24031e3879621114a6da76b to your computer and use it in GitHub Desktop.
Save doronbehar/9eefd3fdb24031e3879621114a6da76b to your computer and use it in GitHub Desktop.
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pypa-build-hook
Using pypaBuildPhase
Sourcing pypa-install-hook
Using pypaInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/dzwiccgbyji2f9zfz4rzn8km5873rvg0-pyerfa-2.0.0.3.tar.gz
source root is pyerfa-2.0.0.3
setting SOURCE_DATE_EPOCH to timestamp 1679528792 of file pyerfa-2.0.0.3/setup.cfg
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/6bckghz14sgwz3k76ww2225nr5y63s2x-4866342b94c5e7344711146f1186a4c3e7534da8.patch
patching file erfa/ufunc.c.templ
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./liberfa/erfa/build-aux/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./liberfa/erfa/build-aux/config.guess
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing libtool script ./liberfa/erfa/build-aux/ltmain.sh
./liberfa/erfa/configure
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing pypaBuildPhase
Creating a wheel...
* Getting build dependencies for wheel...
Using system liberfa
/nix/store/4mm6znbhkrxm02q9gda7xwfqj7dnc53r-python3.10-setuptools-68.0.0/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
* Building wheel...
Using system liberfa
/nix/store/4mm6znbhkrxm02q9gda7xwfqj7dnc53r-python3.10-setuptools-68.0.0/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
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/erfa
copying erfa/helpers.py -> build/lib.linux-x86_64-cpython-310/erfa
copying erfa/__init__.py -> build/lib.linux-x86_64-cpython-310/erfa
copying erfa/_version.py -> build/lib.linux-x86_64-cpython-310/erfa
copying erfa/version.py -> build/lib.linux-x86_64-cpython-310/erfa
copying erfa/core.py -> build/lib.linux-x86_64-cpython-310/erfa
creating build/lib.linux-x86_64-cpython-310/erfa/tests
copying erfa/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/erfa/tests
copying erfa/tests/test_ufunc.py -> build/lib.linux-x86_64-cpython-310/erfa/tests
copying erfa/tests/helper.py -> build/lib.linux-x86_64-cpython-310/erfa/tests
copying erfa/tests/test_erfa.py -> build/lib.linux-x86_64-cpython-310/erfa/tests
running build_ext
building 'erfa.ufunc' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/erfa
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/jx3kvf6mk8qdaw30dbpngwmgm4p23xdb-libxcrypt-4.4.36/include -fPIC -I/nix/store/k1l540lpcswcnn6l6z3hrxyc9xdkalsd-python3.10-numpy-1.25.1/lib/python3.10/site-packages/numpy/core/include -I/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/include/python3.10 -c erfa/ufunc.c -o build/temp.linux-x86_64-cpython-310/erfa/ufunc.o
erfa/ufunc.c: In function ‘ErfaUFuncTypeResolver’:
erfa/ufunc.c:9729:16: warning: dangling pointer ��-Wdangling-pointer=][]]
9729 | return set_ufunc_loop_data_types(ufunc, operands, out_dtypes,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9730 | types, dtypes);
| ~~~~~~~~~~~~~~
erfa/ufunc.c:9715:13: note: ‘types_array’ declared here
9715 | int types_array[NPY_MAXARGS];
| ^~~~~~~~~~~
gcc -shared -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3/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.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/jx3kvf6mk8qdaw30dbpngwmgm4p23xdb-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.42.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.10/lib -L/nix/store/lvf61q95f827z8dzwnnchdbr0dlpbv8n-tzdata-2023c/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.3/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.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.4.4/lib -L/nix/store/jx3kvf6mk8qdaw30dbpngwmgm4p23xdb-libxcrypt-4.4.36/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.23/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.42.0/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-8.2p1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-3.0.10/lib -L/nix/store/lvf61q95f827z8dzwnnchdbr0dlpbv8n-tzdata-2023c/lib build/temp.linux-x86_64-cpython-310/erfa/ufunc.o -L/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib -lerfa -o build/lib.linux-x86_64-cpython-310/erfa/ufunc.cpython-310-x86_64-linux-gnu.so
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/erfa
copying build/lib.linux-x86_64-cpython-310/erfa/helpers.py -> build/bdist.linux-x86_64/wheel/erfa
copying build/lib.linux-x86_64-cpython-310/erfa/__init__.py -> build/bdist.linux-x86_64/wheel/erfa
copying build/lib.linux-x86_64-cpython-310/erfa/_version.py -> build/bdist.linux-x86_64/wheel/erfa
copying build/lib.linux-x86_64-cpython-310/erfa/version.py -> build/bdist.linux-x86_64/wheel/erfa
copying build/lib.linux-x86_64-cpython-310/erfa/core.py -> build/bdist.linux-x86_64/wheel/erfa
copying build/lib.linux-x86_64-cpython-310/erfa/ufunc.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/erfa
creating build/bdist.linux-x86_64/wheel/erfa/tests
copying build/lib.linux-x86_64-cpython-310/erfa/tests/__init__.py -> build/bdist.linux-x86_64/wheel/erfa/tests
copying build/lib.linux-x86_64-cpython-310/erfa/tests/test_ufunc.py -> build/bdist.linux-x86_64/wheel/erfa/tests
copying build/lib.linux-x86_64-cpython-310/erfa/tests/helper.py -> build/bdist.linux-x86_64/wheel/erfa/tests
copying build/lib.linux-x86_64-cpython-310/erfa/tests/test_erfa.py -> build/bdist.linux-x86_64/wheel/erfa/tests
running install_egg_info
running egg_info
writing pyerfa.egg-info/PKG-INFO
writing dependency_links to pyerfa.egg-info/dependency_links.txt
writing requirements to pyerfa.egg-info/requires.txt
writing top-level names to pyerfa.egg-info/top_level.txt
reading manifest file 'pyerfa.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.h' under directory 'erfa'
no previously-included directories found matching 'erfa/_dev'
warning: no previously-included files found matching 'liberfa/erfa/Makefile'
warning: no previously-included files found matching 'liberfa/erfa/config.h'
warning: no previously-included files found matching 'liberfa/erfa/config.log'
warning: no previously-included files found matching 'liberfa/erfa/config.status'
warning: no previously-included files found matching 'liberfa/erfa/erfa.pc'
warning: no previously-included files found matching 'liberfa/erfa/libtool'
warning: no previously-included files found matching 'liberfa/erfa/m4/l*'
warning: no previously-included files found matching 'liberfa/erfa/src/Makefile'
warning: no previously-included files found matching 'liberfa/erfa/stamp-h1'
no previously-included directories found matching 'liberfa/erfa/autom4te.cache'
no previously-included directories found matching 'liberfa/erfa/src/.deps'
warning: no previously-included files found matching '.gitignore'
no previously-included directories found matching 'build'
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.rst'
writing manifest file 'pyerfa.egg-info/SOURCES.txt'
Copying pyerfa.egg-info to build/bdist.linux-x86_64/wheel/pyerfa-2.0.0.3-py3.10.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pyerfa-2.0.0.3.dist-info/WHEEL
creating '/build/pyerfa-2.0.0.3/dist/.tmp-oewv6c4b/pyerfa-2.0.0.3-cp310-cp310-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'erfa/__init__.py'
adding 'erfa/_version.py'
adding 'erfa/core.py'
adding 'erfa/helpers.py'
adding 'erfa/ufunc.cpython-310-x86_64-linux-gnu.so'
adding 'erfa/version.py'
adding 'erfa/tests/__init__.py'
adding 'erfa/tests/helper.py'
adding 'erfa/tests/test_erfa.py'
adding 'erfa/tests/test_ufunc.py'
adding 'pyerfa-2.0.0.3.dist-info/LICENSE.rst'
adding 'pyerfa-2.0.0.3.dist-info/METADATA'
adding 'pyerfa-2.0.0.3.dist-info/WHEEL'
adding 'pyerfa-2.0.0.3.dist-info/top_level.txt'
adding 'pyerfa-2.0.0.3.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pyerfa-2.0.0.3-cp310-cp310-linux_x86_64.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Executing pypaInstallPhase
Successfully installed pyerfa-2.0.0.3-cp310-cp310-linux_x86_64.whl
Finished executing pypaInstallPhase
@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/27pzl5a32w2jkx2q54lqis1wy7drc945-python3.10-pyerfa-2.0.0.3
shrinking /nix/store/27pzl5a32w2jkx2q54lqis1wy7drc945-python3.10-pyerfa-2.0.0.3/lib/python3.10/site-packages/erfa/ufunc.cpython-310-x86_64-linux-gnu.so
checking for references to /build/ in /nix/store/27pzl5a32w2jkx2q54lqis1wy7drc945-python3.10-pyerfa-2.0.0.3...
patching script interpreter paths in /nix/store/27pzl5a32w2jkx2q54lqis1wy7drc945-python3.10-pyerfa-2.0.0.3
stripping (with command strip and flags -S -p) in /nix/store/27pzl5a32w2jkx2q54lqis1wy7drc945-python3.10-pyerfa-2.0.0.3/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/a9dbv4mzj0snxxi1ydfij8zbhd6pwvmy-python3.10-pyerfa-2.0.0.3-dist
checking for references to /build/ in /nix/store/a9dbv4mzj0snxxi1ydfij8zbhd6pwvmy-python3.10-pyerfa-2.0.0.3-dist...
patching script interpreter paths in /nix/store/a9dbv4mzj0snxxi1ydfij8zbhd6pwvmy-python3.10-pyerfa-2.0.0.3-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
@nix { "action": "setPhase", "phase": "installCheckPhase" }
running install tests
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-7.4.0, pluggy-1.2.0
rootdir: /build/pyerfa-2.0.0.3
configfile: setup.cfg
testpaths: erfa, docs, README.rst
plugins: doctestplus-0.12.1
collected 1 item / 10 errors
==================================== ERRORS ====================================
______________________ ERROR collecting erfa/__init__.py _______________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
________________________ ERROR collecting erfa/core.py _________________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
_______________________ ERROR collecting erfa/helpers.py _______________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
_______________________ ERROR collecting erfa/version.py _______________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
___________________ ERROR collecting erfa/tests/__init__.py ____________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
____________________ ERROR collecting erfa/tests/helper.py _____________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
___________________ ERROR collecting erfa/tests/test_erfa.py ___________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
___________________ ERROR collecting erfa/tests/test_erfa.py ___________________
ImportError while importing test module '/build/pyerfa-2.0.0.3/erfa/tests/test_erfa.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
__________________ ERROR collecting erfa/tests/test_ufunc.py ___________________
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/nix/store/f61hbnfziia32sx5crxm7gi03sn1xcrz-python3.10-pytest-doctestplus-0.12.1/lib/python3.10/site-packages/pytest_doctestplus/plugin.py:246: in collect
module = import_path(fspath, root=self.config.rootpath)
/nix/store/yl17g92a32lpb013vaigx5q5js94mdn5-python3.10-pytest-7.4.0/lib/python3.10/site-packages/_pytest/pathlib.py:565: in import_path
importlib.import_module(module_name)
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:992: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1050: in _gcd_import
???
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:688: in _load_unlocked
???
<frozen importlib._bootstrap_external>:883: in exec_module
???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
???
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
__________________ ERROR collecting erfa/tests/test_ufunc.py ___________________
ImportError while importing test module '/build/pyerfa-2.0.0.3/erfa/tests/test_ufunc.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/lx8vhp4fxclp494svlfis3sb2g8z4l9h-python3-3.10.12/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
erfa/__init__.py:5: in <module>
from .version import version as __version__ # noqa
erfa/version.py:25: in <module>
from . import ufunc
E ImportError: cannot import name 'ufunc' from partially initialized module 'erfa' (most likely due to a circular import) (/build/pyerfa-2.0.0.3/erfa/__init__.py)
=========================== short test summary info ============================
ERROR erfa/__init__.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/core.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/helpers.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/version.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/tests/__init__.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/tests/helper.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/tests/test_erfa.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/tests/test_erfa.py
ERROR erfa/tests/test_ufunc.py - ImportError: cannot import name 'ufunc' from partially initialized module '...
ERROR erfa/tests/test_ufunc.py
!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 10 errors in 0.53s ==============================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment