#157897 Report by node gh-actions covering 2343 tests from 61 modules resulted into 31 errors
Report
- ObsPy version
- 1.5.0.post0+61.ga397abfd34
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/3759
- Report file
- JSON document
- Total runtime
- 169.2 sec
- Report date/time
- June 24, 2026, 9:34 a.m.
System / Python
- Architecture
- 64bit
- Machine
- arm64
- Node
- gh-actions
- Processor
- arm
- Python Compiler
- Clang 19.1.7
- Python Implementation
- CPython
- Python Version
- 3.12.13
- Release
- 25.4.0
- System
- Darwin
- Version
- Darwin Kernel Version 25.4.0: Thu Mar 19 19:29:33 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_VMAPPLE
Dependencies
- cartopy
- 0.25.0
- decorator
- 5.3.1
- flake8
- ---
- geographiclib
- 2.1
- lxml
- 6.1.1
- matplotlib
- 3.11.0
- numpy
- 2.5.0
- obspy
- 1.5.0.post0+61.ga397abfd34
- pyproj
- 3.7.2
- pytest
- 9.1.1
- pytest-json-report
- 1.5.0
- requests
- 2.34.2
- scipy
- 1.18.0
- setuptools
- 82.0.1
- shapefile
- ---
- sqlalchemy
- 2.0.51
Modules (61)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.clients.earthworm | Not tested | - | - | - | - | - |
| obspy.clients.fdsn | - | 101 | 101 | - | 2.07s | - |
| obspy.clients.filesystem | - | 26 | 26 | - | 5.47s | - |
| obspy.clients.iris | - | 1 | 1 | - | 0.02s | - |
| obspy.clients.neic | Not tested | - | - | - | - | - |
| obspy.clients.nrl | - | 16 | 16 | - | 1.27s | - |
| obspy.clients.seedlink | - | 2 | 2 | - | 0.00s | - |
| obspy.clients.syngine | Not tested | - | - | - | - | - |
| obspy.core | - | 701 | 700 | 1 | 32.54s | - |
| obspy.core.event | - | 18 | 18 | - | 0.18s | - |
| obspy.core.inventory | - | 24 | 24 | - | 1.31s | - |
| obspy.core.util | - | 23 | 20 | 3 | 0.14s | - |
| obspy.geodetics | - | 21 | 20 | 1 | 0.12s | - |
| obspy.imaging | 7 | 93 | 92 | 1 | 17.15s | 1 2 3 4 5 6 7 |
| obspy.io.ah | - | 11 | 11 | - | 0.14s | - |
| obspy.io.alsep | - | 16 | 16 | - | 1.19s | - |
| obspy.io.arclink | - | 5 | 5 | - | 5.31s | - |
| obspy.io.ascii | - | 30 | 28 | 2 | 0.15s | - |
| obspy.io.cmtsolution | - | 10 | 10 | - | 0.08s | - |
| obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
| obspy.io.css | - | 10 | 10 | - | 0.17s | - |
| obspy.io.csv | - | 17 | 17 | - | 0.37s | - |
| obspy.io.cybershake | - | 3 | 3 | - | 0.03s | - |
| obspy.io.dmx | - | 5 | 5 | - | 0.06s | - |
| obspy.io.focmec | - | 8 | 8 | - | 0.12s | - |
| obspy.io.gcf | - | 14 | 13 | 1 | 0.22s | - |
| obspy.io.gse2 | - | 55 | 55 | - | 0.48s | - |
| obspy.io.hypodd | - | 9 | 9 | - | 0.18s | - |
| obspy.io.iaspei | - | 9 | 9 | - | 0.92s | - |
| obspy.io.json | - | 4 | 4 | - | 0.03s | - |
| obspy.io.kinemetrics | - | 12 | 12 | - | 0.57s | - |
| obspy.io.kml | - | 3 | 3 | - | 0.13s | - |
| obspy.io.mseed | - | 129 | 129 | - | 2.84s | - |
| obspy.io.ndk | - | 20 | 20 | - | 0.38s | - |
| obspy.io.nied | - | 11 | 11 | - | 0.14s | - |
| obspy.io.nlloc | - | 16 | 16 | - | 0.33s | - |
| obspy.io.nordic | 24 | 61 | 59 | 2 | 0.86s | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
| obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
| obspy.io.pde | - | 13 | 12 | 1 | 0.81s | - |
| obspy.io.quakeml | - | 38 | 37 | 1 | 0.21s | - |
| obspy.io.reftek | - | 21 | 21 | - | 0.24s | - |
| obspy.io.rg16 | - | 38 | 38 | - | 0.15s | - |
| obspy.io.sac | - | 101 | 101 | - | 0.57s | - |
| obspy.io.scardec | - | 5 | 5 | - | 0.10s | - |
| obspy.io.seg2 | - | 2 | 2 | - | 0.03s | - |
| obspy.io.segy | - | 56 | 56 | - | 0.35s | - |
| obspy.io.seisan | - | 8 | 7 | 1 | 0.09s | - |
| obspy.io.seiscomp | - | 51 | 51 | - | 1.09s | - |
| obspy.io.sh | - | 26 | 24 | 2 | 0.43s | - |
| obspy.io.shapefile | - | 7 | 7 | - | 0.53s | - |
| obspy.io.stationtxt | - | 11 | 11 | - | 0.17s | - |
| obspy.io.stationxml | - | 25 | 25 | - | 0.44s | - |
| obspy.io.wav | - | 8 | 7 | 1 | 0.08s | - |
| obspy.io.win | - | 5 | 5 | - | 0.18s | - |
| obspy.io.xseed | - | 84 | 84 | - | 16.08s | - |
| obspy.io.y | - | 5 | 4 | 1 | 0.03s | - |
| obspy.io.zmap | - | 15 | 15 | - | 0.22s | - |
| obspy.realtime | - | 22 | 22 | - | 0.29s | - |
| obspy.scripts | - | 2 | 2 | - | 0.02s | - |
| obspy.signal | - | 235 | 233 | 2 | 19.77s | - |
| obspy.taup | - | 77 | 77 | - | 31.47s | - |
| Summary | 31 | 2343 | 2323 | 20 | 169.15s | 31 |
Tracebacks (31)
119 components of the moment tensor (M11, M22, M33, M12, M13, M23). For
120 :func:`obspy.imaging.beachball.beachball` (1, 2, 3) corresponds to
121 (Up, South, East) which is equivalent to (r, theta, phi). For
122 :func:`obspy.imaging.mopad_wrapper.beachball` the coordinate system can be
123 chosen and includes the choices 'NED' (North, East, Down), 'USE' (Up,
124 South, East), 'NWU' (North, West, Up) or 'XYZ'.
125
126 >>> from obspy.imaging.beachball import beachball
127 >>> mt = [-2.39, 1.04, 1.35, 0.57, -2.94, -0.94]
128 >>> fig = beachball(mt) #doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: TypeError("ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''")
Traceback (most recent call last):
File "/Users/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1368, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.imaging[14]>", line 1, in <module>
File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 265, in beachball
collection = beach(fm, linewidth=linewidth, facecolor=facecolor,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 43, in mopad_fallback
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 133, in beach
np1 = mt2plane(mt)
^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 879, in mt2plane
(ft, fd, fl) = tdl(an1, ae1)
^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 899, in tdl
if np.fabs(zn) < aaa:
^^^^^^^^^^^
TypeError: ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/__init__.py:128: UnexpectedException
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 73, in test_beachball beachball(data_, outfile=file_name) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 265, in beachball collection = beach(fm, linewidth=linewidth, facecolor=facecolor, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 43, in mopad_fallback result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 133, in beach np1 = mt2plane(mt) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 879, in mt2plane (ft, fd, fl) = tdl(an1, ae1) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 899, in tdl if np.fabs(zn) < aaa: ^^^^^^^^^^^ TypeError: ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 167, in test_mt2plane np = mt2plane(mt) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 879, in mt2plane (ft, fd, fl) = tdl(an1, ae1) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 899, in tdl if np.fabs(zn) < aaa: ^^^^^^^^^^^ TypeError: ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 230, in test_collection ax.add_collection(beach(t, width=30, xy=(x, y), linewidth=.6)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 43, in mopad_fallback result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 133, in beach np1 = mt2plane(mt) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 879, in mt2plane (ft, fd, fl) = tdl(an1, ae1) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 899, in tdl if np.fabs(zn) < aaa: ^^^^^^^^^^^ TypeError: ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 282, in test_collection_aspect_x self.collection_aspect(axis=[-10000, 10000, -100, 100], File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 256, in collection_aspect ax.add_collection(beach(mt, width=400, xy=(0, 0), linewidth=.6, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 43, in mopad_fallback result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 133, in beach np1 = mt2plane(mt) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 879, in mt2plane (ft, fd, fl) = tdl(an1, ae1) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 899, in tdl if np.fabs(zn) < aaa: ^^^^^^^^^^^ TypeError: ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 290, in test_collection_aspect_y self.collection_aspect(axis=[-100, 100, -10000, 10000], File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 256, in collection_aspect ax.add_collection(beach(mt, width=400, xy=(0, 0), linewidth=.6, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 43, in mopad_fallback result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 133, in beach np1 = mt2plane(mt) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 879, in mt2plane (ft, fd, fl) = tdl(an1, ae1) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 899, in tdl if np.fabs(zn) < aaa: ^^^^^^^^^^^ TypeError: ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/tests/test_beachball.py", line 301, in test_mopad_fallback beachball(mt, outfile=image_path) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 265, in beachball collection = beach(fm, linewidth=linewidth, facecolor=facecolor, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 43, in mopad_fallback result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 133, in beach np1 = mt2plane(mt) ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 879, in mt2plane (ft, fd, fl) = tdl(an1, ae1) ^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/beachball.py", line 899, in tdl if np.fabs(zn) < aaa: ^^^^^^^^^^^ TypeError: ufunc 'fabs' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 162, in test_write_read_quakeml cat = read_nordic(testing_path) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 336, in test_read_extra_header test_event = read_nordic(testing_path)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 792, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 378, in test_reading_string_io cat = read_events(file_object) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 798, in _generic_reader fh.write(pathname_or_url.read()) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 123, in write return self._fileobj.write(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 792, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 143, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 393, in test_reading_bytes_io cat = read_events(file_object) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 799, in _generic_reader generic = callback_func(fh.name, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 457, in test_read_wavename cat, wavefiles = read_nordic(testing_path, return_wavnames=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 492, in test_read_event event = read_nordic(testing_path)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 504, in test_read_event_new event = read_nordic(testing_path)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 520, in test_read_latin1 cat = read_events(dos_file) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 822, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 535, in test_read_many_events catalog = read_nordic(testing_path) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 608, in test_inaccurate_picks cat = read_nordic(testing_path) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 618, in test_round_len event = read_nordic(testing_path)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 631, in test_read_moment event = read_nordic(testing_path)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 678, in test_read_picks_across_day_end event = read_nordic(testing_path)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 708, in test_distance_conversion cat = read_events(testing_path) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 822, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 760, in test_read_high_precision_pick cat = read_events( ^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 822, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 779, in test_high_precision_read_write cat = read_events(testdata['sfile_high_precision_picks']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 822, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 865, in test_seconds_overflow cat = read_events(testdata['sfile_seconds_overflow']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 822, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 901, in test_read_high_accuracy cat = read_events(testdata['sfile_highaccuracy']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 822, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 926, in test_ellipse_from__to_uncerts ell = Ellipse.from_uncerts(x_err, y_err, c_xy, center) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 960, in test_ellipse_from_to_cov ell = Ellipse.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 985, in test_ellipse_from_uncerts_baz ell = Ellipse.from_uncerts_baz(x_err, y_err, c_xy, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 155, in from_uncerts_baz return cls.from_uncerts(x_err, y_err, c_xy, (x, y)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1134, in test_read_uncert_ellipse cat = read_events(testdata['sfile_highaccuracy']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 298, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 828, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 822, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/decorator/__init__.py", line 247, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/event/catalog.py", line 836, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/base.py", line 559, in _read_from_plugin list_obj = read_format(filename, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1150, in test_read_resolve_seedid event = read_nordic(testing_path, default_seedid=seedid)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Traceback (most recent call last): File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 250, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 865, in pytest_runtest_call yield File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 184, in pytest_runtest_call item.runtest() File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1707, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 167, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1163, in test_read_resolve_seedid_new_format event = read_nordic(testing_path, default_seedid=seedid)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 482, in read_nordic catalog, wav_names = _extract_event( ^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 526, in _extract_event new_event = _read_uncertainty(tagged_lines, new_event) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/core.py", line 570, in _read_uncertainty e = Ellipse.from_uncerts(errors['x_err'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 130, in from_uncerts return cls.from_cov(cov, center) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/nordic/ellipse.py", line 109, in from_cov theta = (np.degrees(np.arctan((x_v1) / (y_v1))) + 180) % 180 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ufunc 'degrees' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Skipped tests (20)
| Submodule | Test | Skip message |
|---|---|---|
| core | core/stream.py::obspy.core.stream._is_pickle | Skipped: all tests skipped by +SKIP option |
| core.util | core/util/misc.py::obspy.core.util.misc.CatchOutput | Skipped: all tests skipped by +SKIP option |
| core.util | core/util/misc.py::obspy.core.util.misc.SuppressOutput | Skipped: all tests skipped by +SKIP option |
| core.util | core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory | Skipped: all tests skipped by +SKIP option |
| geodetics | geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 | Skipped: Geographiclib installed, not using calc_vincenty_inverse |
| imaging | imaging/tests/test_mopad_script.py::TestMopad::test_script_plot | Skipped: Currently broken until further review. |
| io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_slist | Skipped: all tests skipped by +SKIP option |
| io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_tspair | Skipped: all tests skipped by +SKIP option |
| io.gcf | io/gcf/core.py::obspy.io.gcf.core._write_gcf | Skipped: all tests skipped by +SKIP option |
| io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor | Skipped: all tests skipped by +SKIP option |
| io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag | Skipped: all tests skipped by +SKIP option |
| io.pde | io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr | Skipped: all tests skipped by +SKIP option |
| io.quakeml | io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml | Skipped: all tests skipped by +SKIP option |
| io.seisan | io/seisan/core.py::obspy.io.seisan.core._is_seisan | Skipped: all tests skipped by +SKIP option |
| io.sh | io/sh/core.py::obspy.io.sh.core._is_asc | Skipped: all tests skipped by +SKIP option |
| io.sh | io/sh/core.py::obspy.io.sh.core._is_q | Skipped: all tests skipped by +SKIP option |
| io.wav | io/wav/core.py::obspy.io.wav.core._is_wav | Skipped: all tests skipped by +SKIP option |
| io.y | io/y/core.py::obspy.io.y.core._is_y | Skipped: all tests skipped by +SKIP option |
| signal | signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata | Skipped: all tests skipped by +SKIP option |
| signal | signal/tests/test_quality_control.py::TestQualityControl::test_schema_validation | Skipped: Test requires the jsonschema module |
Slowest tests (20)
Warnings (16)
| Stage | Filename | Category | Message |
|---|---|---|---|
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/signal/array_analysis.py:543 | ComplexWarning | Casting complex values to real discards the imaginary part |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/signal/array_analysis.py:549 | ComplexWarning | Casting complex values to real discards the imaginary part |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/signal/util.py:220 | DeprecationWarning | numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard. |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/multiprocessing/resource_tracker.py:147 | UserWarning | resource_tracker: process died unexpectedly, relaunching. Some resources might leak. |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/segy/tests/test_segy.py:155 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/mseed/util.py:1601 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/segy/pack.py:114 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/mseed/util.py:1773 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/mseed/util.py:1673 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/signal/util.py:142 | DeprecationWarning | numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard. |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/waveform.py:894 | DeprecationWarning | Setting the shape on a NumPy array has been deprecated in NumPy 2.5. As an alternative, you can create a new view using np.reshape (with copy=False if needed). |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/imaging/waveform.py:910 | DeprecationWarning | Setting the shape on a NumPy array has been deprecated in NumPy 2.5. As an alternative, you can create a new view using np.reshape (with copy=False if needed). |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/mseed/util.py:1846 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/segy/tests/test_segy.py:146 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/segy/tests/test_segy.py:135 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |
| runtest | /Users/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/io/segy/tests/test_segy.py:134 | DeprecationWarning | Setting the dtype on a NumPy array has been deprecated in NumPy 2.5. Instead of changing the dtype on an array x, create a new array with x.view(new_dtype) |