Skip to content

Merge pull request #203 from threeML/dev #1560

Merge pull request #203 from threeML/dev

Merge pull request #203 from threeML/dev #1560

GitHub Actions / Unit Test Results failed Feb 1, 2024 in 0s

10 errors in 5s

10 tests     0 ✔️  5s ⏱️
  1 suites    0 💤
  1 files      0   10 🔥

Results for commit 868fc89.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_1D_function_values with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_1D_function_values.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_1D_function_values.py:5: in <module>
    from astromodels.functions.function import _known_functions
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:19: in <module>
    from astromodels.functions.function import Function, get_function
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_extended_source with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_extended_source.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_extended_source.py:15: in <module>
    from astromodels.core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/__init__.py:16: in <module>
    from .core.model import Model
E   ImportError: cannot import name 'Model' from partially initialized module 'astromodels.core.model' (most likely due to a circular import) (/home/runner/work/astromodels/astromodels/astromodels/core/model.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_functions with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_functions.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_functions.py:13: in <module>
    import astromodels
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_load_xspec_models with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_load_xspec_models.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_load_xspec_models.py:5: in <module>
    from astromodels import clone_model, PointSource, Model, load_model
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_memoizer with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_memoizer.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_memoizer.py:2: in <module>
    from astromodels.functions import Powerlaw
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_model with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_model.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_model.py:15: in <module>
    from astromodels import u, update_logging_level
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_parameter with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_parameter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_parameter.py:11: in <module>
    from astromodels.functions import Log_uniform_prior, Powerlaw, Uniform_prior
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_point_source with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_point_source.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_point_source.py:9: in <module>
    from astromodels.functions import (
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_polarization with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_polarization.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_polarization.py:10: in <module>
    from astromodels import u, update_logging_level
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

astromodels.tests.test_template_model with error

junit/test-results.xml
Raw output
ImportError while importing test module '/home/runner/work/astromodels/astromodels/astromodels/tests/test_template_model.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/python.py:537: in importtestmodule
    mod = import_path(path, mode=importmode, root=config.rootpath)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:175: in exec_module
    exec(co, module.__dict__)
astromodels/tests/test_template_model.py:12: in <module>
    from astromodels import Model, PointSource, clone_model, load_model
astromodels/__init__.py:16: in <module>
    from .core.model import Model
astromodels/core/model.py:20: in <module>
    from astromodels.sources import (
astromodels/sources/__init__.py:4: in <module>
    from .extended_source import ExtendedSource
astromodels/sources/extended_source.py:9: in <module>
    from astromodels.functions import Constant
astromodels/functions/__init__.py:1: in <module>
    from .functions_1D import (
astromodels/functions/functions_1D/__init__.py:26: in <module>
    from .absorption import PhAbs, TbAbs, WAbs, has_ebltable
astromodels/functions/functions_1D/absorption.py:10: in <module>
    from interpolation import interp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/__init__.py:1: in <module>
    from .multilinear.mlinterp import interp, mlinterp
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/mlinterp.py:21: in <module>
    from .fungen import (
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/interpolation/multilinear/fungen.py:4: in <module>
    from numba import generated_jit, njit
E   ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/numba/__init__.py)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

10 tests found

There are 10 tests, see "Raw output" for the full list of tests.
Raw output
astromodels.tests.test_1D_function_values
astromodels.tests.test_extended_source
astromodels.tests.test_functions
astromodels.tests.test_load_xspec_models
astromodels.tests.test_memoizer
astromodels.tests.test_model
astromodels.tests.test_parameter
astromodels.tests.test_point_source
astromodels.tests.test_polarization
astromodels.tests.test_template_model