#156156 Report by node cursor covering 2000 tests from 60 modules resulted into 34 errors
Report
- ObsPy version
- 0.0.0.dev+0.g166e92c489
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 66.4 sec
- Report date/time
- April 10, 2026, 11:51 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- cursor
- Processor
- x86_64
- Python Compiler
- GCC 13.3.0
- Python Implementation
- CPython
- Python Version
- 3.12.3
- Release
- 6.12.58+
- System
- Linux
- Version
- #1 SMP PREEMPT_DYNAMIC Sat Jan 17 06:53:48 UTC 2026
Dependencies
- cartopy
- ---
- decorator
- 5.2.1
- flake8
- 7.3.0
- geographiclib
- ---
- lxml
- 6.0.3
- matplotlib
- 3.8.4
- numpy
- 1.26.4
- obspy
- 0.0.0.dev+0.g166e92c489
- pyproj
- 3.7.2
- pytest
- 9.0.3
- pytest-json-report
- 1.5.0
- requests
- 2.33.1
- scipy
- 1.17.1
- setuptools
- 81.0.0
- shapefile
- ---
- sqlalchemy
- 2.0.49
Modules (60)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.clients.earthworm | Not tested | - | - | - | - | - |
| obspy.clients.fdsn | - | 13 | 13 | - | 0.01s | - |
| obspy.clients.filesystem | 9 | 29 | 29 | - | 0.62s | 1 2 3 4 5 6 7 8 9 |
| obspy.clients.iris | Not tested | - | - | - | - | - |
| obspy.clients.neic | Not tested | - | - | - | - | - |
| obspy.clients.nrl | Not tested | - | - | - | - | - |
| obspy.clients.seedlink | Not tested | - | - | - | - | - |
| obspy.clients.seishub | Not tested | - | - | - | - | - |
| obspy.clients.syngine | Not tested | - | - | - | - | - |
| obspy.core | 11 | 596 | 587 | 9 | 11.28s | 10 11 12 13 14 15 16 17 18 19 20 |
| obspy.core.event | - | 18 | 18 | - | 0.08s | - |
| obspy.core.inventory | - | 23 | 23 | - | 0.59s | - |
| obspy.core.util | - | 23 | 20 | 3 | 0.07s | - |
| obspy.db | Not tested | - | - | - | - | - |
| obspy.geodetics | - | 21 | 19 | 2 | 0.04s | - |
| obspy.imaging | - | 89 | 88 | 1 | 11.37s | - |
| obspy.io.ah | - | 5 | 5 | - | 0.03s | - |
| obspy.io.arclink | - | 5 | 5 | - | 0.70s | - |
| obspy.io.ascii | - | 28 | 26 | 2 | 0.07s | - |
| obspy.io.cmtsolution | - | 10 | 10 | - | 0.03s | - |
| obspy.io.cnv | - | 1 | 1 | - | 0.01s | - |
| obspy.io.css | - | 10 | 10 | - | 0.07s | - |
| obspy.io.dmx | - | 5 | 5 | - | 0.01s | - |
| obspy.io.focmec | - | 8 | 8 | - | 0.03s | - |
| obspy.io.gcf | - | 9 | 9 | - | 0.02s | - |
| obspy.io.gse2 | - | 55 | 55 | - | 0.28s | - |
| obspy.io.hypodd | - | 9 | 9 | - | 0.08s | - |
| obspy.io.iaspei | - | 7 | 7 | - | 0.25s | - |
| obspy.io.json | - | 4 | 4 | - | 0.02s | - |
| obspy.io.kinemetrics | - | 8 | 8 | - | 0.19s | - |
| obspy.io.kml | - | 3 | 3 | - | 0.05s | - |
| obspy.io.mseed | - | 127 | 127 | - | 0.83s | - |
| obspy.io.ndk | - | 20 | 20 | - | 0.12s | - |
| obspy.io.nied | - | 11 | 11 | - | 0.03s | - |
| obspy.io.nlloc | - | 13 | 13 | - | 0.09s | - |
| obspy.io.nordic | - | 60 | 58 | 2 | 0.59s | - |
| obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
| obspy.io.pde | - | 13 | 12 | 1 | 0.21s | - |
| obspy.io.quakeml | - | 38 | 37 | 1 | 0.22s | - |
| obspy.io.reftek | - | 21 | 21 | - | 0.08s | - |
| obspy.io.rg16 | - | 38 | 38 | - | 0.08s | - |
| obspy.io.sac | - | 96 | 96 | - | 0.24s | - |
| obspy.io.scardec | - | 5 | 5 | - | 0.03s | - |
| obspy.io.seg2 | - | 2 | 2 | - | 0.01s | - |
| obspy.io.segy | - | 56 | 56 | - | 0.21s | - |
| obspy.io.seisan | - | 8 | 7 | 1 | 0.04s | - |
| obspy.io.seiscomp | - | 49 | 49 | - | 0.85s | - |
| obspy.io.sh | - | 26 | 24 | 2 | 0.16s | - |
| obspy.io.shapefile | - | 7 | 1 | 6 | 0.03s | - |
| obspy.io.stationtxt | - | 11 | 11 | - | 0.03s | - |
| obspy.io.stationxml | - | 23 | 23 | - | 0.20s | - |
| obspy.io.wav | - | 8 | 7 | 1 | 0.03s | - |
| obspy.io.win | - | 2 | 2 | - | 0.04s | - |
| obspy.io.xseed | - | 82 | 82 | - | 2.85s | - |
| obspy.io.y | - | 5 | 4 | 1 | 0.01s | - |
| obspy.io.zmap | - | 14 | 14 | - | 0.08s | - |
| obspy.realtime | - | 22 | 22 | - | 0.15s | - |
| obspy.scripts | - | 2 | 2 | - | 0.01s | - |
| obspy.signal | 14 | 188 | 186 | 2 | 12.18s | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
| obspy.taup | - | 71 | 65 | 6 | 17.39s | - |
| Summary | 34 | 2000 | 1960 | 40 | 66.39s | 34 |
Tracebacks (34)
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2132ab0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2130e90; station>, <sqlalchemy.sql.elements.Label at 0x7f29d9863b00; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2174c50; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2176ae0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21753a0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2132ab0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2130e90; station>, <sqlalchemy.sql.elements.Label at 0x7f29d9863b00; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2174c50; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2176ae0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21753a0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 381, in test_get_availability actual_avail = client.get_availability( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 415, in get_availability tsindex_rows = self._get_tsindex_rows(network, station, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows return self.request_handler._fetch_index_rows(query_rows) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2132ab0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2130e90; station>, <sqlalchemy.sql.elements.Label at 0x7f29d9863b00; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2174c50; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2176ae0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21753a0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2132ab0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2130e90; station>, <sqlalchemy.sql.elements.Label at 0x7f29d9863b00; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2174c50; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2176ae0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21753a0; endtime>)?
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d21744d0; network>, <sqlalchemy.sql.elements.Label at 0x7f29db4b8aa0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d21f4320; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21f6690; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21f7e00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21f61e0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d21744d0; network>, <sqlalchemy.sql.elements.Label at 0x7f29db4b8aa0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d21f4320; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21f6690; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21f7e00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21f61e0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 236, in test_get_availability_extent actual_avail_extents = client.get_availability_extent( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent summary_rows = self._get_summary_rows(network, station, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d21744d0; network>, <sqlalchemy.sql.elements.Label at 0x7f29db4b8aa0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d21f4320; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21f6690; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21f7e00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21f61e0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d21744d0; network>, <sqlalchemy.sql.elements.Label at 0x7f29db4b8aa0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d21f4320; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21f6690; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21f7e00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d21f61e0; endtime>)?
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d20eff20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef2c0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2142030; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21427e0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2143500; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d20eff20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef2c0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2142030; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21427e0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2143500; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 175, in test_get_nslc actual_nslc = client.get_nslc("I*,CU", ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 317, in get_nslc summary_rows = self._get_summary_rows(network, station, location, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d20eff20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef2c0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2142030; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21427e0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2143500; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d20eff20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef2c0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2142030; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d21427e0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2143500; endtime>)?
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2140770; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2140590; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed7f0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ec140; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20ecf20; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2140770; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2140590; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed7f0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ec140; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20ecf20; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 62, in test_get_waveforms returned_stream = client.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 262, in get_waveforms return self._get_waveforms(query_rows, merge) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms index_rows = self.request_handler._fetch_index_rows(query_rows) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2140770; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2140590; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed7f0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ec140; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20ecf20; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2140770; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2140590; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed070; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ed7f0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ec140; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20ecf20; endtime>)?
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d20ecc20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef1a0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee7b0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2159ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159370; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a1b0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d20ecc20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef1a0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee7b0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2159ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159370; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a1b0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 142, in test_get_waveforms_bulk returned_stream = client.get_waveforms_bulk(bulk_request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 288, in get_waveforms_bulk return self._get_waveforms(query_rows, merge) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms index_rows = self.request_handler._fetch_index_rows(query_rows) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d20ecc20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef1a0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee7b0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2159ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159370; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a1b0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d20ecc20; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef1a0; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee7b0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2159ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159370; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a1b0; endtime>)?
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d215b3e0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2158b30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2159700; location>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159c40; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2158560; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d215b3e0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2158b30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2159700; location>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159c40; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2158560; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 581, in test_has_data self.assertTrue(client.has_data()) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 558, in has_data avail_percentage = self.get_availability_percentage(network, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 494, in get_availability_percentage avail = self.get_availability(network, station, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 415, in get_availability tsindex_rows = self._get_tsindex_rows(network, station, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows return self.request_handler._fetch_index_rows(query_rows) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d215b3e0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2158b30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2159700; location>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159c40; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2158560; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d215b3e0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2158b30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2159700; location>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2159c40; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2158560; endtime>)?
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d20efaa0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee960; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef260; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee1e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef080; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20efc80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d20efaa0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee960; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef260; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee1e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef080; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20efc80; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 770, in test_build_file_list self.assertRaisesRegex(OSError, File "/usr/lib/python3.12/unittest/case.py", line 1316, in assertRaisesRegex return context.handle('assertRaisesRegex', args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/unittest/case.py", line 238, in handle callable_obj(*args, **kwargs) File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1064, in build_file_list tsindex = self.request_handler._fetch_index_rows() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d20efaa0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee960; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef260; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee1e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef080; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20efc80; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d20efaa0; network>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee960; station>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef260; location>, <sqlalchemy.sql.elements.Label at 0x7f29d20ee1e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d20ef080; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d20efc80; endtime>)?
Traceback (most recent call last): File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows sa.select([ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select return Select(*entities) ^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__ coercions.expect( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( ^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion self._raise_for_expected(element, argname) File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected return super()._raise_for_expected( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected super()._raise_for_expected( File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected raise exc.ArgumentError(msg, code=code) from err sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2175850; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2176c30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2175f40; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2132cc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2133560; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2132ba0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2175850; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2176c30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2175f40; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2132cc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2133560; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2132ba0; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 916, in test__fetch_summary_rows ts_summary_data = request_handler._fetch_summary_rows( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows raise ValueError(str(err)) ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2175850; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2176c30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2175f40; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2132cc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2133560; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2132ba0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2175850; network>, <sqlalchemy.sql.elements.Label at 0x7f29d2176c30; station>, <sqlalchemy.sql.elements.Label at 0x7f29d2175f40; location>, <sqlalchemy.sql.elements.Label at 0x7f29d2132cc0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2133560; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d2132ba0; endtime>)?
055 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
056
057 * :meth:`~Client.get_availability_extent()`:
058 Returns a list of (network, station, location, channel, earliest, latest)
059 tuples that represent the full extent of available data. This example
060 retrieves from the very small obspy test tsindex database a list of all
061 available ("BHZ") channel extents from the Global Seismograph Network
062 ("IU") for all times.
063
064 >>> extents = client.get_availability_extent(network="IU", channel="BHZ")
UNEXPECTED EXCEPTION: ValueError('Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2177d70; network>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; station>, <sqlalchemy.sql.elements.Label at 0x7f29d215a8d0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21587d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2158260; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a720; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2177d70; network>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; station>, <sqlalchemy.sql.elements.Label at 0x7f29d215a8d0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21587d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2158260; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a720; endtime>)?')
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows
sa.select([
File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/workspace/obspy/.venv/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2177d70; network>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; station>, <sqlalchemy.sql.elements.Label at 0x7f29d215a8d0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21587d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2158260; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a720; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2177d70; network>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; station>, <sqlalchemy.sql.elements.Label at 0x7f29d215a8d0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21587d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2158260; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a720; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.12/doctest.py", line 1361, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7f29d2177d70; network>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; station>, <sqlalchemy.sql.elements.Label at 0x7f29d215a8d0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21587d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2158260; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a720; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f29d2177d70; network>, <sqlalchemy.sql.elements.Label at 0x7f29d215ac00; station>, <sqlalchemy.sql.elements.Label at 0x7f29d215a8d0; location>, <sqlalchemy.sql.elements.Label at 0x7f29d21587d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f29d2158260; starttime>, <sqlalchemy.sql.elements.Label at 0x7f29d215a720; endtime>)?
/workspace/obspy/obspy/clients/filesystem/tsindex.py:64: UnexpectedException
Traceback (most recent call last): File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_stream.py", line 1884, in test_integrate_and_differentiate st1.integrate() File "/workspace/obspy/obspy/core/stream.py", line 2495, in integrate tr.integrate(method=method, **options) File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 1967, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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 "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_stream.py", line 2256, in test_method_chaining .integrate()\ ^^^^^^^^^^^ File "/workspace/obspy/obspy/core/stream.py", line 2495, in integrate tr.integrate(method=method, **options) File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 1967, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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 "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_stream.py", line 2411, in test_integrate tr.integrate() File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 1967, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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 "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_stream.py", line 2424, in test_integrate_args tr.integrate(method='cumtrapz') File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 1967, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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 "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1261, in test_integrate tr.integrate() File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 1967, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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 "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2787, in resolve return functools.reduce(getattr, self.attrs, module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hann' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1359, in test_taper_onesided tr.taper(max_percentage=None, side="left") File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 2147, in taper func = _get_function_from_entry_point('taper', type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/base.py", line 330, in _get_function_from_entry_point func = buffered_load_entry_point(entry_point.dist.key, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/misc.py", line 600, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3209, in load_entry_point return ep.load() ^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2779, in load return self.resolve() ^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2789, in resolve raise ImportError(str(exc)) from exc ImportError: module 'scipy.signal' has no attribute 'hann'
Traceback (most recent call last): File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2787, in resolve return functools.reduce(getattr, self.attrs, module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hann' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1389, in test_taper_length tr.taper(max_percentage=0.7, max_length=int(npts / 2) + 1) File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 2147, in taper func = _get_function_from_entry_point('taper', type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/base.py", line 330, in _get_function_from_entry_point func = buffered_load_entry_point(entry_point.dist.key, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/misc.py", line 600, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3209, in load_entry_point return ep.load() ^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2779, in load return self.resolve() ^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2789, in resolve raise ImportError(str(exc)) from exc ImportError: module 'scipy.signal' has no attribute 'hann'
Traceback (most recent call last): File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1680, in test_method_chaining .integrate()\ ^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 1967, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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 "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1847, in test_processing_information tr.integrate() File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 1967, in integrate self.data = func(data=self.data, dx=self.stats.delta, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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 "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2787, in resolve return functools.reduce(getattr, self.attrs, module) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hann' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_trace.py", line 2492, in test_dtype_is_not_unnecessarily_changed assert tr_int32.copy().taper(0.05, "hann").data.dtype == np.float64 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/trace.py", line 2147, in taper func = _get_function_from_entry_point('taper', type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/base.py", line 330, in _get_function_from_entry_point func = buffered_load_entry_point(entry_point.dist.key, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/util/misc.py", line 600, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 536, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3209, in load_entry_point return ep.load() ^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2779, in load return self.resolve() ^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2789, in resolve raise ImportError(str(exc)) from exc ImportError: module 'scipy.signal' has no attribute 'hann'
Traceback (most recent call last): File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/workspace/obspy/.venv/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/obspy/core/tests/test_waveform_plugins.py", line 220, in test_is_format assert len(paths) > 0, msg + '\n '.join(all_paths) AssertionError: Test data directories do not exist: /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/ah/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/css/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/dmx/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/gcf/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/gse2/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/gse2/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/kinemetrics/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/nied/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/mseed/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/css/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/pdas/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/core/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/sh/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/reftek/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/rg16/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/sac/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/sac/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/seg2/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/segy/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/seisan/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/sh/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/ascii/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/segy/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/ascii/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/wav/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/win/tests/data /workspace/obspy/.venv/lib/python3.12/site-packages/obspy/io/y/tests/data assert 0 > 0 + where 0 = len({})
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/signal/tests/test_differentiate_and_integrate.py", line 24, in test_cumtrapz_integration integrate_cumtrapz(np.ones(10), dx=1.0), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workspace/obspy/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/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_freqattributes.py", line 88, in setUp util.enframe(self.data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_hoctavbands.py", line 87, in setUp util.enframe(data, signal.hamming(self.n), self.inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 630, in run self._callSetUp() File "/usr/lib/python3.12/unittest/case.py", line 586, in _callSetUp self.setUp() File "/workspace/obspy/obspy/signal/tests/test_polarization.py", line 60, in setUp util.enframe(data_z, signal.hamming(n), inc) ^^^^^^^^^^^^^^ AttributeError: module 'scipy.signal' has no attribute 'hamming'
Traceback (most recent call last): File "/usr/lib/python3.12/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.12/unittest/case.py", line 634, in run self._callTestMethod(testMethod) File "/usr/lib/python3.12/unittest/case.py", line 589, in _callTestMethod if method() is not None: ^^^^^^^^ File "/workspace/obspy/obspy/signal/tests/test_quality_control.py", line 693, in test_clock_locked_percentage self.assertTrue(abs(sum(record_lengths) - (total_time)) < 1e-6) File "/usr/lib/python3.12/unittest/case.py", line 727, in assertTrue raise self.failureException(msg) AssertionError: False is not true
Skipped tests (40)
Slowest tests (20)
Warnings (44)
| Stage | Filename | Category | Message |
|---|---|---|---|
| runtest | /workspace/obspy/.venv/lib/python3.12/site-packages/matplotlib/_mathtext.py:2189 | PyparsingDeprecationWarning | 'parseString' deprecated - use 'parse_string' |
| collect | /workspace/obspy/obspy/clients/filesystem/tests/test_sds.py:2 | DeprecationWarning | 'imghdr' is deprecated and slated for removal in Python 3.13 |
| runtest | /workspace/obspy/obspy/taup/slowness_model.py:1814 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:399 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:281 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/.venv/lib/python3.12/site-packages/pyparsing/util.py:466 | PyparsingDeprecationWarning | 'parseAll' argument is deprecated, use 'parse_all' |
| runtest | /workspace/obspy/obspy/imaging/scripts/mopad.py:840 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:400 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/seismic_phase.py:1464 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/io/sac/sactrace.py:1543 | DeprecationWarning | `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead. |
| collect | /workspace/obspy/obspy/taup/tau.py:25 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:282 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/taup_geo.py:91 | DeprecationWarning | `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead. |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:370 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/.venv/lib/python3.12/site-packages/_pytest/python.py:166 | DeprecationWarning | `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead. |
| runtest | /workspace/obspy/obspy/io/sac/tests/test_sactrace.py:187 | DeprecationWarning | `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead. |
| collect | /workspace/obspy/obspy/imaging/cm.py:299 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:280 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| collect | /workspace/obspy/.venv/lib/python3.12/site-packages/matplotlib/_mathtext.py:45 | PyparsingDeprecationWarning | 'enablePackrat' deprecated - use 'enable_packrat' |
| runtest | /workspace/obspy/obspy/imaging/source.py:339 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |
| collect | /workspace/obspy/obspy/clients/filesystem/db.py:18 | MovedIn20Warning | The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) |
| runtest | /workspace/obspy/.venv/lib/python3.12/site-packages/matplotlib/_mathtext.py:2170 | PyparsingDeprecationWarning | 'resetCache' deprecated - use 'reset_cache' |
| runtest | /workspace/obspy/obspy/imaging/source.py:376 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |
| collect | /workspace/obspy/obspy/signal/polarization.py:15 | DeprecationWarning | `scipy.odr` is deprecated as of version 1.17.0 and will be removed in SciPy 1.19.0. Please use `https://pypi.org/project/odrpack/` instead. |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:371 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:372 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/imaging/source.py:332 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:265 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| collect | /workspace/obspy/obspy/io/ah/core.py:18 | DeprecationWarning | 'xdrlib' is deprecated and slated for removal in Python 3.13 |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:244 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/.venv/lib/python3.12/site-packages/matplotlib/_mathtext.py:2162 | PyparsingDeprecationWarning | 'parseString' deprecated - use 'parse_string' |
| runtest | /workspace/obspy/obspy/signal/tf_misfit.py:1084 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:266 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/core/util/misc.py:538 | MatplotlibDeprecationWarning | Auto-close()ing of figures upon backend switching is deprecated since 3.8 and will be removed two minor releases later. To suppress this warning, explicitly call plt.close('all') first. |
| runtest | /workspace/obspy/obspy/signal/tf_misfit.py:1344 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/seismic_phase.py:1437 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:246 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:245 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/io/mseed/tests/test_mseed_util.py:75 | DeprecationWarning | NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 128 to int8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype) will give the desired result (the cast overflows). |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:267 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/taup/tau_branch.py:401 | DeprecationWarning | Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) |
| runtest | /workspace/obspy/obspy/imaging/waveform.py:1292 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |
| collect | /workspace/obspy/obspy/imaging/cm.py:300 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |
| runtest | /workspace/obspy/obspy/io/kml/core.py:65 | MatplotlibDeprecationWarning | The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. |