#158905 Report by node localhost covering 461 tests from 1 modules resulted into 22 errors

Report

ObsPy version
0.0.0.dev+0.g664919d44d
GitHub Pull Request
-
Report file
JSON document
Total runtime
14.8 sec
Report date/time
July 29, 2026, 11:15 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
localhost
Processor
x86_64
Python Compiler
GCC 11.4.0
Python Implementation
CPython
Python Version
3.10.12
Release
6.18.39-rFBS0e6b625b863de1
System
Linux
Version
#1 SMP PREEMPT_DYNAMIC Tue Jul 21 14:21:08 UTC 2026

Dependencies

cartopy
---
decorator
5.3.1
flake8
---
geographiclib
---
lxml
4.8.0
matplotlib
3.10.9
numpy
2.2.6
obspy
0.0.0.dev+0.g664919d44d
pyproj
3.7.1
pytest
9.0.3
pytest-json-report
1.5.0
requests
2.34.2
scipy
1.15.3
setuptools
83.0.0
shapefile
---
sqlalchemy
1.4.54

Modules (1)

Module Errors / Failures Tracebacks
obspy.core 22 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Summary 22 22

Tracebacks (22)

Traceback (most recent call last):
File "/app/repo/obspy/core/inventory/response.py", line 2318, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 130, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_channel.py", line 32, in test_response_plot
cha.plot(0.005, outfile=image_path)
File "/app/repo/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
File "/app/repo/obspy/core/inventory/response.py", line 1944, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/app/repo/obspy/core/inventory/response.py", line 2320, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 130, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_preview.py", line 26, in test_create_preview
preview = create_preview(trace, delta=60)
File "/app/repo/obspy/core/preview.py", line 69, in create_preview
diff = data.ptp(axis=1)
AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_preview.py", line 200, in test_create_preview_with_unrounded_sample_rate
create_preview(tr, delta=30)
File "/app/repo/obspy/core/preview.py", line 69, in create_preview
diff = data.ptp(axis=1)
AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_preview.py", line 213, in test_create_preview_with_very_small_sample_rate
create_preview(tr)
File "/app/repo/obspy/core/preview.py", line 69, in create_preview
diff = data.ptp(axis=1)
AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last):
File "/app/repo/obspy/core/inventory/response.py", line 2318, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 130, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_response.py", line 118, in test_response_plot
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/app/repo/obspy/core/inventory/response.py", line 1944, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/app/repo/obspy/core/inventory/response.py", line 2320, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 130, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/app/repo/obspy/core/inventory/response.py", line 2318, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 130, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_response.py", line 127, in test_response_plot_degrees
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/app/repo/obspy/core/inventory/response.py", line 1944, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/app/repo/obspy/core/inventory/response.py", line 2320, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 130, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_stream.py", line 1926, in test_read
read('/path/to/UNKNOWN')
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 292, in _map_example_filename
args[ind] = get_example_file(args[ind][9:])
File "/app/repo/obspy/core/util/base.py", line 208, in get_example_file
mod = __import__("obspy.%s" % module,
File "/app/repo/obspy/taup/__init__.py", line 449, in <module>
from .tau import TauPyModel # NOQA
File "/app/repo/obspy/taup/tau.py", line 16, in <module>
from .helper_classes import Arrival
File "/app/repo/obspy/taup/helper_classes.py", line 20, in <module>
('top_p', np.float_),
File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__
raise AttributeError(
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_stream.py", line 2252, in test_method_chaining
.resample(st[0].stats.sampling_rate / 2)\
File "/app/repo/obspy/core/stream.py", line 2377, in resample
tr.resample(sampling_rate, window=window,
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1723, in resample
x = rfft(self.data.newbyteorder("="))
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 1429, in test_times
assert np.alltrue(tr.data.mask == tm.mask)
File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__
raise AttributeError(
AttributeError: `np.alltrue` was removed in the NumPy 2.0 release. Use `np.all` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 1639, in test_resample
tr_2 = tr.copy().resample(sampling_rate=50.0)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1723, in resample
x = rfft(self.data.newbyteorder("="))
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 1677, in test_method_chaining
.resample(tr.stats.sampling_rate / 2.0)\
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1723, in resample
x = rfft(self.data.newbyteorder("="))
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 1841, in test_processing_information
tr.resample(tr.stats.sampling_rate / 2.0)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1723, in resample
x = rfft(self.data.newbyteorder("="))
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 2115, in test_resample_new
tr.resample(0.5, window='hann', no_filter=True)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1723, in resample
x = rfft(self.data.newbyteorder("="))
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 2540, in test_dtype_is_not_unnecessarily_changed
assert tr_int32.copy().resample(2.0).data.dtype == np.float64
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1723, in resample
x = rfft(self.data.newbyteorder("="))
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 2713, in test_resample_short_traces
tr.resample(30)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 243, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1723, in resample
x = rfft(self.data.newbyteorder("="))
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_utcdatetime.py", line 47, in test_from_numpy_string
dt = UTC(np.string_("1970-01-01 12:23:34"))
File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__
raise AttributeError(
AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_util_testing.py", line 72, in test_nan
tr1.data[0], tr2.data[0] = np.NaN, np.NaN
File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__
raise AttributeError(
AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_waveform_plugins.py", line 104, in test_read_and_write
st = read(outfile)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 297, in _map_example_filename
return func(*args, **kwargs)
File "/app/repo/obspy/core/stream.py", line 208, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/app/repo/obspy/core/util/base.py", line 658, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 208, in uncompress_file
result = func(filename, *args, **kwargs)
File "/app/repo/obspy/core/stream.py", line 251, in _read
stream, format = _read_from_plugin('waveform', filename, format=format,
File "/app/repo/obspy/core/util/base.py", line 423, in _read_from_plugin
list_obj = read_format(filename, **kwargs)
File "/app/repo/obspy/io/sac/core.py", line 345, in _read_sac
return _internal_read_sac(buf=fh, headonly=headonly,
File "/app/repo/obspy/io/sac/core.py", line 390, in _internal_read_sac
sac = SACTrace.read(buf, headonly=headonly, ascii=False,
File "/app/repo/obspy/io/sac/sactrace.py", line 1086, in read
hf, hi, hs, data = _io.read_sac(source, headonly=headonly,
File "/app/repo/obspy/io/sac/arrayio.py", line 144, in read_sac
hf = hf.newbyteorder('S')
AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last):
File "/app/repo/obspy/core/tests/test_waveform_plugins.py", line 267, in test_is_format
assert len(false_positives) == 0
AssertionError: assert 2 == 0
+ where 2 = len([('ALSEP_WTH', '/app/repo/obspy/io/gcf/tests/data/20160603_1910n.gcf'), ('ALSEP_WTH', '/app/repo/obspy/io/gcf/tests/data/20160603_1955n.gcf')])
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_waveform_plugins.py", line 272, in test_is_format
raise Exception(msg)
Exception: False positives for isFormat:
	Format ALSEP_WTH: /app/repo/obspy/io/gcf/tests/data/20160603_1910n.gcf
	Format ALSEP_WTH: /app/repo/obspy/io/gcf/tests/data/20160603_1955n.gcf
Traceback (most recent call last):
File "/app/repo/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii
np.savetxt(f, data[5 * rows:], delimiter=b'\t')
File "/usr/local/lib/python3.10/dist-packages/numpy/lib/_npyio_impl.py", line 1606, in savetxt
format = delimiter.join(fmt)
TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_waveform_plugins.py", line 307, in test_read_thread_safe
tr.write(outfile, format=format)
File "/app/repo/obspy/core/trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "/app/repo/obspy/core/stream.py", line 1458, in write
write_format(self, filename, **kwargs)
File "/app/repo/obspy/io/sac/core.py", line 283, in _write_sac_xy
_internal_write_sac_xy(trace, fh, **kwargs)
File "/app/repo/obspy/io/sac/core.py", line 303, in _internal_write_sac_xy
sac.write(buf, ascii=True, flush_headers=False)
File "/app/repo/obspy/io/sac/sactrace.py", line 1135, in write
_io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data)
File "/app/repo/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii
raise SacIOError("Cannot write trace values: " + f.name)
obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-as3jo4vk.tmp
Traceback (most recent call last):
File "/app/repo/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii
np.savetxt(f, data[5 * rows:], delimiter=b'\t')
File "/usr/local/lib/python3.10/dist-packages/numpy/lib/_npyio_impl.py", line 1606, in savetxt
format = delimiter.join(fmt)
TypeError: sequence item 0: expected a bytes-like object, str found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_waveform_plugins.py", line 376, in test_issue_193
tr.write(tempfile, format)
File "/app/repo/obspy/core/trace.py", line 997, in write
Stream([self]).write(filename, format, **kwargs)
File "/app/repo/obspy/core/stream.py", line 1458, in write
write_format(self, filename, **kwargs)
File "/app/repo/obspy/io/sac/core.py", line 283, in _write_sac_xy
_internal_write_sac_xy(trace, fh, **kwargs)
File "/app/repo/obspy/io/sac/core.py", line 303, in _internal_write_sac_xy
sac.write(buf, ascii=True, flush_headers=False)
File "/app/repo/obspy/io/sac/sactrace.py", line 1135, in write
_io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data)
File "/app/repo/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii
raise SacIOError("Cannot write trace values: " + f.name)
obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-6dkdq7s4.tmp
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_waveform_plugins.py", line 473, in test_deepcopy
stream.write(format=format, filename=tmpfile)
File "/app/repo/obspy/core/stream.py", line 1458, in write
write_format(self, filename, **kwargs)
File "/app/repo/obspy/io/ascii/core.py", line 352, in _write_slist
np.savetxt(fh, data, delimiter=b'\t',
File "/usr/local/lib/python3.10/dist-packages/numpy/lib/_npyio_impl.py", line 1614, in savetxt
raise ValueError('invalid fmt: %r' % (fmt,))
ValueError: invalid fmt: b'%+.10e'

Skipped tests (8)

Submodule Test Skip message
core core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed

Slowest tests (20)

Runtime Test
1.390s core/tests/test_trace.py::TestTrace::test_remove_response_plot
0.602s core/tests/test_response.py::TestResponse::test_evalresp_with_output_from_seed
0.429s core/tests/test_inventory.py::TestInventory::test_response_plot
0.378s core/tests/test_station.py::TestStation::test_station_response_plot
0.374s core/tests/test_network.py::TestNetwork::test_response_plot
0.333s core/tests/test_stream.py::TestStream::test_spectrogram
0.314s core/tests/test_station.py::TestStation::test_response_plot_degrees
0.298s core/tests/test_stream.py::TestStream::test_stack
0.242s core/tests/test_stream.py::TestStream::test_plot
0.242s core/tests/test_trace.py::TestTrace::test_interpolation_arguments
0.207s core/tests/test_stream.py::TestStream::test_simulate_seedresp_parser
0.200s core/tests/test_stream.py::TestStream::test_rotate
0.184s core/tests/test_resource_identifier.py::TestResourceIdentifier::test_event_scoped_resource_id_many_threads
0.178s core/tests/test_inventory.py::TestInventory::test_response_plot_epoch_times_in_label
0.169s core/tests/test_inventory.py::TestInventory::test_inventory_merging_metadata_update
0.165s core/tests/test_stream.py::TestStream::test_cutout
0.157s core/tests/test_network.py::TestNetwork::test_response_plot_epoch_times_in_label
0.148s core/tests/test_stream.py::TestStream::test_read_write_pickle
0.136s core/tests/test_station.py::TestStation::test_len
0.120s core/tests/test_inventory.py::TestInventory::test_inventory_remove