#159081 Report by node localhost covering 1982 tests from 59 modules resulted into 97 errors
Report
- ObsPy version
- 1.4.0.post0+207.ge2d440182d
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 163.3 sec
- Report date/time
- Aug. 19, 2026, 5:02 p.m.
System / Python
- Architecture
- 64bit
- Machine
- aarch64
- Node
- localhost
- Processor
- aarch64
- Python Compiler
- GCC 11.4.0
- Python Implementation
- CPython
- Python Version
- 3.10.12
- Release
- 6.18.44-rFBS02e92090f87083
- System
- Linux
- Version
- #1 SMP PREEMPT_DYNAMIC Tue Aug 18 15:24:30 UTC 2026
Dependencies
- cartopy
- ---
- decorator
- 5.3.1
- flake8
- ---
- geographiclib
- ---
- lxml
- 4.8.0
- matplotlib
- 3.10.9
- numpy
- 2.2.6
- obspy
- 1.4.0.post0+207.ge2d440182d
- pyproj
- 3.7.1
- pytest
- 9.1.1
- pytest-json-report
- 1.5.0
- requests
- 2.34.2
- scipy
- 1.15.3
- setuptools
- 83.0.0
- shapefile
- ---
- sqlalchemy
- 1.4.54
Modules (59)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.clients.earthworm | Not tested | - | - | - | - | - |
| obspy.clients.fdsn | - | 8 | 8 | - | 0.02s | - |
| obspy.clients.filesystem | - | 29 | 29 | - | 2.59s | - |
| obspy.clients.iris | Not tested | - | - | - | - | - |
| obspy.clients.neic | Not tested | - | - | - | - | - |
| obspy.clients.nrl | - | 16 | 16 | - | 1.03s | - |
| obspy.clients.seedlink | - | 2 | 2 | - | 0.00s | - |
| obspy.clients.syngine | Not tested | - | - | - | - | - |
| obspy.core | 29 | 598 | 589 | 9 | 17.25s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
| obspy.core.event | - | 18 | 18 | - | 0.20s | - |
| obspy.core.inventory | - | 23 | 23 | - | 1.34s | - |
| obspy.core.util | 1 | 23 | 20 | 3 | 0.14s | 30 |
| obspy.geodetics | - | 21 | 19 | 2 | 58.19s | - |
| obspy.imaging | 1 | 92 | 90 | 2 | 17.47s | 31 |
| obspy.io.ah | - | 11 | 11 | - | 0.15s | - |
| obspy.io.alsep | 7 | 16 | 16 | - | 1.28s | 32 33 34 35 36 37 38 |
| obspy.io.arclink | - | 5 | 5 | - | 2.02s | - |
| obspy.io.ascii | 6 | 28 | 26 | 2 | 0.14s | 39 40 41 42 43 44 |
| obspy.io.cmtsolution | - | 10 | 10 | - | 0.08s | - |
| obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
| obspy.io.css | - | 10 | 10 | - | 0.19s | - |
| obspy.io.dmx | - | 5 | 5 | - | 0.03s | - |
| obspy.io.focmec | - | 8 | 8 | - | 0.22s | - |
| obspy.io.gcf | - | 14 | 13 | 1 | 0.18s | - |
| obspy.io.gse2 | - | 55 | 55 | - | 0.59s | - |
| obspy.io.hypodd | - | 9 | 9 | - | 0.18s | - |
| obspy.io.iaspei | - | 7 | 7 | - | 0.86s | - |
| obspy.io.json | - | 4 | 4 | - | 0.03s | - |
| obspy.io.kinemetrics | - | 8 | 8 | - | 0.55s | - |
| obspy.io.kml | - | 3 | 3 | - | 0.14s | - |
| obspy.io.mseed | 1 | 127 | 127 | - | 1.46s | 45 |
| obspy.io.ndk | - | 20 | 20 | - | 0.38s | - |
| obspy.io.nied | - | 11 | 11 | - | 0.07s | - |
| obspy.io.nlloc | - | 14 | 14 | - | 0.18s | - |
| obspy.io.nordic | - | 60 | 58 | 2 | 1.78s | - |
| obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
| obspy.io.pde | - | 13 | 12 | 1 | 1.01s | - |
| obspy.io.quakeml | - | 38 | 37 | 1 | 0.26s | - |
| obspy.io.reftek | 19 | 21 | 21 | - | 0.05s | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
| obspy.io.rg16 | - | 38 | 38 | - | 0.16s | - |
| obspy.io.sac | 11 | 99 | 99 | - | 0.61s | 65 66 67 68 69 70 71 72 73 74 75 |
| obspy.io.scardec | 3 | 5 | 5 | - | 0.04s | 76 77 78 |
| obspy.io.seg2 | - | 2 | 2 | - | 0.02s | - |
| obspy.io.segy | - | 56 | 56 | - | 0.45s | - |
| obspy.io.seisan | - | 8 | 7 | 1 | 0.07s | - |
| obspy.io.seiscomp | - | 49 | 49 | - | 1.50s | - |
| obspy.io.sh | - | 26 | 24 | 2 | 0.47s | - |
| obspy.io.shapefile | - | 7 | 1 | 6 | 0.07s | - |
| obspy.io.stationtxt | - | 11 | 11 | - | 0.09s | - |
| obspy.io.stationxml | - | 24 | 24 | - | 0.44s | - |
| obspy.io.wav | - | 8 | 7 | 1 | 0.04s | - |
| obspy.io.win | - | 3 | 3 | - | 0.14s | - |
| obspy.io.xseed | - | 83 | 83 | - | 9.70s | - |
| obspy.io.y | - | 5 | 4 | 1 | 0.02s | - |
| obspy.io.zmap | - | 15 | 15 | - | 0.23s | - |
| obspy.realtime | 13 | 22 | 22 | - | 0.11s | 79 80 81 82 83 84 85 86 87 88 89 90 91 |
| obspy.scripts | - | 2 | 2 | - | 0.01s | - |
| obspy.signal | 6 | 188 | 186 | 2 | 16.70s | 92 93 94 95 96 97 |
| obspy.taup | Not tested | - | - | - | - | - |
| Summary | 97 | 1982 | 1946 | 36 | 163.32s | 97 |
Tracebacks (97)
3355 >>> s = ['', '', '3 Trace(s) in Stream:',
3356 ... 'IU.GRFO..HH2 | 2016-01-07T00:00:00.008300Z - '
3357 ... '2016-01-07T00:00:30.098300Z | 10.0 Hz, 301 samples',
3358 ... 'XX.GRFO..HH1 | 2016-01-07T00:00:02.668393Z - '
3359 ... '2016-01-07T00:00:09.518393Z | 100.0 Hz, 686 samples',
3360 ... 'IU.ABCD..EH2 | 2016-01-07T00:00:09.528393Z - '
3361 ... '2016-01-07T00:00:50.378393Z | 100.0 Hz, 4086 samples',
3362 ... '', '']
3363 >>> s = os.linesep.join(s)
3364 >>> st = Stream._dummy_stream_from_string(s)
UNEXPECTED EXCEPTION: AttributeError('`np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.')
Traceback (most recent call last):
File "/usr/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream._dummy_stream_from_string[3]>", line 1, in <module>
File "/app/repo/obspy/core/stream.py", line 3384, in _dummy_stream_from_string
tr.data = np.ones(npts, dtype=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.
/app/repo/obspy/core/stream.py:3364: UnexpectedException
2359
2360 .. rubric:: Example
2361
2362 >>> st = read()
2363 >>> print(st) # doctest: +ELLIPSIS
2364 3 Trace(s) in Stream:
2365 BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2366 BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2367 BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2368 >>> st.resample(10.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: 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/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
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.
/app/repo/obspy/core/stream.py:2368: UnexpectedException
Traceback (most recent call last): File "/app/repo/obspy/core/inventory/response.py", line 2267, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 1906, in plot _adjust_bode_plot_figure(fig, show=False, File "/app/repo/obspy/core/inventory/response.py", line 2269, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 2267, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_response.py", line 117, 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 1906, in plot _adjust_bode_plot_figure(fig, show=False, File "/app/repo/obspy/core/inventory/response.py", line 2269, 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 2267, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_response.py", line 126, 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 1906, in plot _adjust_bode_plot_figure(fig, show=False, File "/app/repo/obspy/core/inventory/response.py", line 2269, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_stream.py", line 1880, in test_integrate_and_differentiate st1.integrate() File "/app/repo/obspy/core/stream.py", line 2521, in integrate tr.integrate(method=method, **options) 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 1965, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) File "/app/repo/obspy/signal/differentiate_and_integrate.py", line 27, in integrate_cumtrapz ret = scipy.integrate.cumtrapz(data, dx=dx) AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_stream.py", line 2247, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_stream.py", line 2411, in test_integrate tr.integrate() 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 1965, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) File "/app/repo/obspy/signal/differentiate_and_integrate.py", line 27, in integrate_cumtrapz ret = scipy.integrate.cumtrapz(data, dx=dx) AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_stream.py", line 2424, in test_integrate_args tr.integrate(method='cumtrapz') 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 1965, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) File "/app/repo/obspy/signal/differentiate_and_integrate.py", line 27, in integrate_cumtrapz ret = scipy.integrate.cumtrapz(data, dx=dx) AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_trace.py", line 1260, in test_integrate tr.integrate() 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 1965, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) File "/app/repo/obspy/signal/differentiate_and_integrate.py", line 27, in integrate_cumtrapz ret = scipy.integrate.cumtrapz(data, dx=dx) AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/core/tests/test_trace.py", line 2506, in test_dtype_is_not_unnecessarily_changed integrate = tr_int32.copy().integrate(method="cumtrapz") 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 1965, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) File "/app/repo/obspy/signal/differentiate_and_integrate.py", line 27, in integrate_cumtrapz ret = scipy.integrate.cumtrapz(data, dx=dx) AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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-yng3tozk.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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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-c1ic38y4.tmp
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, 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'
1685 the signal is assumed to be periodic.
1686
1687 .. rubric:: Example
1688
1689 >>> tr = Trace(data=np.array([0.5, 0, 0.5, 1, 0.5, 0, 0.5, 1]))
1690 >>> len(tr)
1691 8
1692 >>> tr.stats.sampling_rate
1693 1.0
1694 >>> tr.resample(4.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: 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/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
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.
/app/repo/obspy/core/trace.py:1694: UnexpectedException
192
193 :param filename: A test file name to which the path should be returned.
194 :return: Full path to file.
195
196 .. rubric:: Example
197
198 >>> get_example_file('slist.ascii') # doctest: +SKIP
199 /custom/path/to/obspy/io/ascii/tests/data/slist.ascii
200
201 >>> get_example_file('does.not.exists') # doctest: +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,3 +1,16 @@
Traceback (most recent call last):
-...
-OSError: Could not find file does.not.exists ...
+ File "/usr/lib/python3.10/doctest.py", line 1350, in __run
+ exec(compile(example.source, filename, "single",
+ File "<doctest obspy.core.util.base.get_example_file[1]>", line 1, in <module>
+ get_example_file('does.not.exists') # doctest: +ELLIPSIS
+ 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.
/app/repo/obspy/core/util/base.py:201: DocTestFailure
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/imaging/tests/test_scan.py", line 172, in test_scanner_manually_add_streams st = read(file_, headonly=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 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.
114 91,92,93,94,95,97,98,102,103,104,106,107,108,109, and 111.
115 :type ignore_error: bool, optional
116 :param ignore_error: Include error frames as much as possible if True.
117 :rtype: :class:`~obspy.core.stream.Stream`
118 :return: A ObsPy Stream object.
119
120 .. rubric:: Example
121
122 >>> from obspy import read
123 >>> st = read("/path/to/pse.a15.1.2.mini")
UNEXPECTED EXCEPTION: Exception('Cannot open file/files: /app/repo/obspy/io/alsep/tests/data/pse.a15.1.2.mini')
Traceback (most recent call last):
File "/usr/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.alsep.core._read_pse[1]>", line 1, in <module>
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 226, in read
raise Exception("Cannot open file/files: %s" % pathname_or_url)
Exception: Cannot open file/files: /app/repo/obspy/io/alsep/tests/data/pse.a15.1.2.mini
/app/repo/obspy/io/alsep/core.py:123: UnexpectedException
187 for scanning available data in huge (temporary) data sets.
188 :type ignore_error: bool, optional
189 :param ignore_error: Include error frames as much as possible if True.
190 :rtype: :class:`~obspy.core.stream.Stream`
191 :return: A ObsPy Stream object.
192
193 .. rubric:: Example
194
195 >>> from obspy import read
196 >>> st = read("/path/to/wtn.1.2.mini")
UNEXPECTED EXCEPTION: Exception('Cannot open file/files: /app/repo/obspy/io/alsep/tests/data/wtn.1.2.mini')
Traceback (most recent call last):
File "/usr/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.alsep.core._read_wtn[1]>", line 1, in <module>
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 226, in read
raise Exception("Cannot open file/files: %s" % pathname_or_url)
Exception: Cannot open file/files: /app/repo/obspy/io/alsep/tests/data/wtn.1.2.mini
/app/repo/obspy/io/alsep/core.py:196: UnexpectedException
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/alsep/tests/test_alsep.py", line 46, in test_read_alsep_pse_file assert 10 == len(stream.traces) AssertionError: assert 10 == 0 + where 0 = len([]) + where [] = <obspy.core.stream.Stream object at 0xffff6462a380>.traces
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/alsep/tests/test_alsep.py", line 62, in test_read_alsep_wtn_file assert 27 == len(stream.traces) AssertionError: assert 27 == 0 + where 0 = len([]) + where [] = <obspy.core.stream.Stream object at 0xffff69905210>.traces
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/alsep/tests/test_alsep.py", line 78, in test_single_header_wtn assert 18 == len(stream.traces) AssertionError: assert 18 == 0 + where 0 = len([]) + where [] = <obspy.core.stream.Stream object at 0xffff673aaef0>.traces
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/alsep/tests/test_alsep.py", line 105, in test_frame_loss assert 1 == len(st_lpx) AssertionError: assert 1 == 0 + where 0 = len(<obspy.core.stream.Stream object at 0xffff673a9ff0>)
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/alsep/tests/test_alsep.py", line 114, in test_pse_read_year_option assert 1976 == st_lpx[0].times("utcdatetime")[0].year File "/app/repo/obspy/core/stream.py", line 645, in __getitem__ return self.traces.__getitem__(index) IndexError: list index out of range
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/ascii/tests/test_ascii.py", line 439, in test_write_slist _write_slist(stream_orig, tmpfile) 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'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/ascii/tests/test_ascii.py", line 484, in test_write_slist_custom_fmt_float _write_slist(stream_orig, tmpfile, custom_fmt='%3.14f') 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'%3.14f'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/ascii/tests/test_ascii.py", line 529, in test_write_slist_custom_fmt_custom _write_slist(stream_orig, tmpfile, custom_fmt='%+r') 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'%+r'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/ascii/tests/test_ascii.py", line 552, in test_write_slist_file_multiple_traces _write_slist(stream_orig, tmpfile) 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'%d'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/ascii/tests/test_ascii.py", line 607, in test_write_small_trace tr.write(tempfile, 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/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'%d'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/ascii/tests/test_ascii.py", line 626, in test_float_sampling_rates_write_and_read tr.write(tempfile, 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/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'%d'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/mseed/tests/test_mseed_util.py", line 639, in test_time_shifting util.shift_time_of_file(filename, output_filename, 22000) File "/app/repo/obspy/io/mseed/util.py", line 1612, in shift_time_of_file current_record[36] = current_record[36] & (~2) OverflowError: Python integer -3 out of bounds for uint8
044 .KW1..EH0 | 2015-10-09T22:51:11.675000Z - ... | 200.0 Hz, 2743 samples
045 .KW1..EH1 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3107 samples
046 .KW1..EH1 | 2015-10-09T22:51:05.925000Z - ... | 200.0 Hz, 768 samples
047 .KW1..EH1 | 2015-10-09T22:51:10.765000Z - ... | 200.0 Hz, 2925 samples
048 .KW1..EH2 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3405 samples
049 .KW1..EH2 | 2015-10-09T22:51:08.415000Z - ... | 200.0 Hz, 3395 samples
050
051 Network, location and component codes can be specified during reading:
052
053 >>> st = read("/path/to/225051000_00008656", network="BW", location="",
UNEXPECTED EXCEPTION: OverflowError('Python integer 2000 out of bounds for uint8')
Traceback (most recent call last):
File "/usr/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.io.reftek[4]>", line 1, in <module>
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/reftek/core.py", line 100, in _read_reftek130
rt130 = Reftek130.from_file(filename)
File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file
rt._data = _initial_unpack_packets(string)
File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets
result['time'][:] += [_get_nanoseconds_for_start_of_year(y)
File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp>
result['time'][:] += [_get_nanoseconds_for_start_of_year(y)
File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year
year += 2000
OverflowError: Python integer 2000 out of bounds for uint8
/app/repo/obspy/io/reftek/__init__.py:53: UnexpectedException
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 130, in test_read_reftek130_steim1 st_reftek = _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 143, in test_read_reftek130_steim2 st = _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 173, in test_read_reftek130_no_component_codes_specified st_reftek = _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 205, in test_integration_with_obspy_core st_reftek = obspy.read( 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/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 239, in test_warning_disturbed_packet_sequence _read_reftek130(fh.name, network="XX", location="01", File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 273, in test_read_file_perturbed_packet_sequence st_reftek = _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 308, in test_drop_not_implemented_packets _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 338, in test_missing_event_trailer_packet st_reftek = _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 363, in test_truncated_last_packet st_reftek = _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 396, in test_no_eh_et_packet _read_reftek130( File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 405, in test_data_unpacking_steim1 rt = Reftek130.from_file(self.reftek_file) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 417, in test_data_unpacking_steim2 rt = Reftek130.from_file(self.reftek_file_steim2) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 497, in test_string_representations rt130 = Reftek130.from_file(self.reftek_file) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 506, in test_reading_packet_with_vpu_float_string data = _initial_unpack_packets(data) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **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 142, in uncompress_file return 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/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 145, in from_file with io.open(filename, "rb") as fh: TypeError: expected str, bytes or os.PathLike object, not BytesIO 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 535, in test_reading_file_with_multiple_events st = obspy.read(bytes_, format='REFTEK130', 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 631, in _generic_reader generic = callback_func(fh.name, **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/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **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 142, in uncompress_file return 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/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 145, in from_file with io.open(filename, "rb") as fh: TypeError: expected str, bytes or os.PathLike object, not BytesIO 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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 560, in test_reading_file_with_no_data_in_channel_zero st = obspy.read(bio, format='REFTEK130') 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 631, in _generic_reader generic = callback_func(fh.name, **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/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 576, in test_reading_file_with_encoding_32 st = _read_reftek130(self.reftek_file_32) File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/reftek/tests/test_core.py", line 593, in test_reading_file_with_encoding_16 st = _read_reftek130(self.reftek_file_16) File "/app/repo/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/app/repo/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/app/repo/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/app/repo/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 80, in test_read_xy_write_xy_via_obspy tr.write(tempfile, format='SACXY') 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-z0897m72.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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 95, in test_read_write_xy_via_obspy tr.write(tempfile, format='SACXY') 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-1o92bgxz.tmp
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 111, in test_read_big_endian_via_obspy tr = read(self.filebe, format='SAC')[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 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 125, in test_swap_bytes_via_obspy trbe = read(self.filebe, format='SAC')[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 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 254, in test_iztype11 assert round(abs(t1.timestamp-t2.timestamp), 5) == 0 AssertionError: assert 1e-05 == 0 + where 1e-05 = round(8.821487426757812e-06, 5) + where 8.821487426757812e-06 = abs((1073117342.3999912 - 1073117342.4)) + where 1073117342.3999912 = UTCDateTime(2004, 1, 3, 8, 9, 2, 399991).timestamp + and 1073117342.4 = UTCDateTime(2004, 1, 3, 8, 9, 2, 400000).timestamp
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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 359, in test_write_sac_xy_with_minimum_stats tr.write(sac_file, 'SACXY') 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-ufhq439q.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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 421, in test_write_small_trace tr.write(tempfile, 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-oy5qu0ur.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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 627, in test_read_xy_write_xy_from_bytes_io _write_sac_xy(st, fh) File "/app/repo/obspy/io/sac/core.py", line 273, in _write_sac_xy _internal_write_sac_xy(stream[0], filename, **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) AttributeError: '_io.BytesIO' object has no attribute 'name'
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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 644, in test_read_xy_write_xy_from_open_file_binary_mode _write_sac_xy(st, tf) File "/app/repo/obspy/io/sac/core.py", line 273, in _write_sac_xy _internal_write_sac_xy(stream[0], filename, **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-sxleb03_.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 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_core.py", line 750, in test_writing_to_file_like_objects_with_obspy st.write(fh, format="sacxy") 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 273, in _write_sac_xy _internal_write_sac_xy(stream[0], filename, **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) AttributeError: '_io.BytesIO' object has no attribute 'name'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/sac/tests/test_sactrace.py", line 78, in test_read_sac_byteorder sac = SACTrace.read(self.filebe) 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/scardec/tests/test_core.py", line 43, in test_read_and_write_scardec_from_files cat.write(temp_filename, format="SCARDEC") File "/app/repo/obspy/core/event/catalog.py", line 506, in write return write_format(self, filename, **kwargs) File "/app/repo/obspy/io/scardec/core.py", line 327, in _write_scardec return _buffer_proxy(filename_or_buf, _internal_write_scardec, File "/app/repo/obspy/io/scardec/core.py", line 70, in _buffer_proxy return function(fh, *args, **kwargs) File "/app/repo/obspy/io/scardec/core.py", line 344, in _internal_write_scardec _internal_write_single_scardec(buf, event) File "/app/repo/obspy/io/scardec/core.py", line 453, in _internal_write_single_scardec np.savetxt(buf, np.asarray([times, samples]).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' %16.9E %16.9E'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/scardec/tests/test_core.py", line 90, in test_read_and_write_scardec_from_open_files cat.write(tf, format="SCARDEC") File "/app/repo/obspy/core/event/catalog.py", line 506, in write return write_format(self, filename, **kwargs) File "/app/repo/obspy/io/scardec/core.py", line 327, in _write_scardec return _buffer_proxy(filename_or_buf, _internal_write_scardec, File "/app/repo/obspy/io/scardec/core.py", line 64, in _buffer_proxy ret_val = function(filename_or_buf, *args, **kwargs) File "/app/repo/obspy/io/scardec/core.py", line 344, in _internal_write_scardec _internal_write_single_scardec(buf, event) File "/app/repo/obspy/io/scardec/core.py", line 453, in _internal_write_single_scardec np.savetxt(buf, np.asarray([times, samples]).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' %16.9E %16.9E'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/io/scardec/tests/test_core.py", line 136, in test_read_and_write_scardec_from_bytes_io cat.write(buf2, format="SCARDEC") File "/app/repo/obspy/core/event/catalog.py", line 506, in write return write_format(self, filename, **kwargs) File "/app/repo/obspy/io/scardec/core.py", line 327, in _write_scardec return _buffer_proxy(filename_or_buf, _internal_write_scardec, File "/app/repo/obspy/io/scardec/core.py", line 64, in _buffer_proxy ret_val = function(filename_or_buf, *args, **kwargs) File "/app/repo/obspy/io/scardec/core.py", line 344, in _internal_write_scardec _internal_write_single_scardec(buf, event) File "/app/repo/obspy/io/scardec/core.py", line 453, in _internal_write_single_scardec np.savetxt(buf, np.asarray([times, samples]).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' %16.9E %16.9E'
058 RtTrace object (step 3) which will automatically process any appended data
059 chunks.
060
061 1. Read first trace of example SAC data file and extract contained time
062 offset and epicentral distance of an earthquake::
063
064 >>> from obspy.realtime import RtTrace
065 >>> from obspy import read
066 >>> from obspy.realtime.signal import calculate_mwp_mag
067 >>> data_trace = read('/path/to/II.TLY.BHZ.SAC')[0]
UNEXPECTED EXCEPTION: 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/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.realtime.rttrace.RtTrace[3]>", line 1, in <module>
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.
/app/repo/obspy/realtime/rttrace.py:67: UnexpectedException
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 858, in pytest_runtest_setup 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 895, in pytest_runtest_setup 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 121, in _multicall res = hook_impl.function(*args) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 536, in setup col.setup() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( 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/setuponly.py", line 36, in pytest_fixture_setup 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/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/app/repo/obspy/realtime/tests/test_signal.py", line 24, in trace self.orig_trace = read( 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 "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/signal/tests/test_calibration.py", line 29, in test_relcal_sts2_vs_unknown freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, File "/app/repo/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/app/repo/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/signal/tests/test_calibration.py", line 73, in test_relcal_using_traces freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, smooth=10, File "/app/repo/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/app/repo/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/signal/tests/test_calibration.py", line 97, in test_relcal_different_overlaps freq, amp, phase = rel_calib_stack( File "/app/repo/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/app/repo/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/signal/tests/test_calibration.py", line 124, in test_relcal_using_dict freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, smooth=10, File "/app/repo/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/app/repo/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/usr/local/lib/python3.10/dist-packages/numpy/__init__.py", line 400, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/signal/tests/test_differentiate_and_integrate.py", line 23, in test_cumtrapz_integration integrate_cumtrapz(np.ones(10), dx=1.0), File "/app/repo/obspy/signal/differentiate_and_integrate.py", line 27, in integrate_cumtrapz ret = scipy.integrate.cumtrapz(data, dx=dx) AttributeError: module 'scipy.integrate' has no attribute 'cumtrapz'
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, 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 865, 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/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/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 184, in pytest_runtest_call item.runtest() File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, 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 167, in pytest_pyfunc_call result = testfunction(**testargs) File "/app/repo/obspy/signal/tests/test_invsim.py", line 459, in test_evalresp_seed_identifiers_work rel_diff = np.abs(response_2 - response_1).ptp() / \ AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Skipped tests (36)
Slowest tests (20)
Warnings (4)
| Stage | Filename | Category | Message |
|---|---|---|---|
| runtest | /app/repo/obspy/io/alsep/util.py:10 | RuntimeWarning | overflow encountered in scalar add |
| runtest | /app/repo/obspy/io/alsep/util.py:10 | RuntimeWarning | overflow encountered in scalar subtract |
| runtest | /app/repo/obspy/io/alsep/util.py:10 | RuntimeWarning | overflow encountered in scalar multiply |
| runtest | /app/repo/obspy/io/nordic/ellipse.py:377 | DeprecationWarning | Arrays of 2-dimensional vectors are deprecated. Use arrays of 3-dimensional vectors instead. (deprecated in NumPy 2.0) |