#140048 Report by node mother covering 1940 tests from 60 modules resulted into 116 errors
Report
- ObsPy version
- 1.3.0
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 55.4 sec
- Report date/time
- May 24, 2024, 2:16 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- mother
- Processor
- Python Compiler
- GCC 12.3.0
- Python Implementation
- CPython
- Python Version
- 3.10.14
- Release
- 5.10.0-25-amd64
- System
- Linux
- Version
- #1 SMP Debian 5.10.191-1 (2023-08-16)
Dependencies
- cartopy
- ---
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- ---
- lxml
- 5.2.2
- matplotlib
- 3.8.4
- numpy
- 2.0.0rc2
- obspy
- 1.3.0
- pyproj
- ---
- pytest
- 8.2.1
- pytest-json-report
- 1.5.0
- requests
- 2.32.2
- scipy
- 1.13.1
- setuptools
- 70.0.0
- shapefile
- ---
- sqlalchemy
- 2.0.30
Modules (60)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 13 | 13 | - | 0.02s | - |
obspy.clients.filesystem | 9 | 29 | 29 | - | 0.72s | 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 | 23 | 595 | 586 | 9 | 12.55s | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
obspy.core.event | - | 18 | 18 | - | 0.11s | - |
obspy.core.inventory | - | 23 | 23 | - | 0.73s | - |
obspy.core.util | 1 | 23 | 20 | 3 | 0.07s | 33 |
obspy.db | Not tested | - | - | - | - | - |
obspy.geodetics | - | 21 | 19 | 2 | 0.05s | - |
obspy.imaging | 1 | 88 | 87 | 1 | 13.06s | 34 |
obspy.io.ah | - | 5 | 5 | - | 0.04s | - |
obspy.io.arclink | - | 5 | 5 | - | 0.93s | - |
obspy.io.ascii | 6 | 28 | 26 | 2 | 0.06s | 35 36 37 38 39 40 |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.03s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.01s | - |
obspy.io.css | - | 10 | 10 | - | 0.09s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.01s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.04s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.02s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.21s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.09s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.34s | - |
obspy.io.json | - | 4 | 4 | - | 0.02s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.26s | - |
obspy.io.kml | - | 3 | 3 | - | 0.07s | - |
obspy.io.mseed | 3 | 127 | 127 | - | 0.70s | 41 42 43 |
obspy.io.ndk | - | 20 | 20 | - | 0.15s | - |
obspy.io.nied | - | 11 | 11 | - | 0.03s | - |
obspy.io.nlloc | - | 13 | 12 | 1 | 0.08s | - |
obspy.io.nordic | - | 60 | 58 | 2 | 0.72s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 12 | 1 | 0.14s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.27s | - |
obspy.io.reftek | 19 | 21 | 21 | - | 0.02s | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
obspy.io.rg16 | - | 38 | 38 | - | 0.09s | - |
obspy.io.sac | 12 | 96 | 96 | - | 0.33s | 63 64 65 66 67 68 69 70 71 72 73 74 |
obspy.io.scardec | 3 | 5 | 5 | - | 0.02s | 75 76 77 |
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.91s | - |
obspy.io.sh | - | 26 | 24 | 2 | 0.19s | - |
obspy.io.shapefile | - | 7 | 1 | 6 | 0.04s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.04s | - |
obspy.io.stationxml | - | 23 | 23 | - | 0.23s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.02s | - |
obspy.io.win | - | 2 | 2 | - | 0.05s | - |
obspy.io.xseed | - | 82 | 82 | - | 3.56s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.01s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.11s | - |
obspy.realtime | 13 | 22 | 22 | - | 0.04s | 78 79 80 81 82 83 84 85 86 87 88 89 90 |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | 26 | 201 | 199 | 2 | 11.50s | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 |
obspy.taup | Not tested | - | - | - | - | - |
Summary | 116 | 1940 | 1905 | 35 | 55.36s | 116 |
Tracebacks (116)
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f77f8963280; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8961840; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8961e10; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89639d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8961b70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f8963280; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8961840; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8961e10; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89639d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8961b70; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 381, in test_get_availability actual_avail = client.get_availability( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 415, in get_availability tsindex_rows = self._get_tsindex_rows(network, station, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows return self.request_handler._fetch_index_rows(query_rows) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f77f8963280; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8961840; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8961e10; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89639d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8961b70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f8963280; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8961840; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8961e10; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89639d0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c10; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8961b70; endtime>)?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f7801b90dc0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963400; station>, <sqlalchemy.sql.elements.Label at 0x7f77f89634f0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89638e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c70; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8962890; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f7801b90dc0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963400; station>, <sqlalchemy.sql.elements.Label at 0x7f77f89634f0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89638e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c70; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8962890; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 236, in test_get_availability_extent actual_avail_extents = client.get_availability_extent( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent summary_rows = self._get_summary_rows(network, station, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f7801b90dc0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963400; station>, <sqlalchemy.sql.elements.Label at 0x7f77f89634f0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89638e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c70; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8962890; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f7801b90dc0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963400; station>, <sqlalchemy.sql.elements.Label at 0x7f77f89634f0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f89638e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f8963c70; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8962890; endtime>)?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f77f889fa90; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f9d0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f580; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f520; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f889fa90; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f9d0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f580; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f520; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 175, in test_get_nslc actual_nslc = client.get_nslc("I*,CU", File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 317, in get_nslc summary_rows = self._get_summary_rows(network, station, location, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f77f889fa90; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f9d0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f580; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f520; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f889fa90; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f9d0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f580; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f520; endtime>)?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f77f889ffa0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f2b0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f400; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889fca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f790; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889fa60; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f889ffa0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f2b0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f400; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889fca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f790; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889fa60; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 62, in test_get_waveforms returned_stream = client.get_waveforms( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 262, in get_waveforms return self._get_waveforms(query_rows, merge) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms index_rows = self.request_handler._fetch_index_rows(query_rows) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f77f889ffa0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f2b0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f400; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889fca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f790; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889fa60; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f889ffa0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f2b0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889f400; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889fca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889f790; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889fa60; endtime>)?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f77f8996fb0; network>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3b20; station>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3e80; location>, <sqlalchemy.sql.elements.Label at 0x7f77f8973ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f89718a0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8971a20; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f8996fb0; network>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3b20; station>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3e80; location>, <sqlalchemy.sql.elements.Label at 0x7f77f8973ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f89718a0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8971a20; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 142, in test_get_waveforms_bulk returned_stream = client.get_waveforms_bulk(bulk_request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 288, in get_waveforms_bulk return self._get_waveforms(query_rows, merge) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms index_rows = self.request_handler._fetch_index_rows(query_rows) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f77f8996fb0; network>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3b20; station>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3e80; location>, <sqlalchemy.sql.elements.Label at 0x7f77f8973ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f89718a0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8971a20; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f8996fb0; network>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3b20; station>, <sqlalchemy.sql.elements.Label at 0x7f7802cd3e80; location>, <sqlalchemy.sql.elements.Label at 0x7f77f8973ca0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f89718a0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f8971a20; endtime>)?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f77f89614e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963a90; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8963100; location>, <sqlalchemy.sql.elements.Label at 0x7f78028daa10; channel>, <sqlalchemy.sql.elements.Label at 0x7f78028da950; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896a200; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f89614e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963a90; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8963100; location>, <sqlalchemy.sql.elements.Label at 0x7f78028daa10; channel>, <sqlalchemy.sql.elements.Label at 0x7f78028da950; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896a200; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 581, in test_has_data self.assertTrue(client.has_data()) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 558, in has_data avail_percentage = self.get_availability_percentage(network, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 494, in get_availability_percentage avail = self.get_availability(network, station, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 415, in get_availability tsindex_rows = self._get_tsindex_rows(network, station, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows return self.request_handler._fetch_index_rows(query_rows) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f77f89614e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963a90; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8963100; location>, <sqlalchemy.sql.elements.Label at 0x7f78028daa10; channel>, <sqlalchemy.sql.elements.Label at 0x7f78028da950; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896a200; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f89614e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f8963a90; station>, <sqlalchemy.sql.elements.Label at 0x7f77f8963100; location>, <sqlalchemy.sql.elements.Label at 0x7f78028daa10; channel>, <sqlalchemy.sql.elements.Label at 0x7f78028da950; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896a200; endtime>)?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f77f889efb0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889ed70; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889ee00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f610; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f889efb0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889ed70; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889ee00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f610; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 770, in test_build_file_list self.assertRaisesRegex(OSError, File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 1291, in assertRaisesRegex return context.handle('assertRaisesRegex', args, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 201, in handle callable_obj(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1064, in build_file_list tsindex = self.request_handler._fetch_index_rows() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f77f889efb0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889ed70; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889ee00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f610; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f77f889efb0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f889f5e0; station>, <sqlalchemy.sql.elements.Label at 0x7f77f889ed70; location>, <sqlalchemy.sql.elements.Label at 0x7f77f889f820; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f889ee00; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f889f610; endtime>)?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f78029845e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f896b100; station>, <sqlalchemy.sql.elements.Label at 0x7f77f896abf0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f896bee0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f896bcd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896b640; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f78029845e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f896b100; station>, <sqlalchemy.sql.elements.Label at 0x7f77f896abf0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f896bee0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f896bcd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896b640; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 918, in test__fetch_summary_rows ts_summary_data = request_handler._fetch_summary_rows( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f78029845e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f896b100; station>, <sqlalchemy.sql.elements.Label at 0x7f77f896abf0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f896bee0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f896bcd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896b640; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f78029845e0; network>, <sqlalchemy.sql.elements.Label at 0x7f77f896b100; station>, <sqlalchemy.sql.elements.Label at 0x7f77f896abf0; location>, <sqlalchemy.sql.elements.Label at 0x7f77f896bee0; channel>, <sqlalchemy.sql.elements.Label at 0x7f77f896bcd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7f77f896b640; 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 0x7f7806494c40; network>, <sqlalchemy.sql.elements.Label at 0x7f7806495f30; station>, <sqlalchemy.sql.elements.Label at 0x7f7806496830; location>, <sqlalchemy.sql.elements.Label at 0x7f7806496f20; channel>, <sqlalchemy.sql.elements.Label at 0x7f7806496e90; starttime>, <sqlalchemy.sql.elements.Label at 0x7f7806496d70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f7806494c40; network>, <sqlalchemy.sql.elements.Label at 0x7f7806495f30; station>, <sqlalchemy.sql.elements.Label at 0x7f7806496830; location>, <sqlalchemy.sql.elements.Label at 0x7f7806496f20; channel>, <sqlalchemy.sql.elements.Label at 0x7f7806496e90; starttime>, <sqlalchemy.sql.elements.Label at 0x7f7806496d70; endtime>)?') Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows stmts = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp> sa.select([ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 482, in select return Select(*entities) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5148, in __init__ self._raw_columns = [ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/selectable.py", line 5149, in <listcomp> coercions.expect( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect resolved = impl._literal_coercion( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 634, in _literal_coercion self._raise_for_expected(element, argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 1122, in _raise_for_expected return super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 693, in _raise_for_expected super()._raise_for_expected( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/sqlalchemy/sql/coercions.py", line 518, 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 0x7f7806494c40; network>, <sqlalchemy.sql.elements.Label at 0x7f7806495f30; station>, <sqlalchemy.sql.elements.Label at 0x7f7806496830; location>, <sqlalchemy.sql.elements.Label at 0x7f7806496f20; channel>, <sqlalchemy.sql.elements.Label at 0x7f7806496e90; starttime>, <sqlalchemy.sql.elements.Label at 0x7f7806496d70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f7806494c40; network>, <sqlalchemy.sql.elements.Label at 0x7f7806495f30; station>, <sqlalchemy.sql.elements.Label at 0x7f7806496830; location>, <sqlalchemy.sql.elements.Label at 0x7f7806496f20; channel>, <sqlalchemy.sql.elements.Label at 0x7f7806496e90; starttime>, <sqlalchemy.sql.elements.Label at 0x7f7806496d70; endtime>)? During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module> File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent summary_rows = self._get_summary_rows(network, station, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows return self.request_handler._fetch_summary_rows(query_rows) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 0x7f7806494c40; network>, <sqlalchemy.sql.elements.Label at 0x7f7806495f30; station>, <sqlalchemy.sql.elements.Label at 0x7f7806496830; location>, <sqlalchemy.sql.elements.Label at 0x7f7806496f20; channel>, <sqlalchemy.sql.elements.Label at 0x7f7806496e90; starttime>, <sqlalchemy.sql.elements.Label at 0x7f7806496d70; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7f7806494c40; network>, <sqlalchemy.sql.elements.Label at 0x7f7806495f30; station>, <sqlalchemy.sql.elements.Label at 0x7f7806496830; location>, <sqlalchemy.sql.elements.Label at 0x7f7806496f20; channel>, <sqlalchemy.sql.elements.Label at 0x7f7806496e90; starttime>, <sqlalchemy.sql.elements.Label at 0x7f7806496d70; endtime>)? /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/clients/filesystem/tsindex.py:64: UnexpectedException
3290 >>> s = ['', '', '3 Trace(s) in Stream:', 3291 ... 'IU.GRFO..HH2 | 2016-01-07T00:00:00.008300Z - ' 3292 ... '2016-01-07T00:00:30.098300Z | 10.0 Hz, 301 samples', 3293 ... 'XX.GRFO..HH1 | 2016-01-07T00:00:02.668393Z - ' 3294 ... '2016-01-07T00:00:09.518393Z | 100.0 Hz, 686 samples', 3295 ... 'IU.ABCD..EH2 | 2016-01-07T00:00:09.528393Z - ' 3296 ... '2016-01-07T00:00:50.378393Z | 100.0 Hz, 4086 samples', 3297 ... '', ''] 3298 >>> s = os.linesep.join(s) 3299 >>> st = Stream._dummy_stream_from_string(s) UNEXPECTED EXCEPTION: AttributeError('`np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.') Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.stream.Stream._dummy_stream_from_string[3]>", line 1, in <module> File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 3319, in _dummy_stream_from_string tr.data = np.ones(npts, dtype=np.float_) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.. Did you mean: 'float16'? /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py:3299: UnexpectedException
2333 2334 .. rubric:: Example 2335 2336 >>> st = read() 2337 >>> print(st) # doctest: +ELLIPSIS 2338 3 Trace(s) in Stream: 2339 BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples 2340 BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples 2341 BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples 2342 >>> st.resample(10.0) # doctest: +ELLIPSIS UNEXPECTED EXCEPTION: AttributeError('`newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.') Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module> File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 2351, in resample tr.resample(sampling_rate, window=window, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py:2342: UnexpectedException
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_preview.py", line 26, in test_create_preview preview = create_preview(trace, delta=60) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/preview.py", line 69, in create_preview diff = data.ptp(axis=1) AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_preview.py", line 200, in test_create_preview_with_unrounded_sample_rate create_preview(tr, delta=30) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/preview.py", line 69, in create_preview diff = data.ptp(axis=1) AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_preview.py", line 213, in test_create_preview_with_very_small_sample_rate create_preview(tr) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/preview.py", line 69, in create_preview diff = data.ptp(axis=1) AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_stream.py", line 1930, in test_read read('/path/to/UNKNOWN') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 286, in _map_example_filename args[ind] = get_example_file(args[ind][9:]) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 207, in get_example_file mod = __import__("obspy.%s" % module, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/taup/__init__.py", line 447, in <module> from .tau import TauPyModel # NOQA File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/taup/tau.py", line 14, in <module> from .helper_classes import Arrival File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/taup/helper_classes.py", line 20, in <module> ('top_p', np.float_), File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.. Did you mean: 'float16'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_stream.py", line 2247, in test_method_chaining .resample(st[0].stats.sampling_rate / 2)\ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 2351, in resample tr.resample(sampling_rate, window=window, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2482, 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 "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1359, in test_taper_onesided tr.taper(max_percentage=None, side="left") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 2147, in taper func = _get_function_from_entry_point('taper', type) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point func = buffered_load_entry_point(entry_point.dist.key, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 494, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2885, in load_entry_point return ep.load() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2474, in load return self.resolve() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2484, in resolve raise ImportError(str(exc)) from exc ImportError: module 'scipy.signal' has no attribute 'hann'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2482, 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 "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 2147, in taper func = _get_function_from_entry_point('taper', type) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point func = buffered_load_entry_point(entry_point.dist.key, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 494, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2885, in load_entry_point return ep.load() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2474, in load return self.resolve() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2484, in resolve raise ImportError(str(exc)) from exc ImportError: module 'scipy.signal' has no attribute 'hann'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1430, in test_times assert np.alltrue(tr.data.mask == tm.mask) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 410, in __getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'alltrue'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1640, in test_resample tr_2 = tr.copy().resample(sampling_rate=50.0) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1678, in test_method_chaining .resample(tr.stats.sampling_rate / 2.0)\ File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1845, in test_processing_information tr.resample(tr.stats.sampling_rate / 2.0) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 2119, in test_resample_new tr.resample(0.5, window='hanning', no_filter=True) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2482, 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 "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 2147, in taper func = _get_function_from_entry_point('taper', type) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 330, in _get_function_from_entry_point func = buffered_load_entry_point(entry_point.dist.key, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/misc.py", line 600, in buffered_load_entry_point _ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 494, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2885, in load_entry_point return ep.load() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2474, in load return self.resolve() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2484, in resolve raise ImportError(str(exc)) from exc ImportError: module 'scipy.signal' has no attribute 'hann'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 2717, in test_resample_short_traces tr.resample(30) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_utcdatetime.py", line 47, in test_from_numpy_string dt = UTC(np.string_("1970-01-01 12:23:34")) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.string_` was removed in the NumPy 2.0 release. Use `np.bytes_` instead.. Did you mean: 'strings'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_util_testing.py", line 72, in test_nan tr1.data[0], tr2.data[0] = np.NaN, np.NaN File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.. Did you mean: 'nan'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_waveform_plugins.py", line 94, in test_read_and_write st = read(outfile) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_waveform_plugins.py", line 281, in test_read_thread_safe tr.write(outfile, format=format) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 282, in _write_sac_xy _internal_write_sac_xy(trace, fh, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-x3nw2_4m.tmp
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_waveform_plugins.py", line 350, in test_issue_193 tr.write(tempfile, format) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 282, in _write_sac_xy _internal_write_sac_xy(trace, fh, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-1qvp1hg2.tmp
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/tests/test_waveform_plugins.py", line 459, in test_deepcopy stream.write(format=format, filename=tmpfile) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/core.py", line 352, in _write_slist np.savetxt(fh, data, delimiter=b'\t', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b'%+.10e'
1687 the signal is assumed to be periodic. 1688 1689 .. rubric:: Example 1690 1691 >>> tr = Trace(data=np.array([0.5, 0, 0.5, 1, 0.5, 0, 0.5, 1])) 1692 >>> len(tr) 1693 8 1694 >>> tr.stats.sampling_rate 1695 1.0 1696 >>> tr.resample(4.0) # doctest: +ELLIPSIS UNEXPECTED EXCEPTION: AttributeError('`newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.') Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module> File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 1725, in resample x = rfft(self.data.newbyteorder("=")) AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py:1696: UnexpectedException
191 192 :param filename: A test file name to which the path should be returned. 193 :return: Full path to file. 194 195 .. rubric:: Example 196 197 >>> get_example_file('slist.ascii') # doctest: +SKIP 198 /custom/path/to/obspy/io/ascii/tests/data/slist.ascii 199 200 >>> get_example_file('does.not.exists') # doctest: +ELLIPSIS Differences (unified diff with -expected +actual): @@ -1,3 +1,16 @@ Traceback (most recent call last): -... -OSError: Could not find file does.not.exists ... + File "/home/megies/miniconda3/envs/np2/lib/python3.10/doctest.py", line 1350, in __run + exec(compile(example.source, filename, "single", + File "<doctest obspy.core.util.base.get_example_file[1]>", line 1, in <module> + get_example_file('does.not.exists') # doctest: +ELLIPSIS + File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 207, in get_example_file + mod = __import__("obspy.%s" % module, + File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/taup/__init__.py", line 447, in <module> + from .tau import TauPyModel # NOQA + File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/taup/tau.py", line 14, in <module> + from .helper_classes import Arrival + File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/taup/helper_classes.py", line 20, in <module> + ('top_p', np.float_), + File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ + raise AttributeError( +AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.. Did you mean: 'float16'? /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py:200: DocTestFailure
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 87, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 90, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 878, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 183, in pytest_runtest_call raise e File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 173, in pytest_runtest_call item.runtest() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1632, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 162, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/imaging/tests/test_scan.py", line 130, in test_scanner_manually_add_streams st = read(file_, headonly=True) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/tests/test_ascii.py", line 642, in test_float_sampling_rates_write_and_read tr.write(tempfile, format=format) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/core.py", line 352, in _write_slist np.savetxt(fh, data, delimiter=b'\t', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b'%d'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/tests/test_ascii.py", line 449, in test_write_slist _write_slist(stream_orig, tmpfile) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/core.py", line 352, in _write_slist np.savetxt(fh, data, delimiter=b'\t', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b'%+.10e'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/tests/test_ascii.py", line 544, in test_write_slist_custom_fmt_custom _write_slist(stream_orig, tmpfile, custom_fmt='%+r') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/core.py", line 352, in _write_slist np.savetxt(fh, data, delimiter=b'\t', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b'%+r'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/tests/test_ascii.py", line 497, in test_write_slist_custom_fmt_float _write_slist(stream_orig, tmpfile, custom_fmt='%3.14f') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/core.py", line 352, in _write_slist np.savetxt(fh, data, delimiter=b'\t', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b'%3.14f'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/tests/test_ascii.py", line 568, in test_write_slist_file_multiple_traces _write_slist(stream_orig, tmpfile) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/core.py", line 352, in _write_slist np.savetxt(fh, data, delimiter=b'\t', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b'%d'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/tests/test_ascii.py", line 623, in test_write_small_trace tr.write(tempfile, format=format) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/ascii/core.py", line 352, in _write_slist np.savetxt(fh, data, delimiter=b'\t', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b'%d'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 309, in test_get_flags _create_mseed_file( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 75, in _create_mseed_file arr[:flags[key][name]] = 1 << _i OverflowError: Python integer 128 out of bounds for int8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 433, in test_get_flags_from_files_and_file_like_objects _create_mseed_file( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 75, in _create_mseed_file arr[:flags[key][name]] = 1 << _i OverflowError: Python integer 128 out of bounds for int8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 653, in test_time_shifting util.shift_time_of_file(filename, output_filename, 22000) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/mseed/util.py", line 1612, in shift_time_of_file current_record[36] = current_record[36] & (~2) OverflowError: Python integer -3 out of bounds for uint8
044 .KW1..EH0 | 2015-10-09T22:51:11.675000Z - ... | 200.0 Hz, 2743 samples 045 .KW1..EH1 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3107 samples 046 .KW1..EH1 | 2015-10-09T22:51:05.925000Z - ... | 200.0 Hz, 768 samples 047 .KW1..EH1 | 2015-10-09T22:51:10.765000Z - ... | 200.0 Hz, 2925 samples 048 .KW1..EH2 | 2015-10-09T22:50:51.000000Z - ... | 200.0 Hz, 3405 samples 049 .KW1..EH2 | 2015-10-09T22:51:08.415000Z - ... | 200.0 Hz, 3395 samples 050 051 Network, location and component codes can be specified during reading: 052 053 >>> st = read("/path/to/225051000_00008656", network="BW", location="", UNEXPECTED EXCEPTION: OverflowError('Python integer 2000 out of bounds for uint8') Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.reftek[4]>", line 1, in <module> File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8 /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/__init__.py:53: UnexpectedException
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 419, in test_data_unpacking_steim1 rt = Reftek130.from_file(self.reftek_file) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 432, in test_data_unpacking_steim2 rt = Reftek130.from_file(self.reftek_file_steim2) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 318, in test_drop_not_implemented_packets _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 216, in test_integration_with_obspy_core st_reftek = obspy.read( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 350, in test_missing_event_trailer_packet st_reftek = _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 406, in test_no_eh_et_packet _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 283, in test_read_file_perturbed_packet_sequence st_reftek = _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 183, in test_read_reftek130_no_component_codes_specified st_reftek = _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 140, in test_read_reftek130_steim1 st_reftek = _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 153, in test_read_reftek130_steim2 st = _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 610, in test_reading_file_with_encoding_16 st = _read_reftek130(self.reftek_file_16) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 593, in test_reading_file_with_encoding_32 st = _read_reftek130(self.reftek_file_32) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 623, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 145, in from_file with io.open(filename, "rb") as fh: TypeError: expected str, bytes or os.PathLike object, not BytesIO During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 552, in test_reading_file_with_multiple_events st = obspy.read(bytes_, format='REFTEK130', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 630, in _generic_reader generic = callback_func(fh.name, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 623, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 145, in from_file with io.open(filename, "rb") as fh: TypeError: expected str, bytes or os.PathLike object, not BytesIO During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 577, in test_reading_file_with_no_data_in_channel_zero st = obspy.read(bio, format='REFTEK130') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 630, in _generic_reader generic = callback_func(fh.name, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 522, in test_reading_packet_with_vpu_float_string data = _initial_unpack_packets(data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 513, in test_string_representations rt130 = Reftek130.from_file(self.reftek_file) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 376, in test_truncated_last_packet st_reftek = _read_reftek130( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/tests/test_core.py", line 249, in test_warning_disturbed_packet_sequence _read_reftek130(fh.name, network="XX", location="01", File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 100, in _read_reftek130 rt130 = Reftek130.from_file(filename) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/core.py", line 148, in from_file rt._data = _initial_unpack_packets(string) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in _initial_unpack_packets result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/packet.py", line 256, in <listcomp> result['time'][:] += [_get_nanoseconds_for_start_of_year(y) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/reftek/util.py", line 44, in _get_nanoseconds_for_start_of_year year += 2000 OverflowError: Python integer 2000 out of bounds for uint8
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 255, in test_iztype11 self.assertAlmostEqual(t1.timestamp, t2.timestamp, 5) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 899, in assertAlmostEqual raise self.failureException(msg) AssertionError: 1073117342.3999912 != 1073117342.4 within 5 places (8.821487426757812e-06 difference)
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 113, in test_read_big_endian_via_obspy tr = read(self.filebe, format='SAC')[0] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 97, in test_read_write_xy_via_obspy tr.write(tempfile, format='SACXY') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 282, in _write_sac_xy _internal_write_sac_xy(trace, fh, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-xre1ap5z.tmp
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 622, in test_read_xy_write_xy_from_bytes_io _write_sac_xy(st, fh) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 272, in _write_sac_xy _internal_write_sac_xy(stream[0], filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) AttributeError: '_io.BytesIO' object has no attribute 'name'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 639, in test_read_xy_write_xy_from_open_file_binary_mode _write_sac_xy(st, tf) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 272, in _write_sac_xy _internal_write_sac_xy(stream[0], filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-yj08exfx.tmp
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 82, in test_read_xy_write_xy_via_obspy tr.write(tempfile, format='SACXY') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 282, in _write_sac_xy _internal_write_sac_xy(trace, fh, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-p1af4xyj.tmp
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 127, in test_swap_bytes_via_obspy trbe = read(self.filebe, format='SAC')[0] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 361, in test_write_sac_xy_with_minimum_stats tr.write(sac_file, 'SACXY') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 282, in _write_sac_xy _internal_write_sac_xy(trace, fh, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-ubj2hhlz.tmp
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 423, in test_write_small_trace tr.write(tempfile, format=format) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/trace.py", line 999, in write Stream([self]).write(filename, format, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 282, in _write_sac_xy _internal_write_sac_xy(trace, fh, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) obspy.io.sac.util.SacIOError: Cannot write trace values: /tmp/obspy-chx_hdyb.tmp
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 416, in write_sac_ascii np.savetxt(f, data[5 * rows:], delimiter=b'\t') File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1601, in savetxt format = delimiter.join(fmt) TypeError: sequence item 0: expected a bytes-like object, str found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_core.py", line 742, in test_writing_to_file_like_objects_with_obspy st.write(fh, format="sacxy") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 1456, in write write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 272, in _write_sac_xy _internal_write_sac_xy(stream[0], filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 302, in _internal_write_sac_xy sac.write(buf, ascii=True, flush_headers=False) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1135, in write _io.write_sac_ascii(dest, self._hf, self._hi, self._hs, data) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 420, in write_sac_ascii raise SacIOError("Cannot write trace values: " + f.name) AttributeError: '_io.BytesIO' object has no attribute 'name'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_sactrace.py", line 187, in test_lcalda meters, az, baz = gps2dist_azimuth(evla, evlo, stla, stlo) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/geodetics/base.py", line 268, in gps2dist_azimuth if np.alltrue(np.isnan(values)): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 410, in __getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'alltrue'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/tests/test_sactrace.py", line 80, in test_read_sac_byteorder sac = SACTrace.read(self.filebe) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/tests/test_core.py", line 143, in test_read_and_write_scardec_from_bytes_io cat.write(buf2, format="SCARDEC") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/event/catalog.py", line 505, in write return write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 327, in _write_scardec return _buffer_proxy(filename_or_buf, _internal_write_scardec, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 64, in _buffer_proxy ret_val = function(filename_or_buf, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 344, in _internal_write_scardec _internal_write_single_scardec(buf, event) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 453, in _internal_write_single_scardec np.savetxt(buf, np.asarray([times, samples]).T, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b' %16.9E %16.9E'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/tests/test_core.py", line 50, in test_read_and_write_scardec_from_files cat.write(temp_filename, format="SCARDEC") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/event/catalog.py", line 505, in write return write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 327, in _write_scardec return _buffer_proxy(filename_or_buf, _internal_write_scardec, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 70, in _buffer_proxy return function(fh, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 344, in _internal_write_scardec _internal_write_single_scardec(buf, event) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 453, in _internal_write_single_scardec np.savetxt(buf, np.asarray([times, samples]).T, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b' %16.9E %16.9E'
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/tests/test_core.py", line 97, in test_read_and_write_scardec_from_open_files cat.write(tf, format="SCARDEC") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/event/catalog.py", line 505, in write return write_format(self, filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 327, in _write_scardec return _buffer_proxy(filename_or_buf, _internal_write_scardec, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 64, in _buffer_proxy ret_val = function(filename_or_buf, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 344, in _internal_write_scardec _internal_write_single_scardec(buf, event) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/scardec/core.py", line 453, in _internal_write_single_scardec np.savetxt(buf, np.asarray([times, samples]).T, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/lib/_npyio_impl.py", line 1609, in savetxt raise ValueError('invalid fmt: %r' % (fmt,)) ValueError: invalid fmt: b' %16.9E %16.9E'
058 RtTrace object (step 3) which will automatically process any appended data 059 chunks. 060 061 1. Read first trace of example SAC data file and extract contained time 062 offset and epicentral distance of an earthquake:: 063 064 >>> from obspy.realtime import RtTrace 065 >>> from obspy import read 066 >>> from obspy.realtime.signal import calculate_mwp_mag 067 >>> data_trace = read('/path/to/II.TLY.BHZ.SAC')[0] UNEXPECTED EXCEPTION: AttributeError('`newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.') Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.realtime.rttrace.RtTrace[3]>", line 1, in <module> File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/rttrace.py:67: UnexpectedException
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1053, in execute raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: Optional[TResult] = func() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 241, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 85, in pytest_runtest_setup yield from unraisable_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 65, in unraisable_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 844, in pytest_runtest_setup yield from self._runtest_for(item, "setup") File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/logging.py", line 833, in _runtest_for yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/capture.py", line 873, in pytest_runtest_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 82, in pytest_runtest_setup yield from thread_exception_runtest_hook() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/threadexception.py", line 63, in thread_exception_runtest_hook yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 159, in pytest_runtest_setup item.session._setupstate.setup(item) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 517, in setup raise exc File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/runner.py", line 514, in setup col.setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 212, in setup super().setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/python.py", line 1635, in setup self._request._fillfixtures() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 683, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 518, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 603, in _get_active_fixturedef fixturedef.execute(request=subrequest) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1073, in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 122, in _multicall teardown.throw(exception) # type: ignore[union-attr] File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 1122, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/fixtures.py", line 877, in call_fixture_func fixture_result = next(generator) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/_pytest/unittest.py", line 140, in unittest_setup_class_fixture setup() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/realtime/tests/test_signal.py", line 27, in setUpClass cls.orig_trace = read(os.path.join(os.path.dirname(__file__), 'data', File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 291, in _map_example_filename return func(*args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 657, in _generic_reader generic = callback_func(pathnames[0], **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 202, in uncompress_file result = func(filename, *args, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/stream.py", line 249, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/core/util/base.py", line 422, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 344, in _read_sac return _internal_read_sac(buf=fh, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/core.py", line 389, in _internal_read_sac sac = SACTrace.read(buf, headonly=headonly, ascii=False, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/sactrace.py", line 1086, in read hf, hi, hs, data = _io.read_sac(source, headonly=headonly, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/sac/arrayio.py", line 144, in read_sac hf = hf.newbyteorder('S') AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.. Did you mean: 'nan'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.. Did you mean: 'nan'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.. Did you mean: 'nan'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_array_analysis.py", line 29, in setUp self.ts1.fill(np.NaN) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.. Did you mean: 'nan'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_calibration.py", line 103, in test_relcal_different_overlaps freq, amp, phase = rel_calib_stack( File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.. Did you mean: 'complex64'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_calibration.py", line 35, in test_relcal_sts2_vs_unknown freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.. Did you mean: 'complex64'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_calibration.py", line 130, in test_relcal_using_dict freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, smooth=10, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.. Did you mean: 'complex64'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_calibration.py", line 79, in test_relcal_using_traces freq, amp, phase = rel_calib_stack(st1, st2, calfile, 20, smooth=10, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 88, in rel_calib_stack spectral_helper(tr1, tr1, NFFT=nfft, Fs=sampfreq, noverlap=noverlap) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/calibration.py", line 222, in spectral_helper p_xy = np.zeros((num_freqs, n), np.complex_) File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/numpy/__init__.py", line 397, in __getattr__ raise AttributeError( AttributeError: `np.complex_` was removed in the NumPy 2.0 release. Use `np.complex128` instead.. Did you mean: 'complex64'?
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_cpxtrace.py", line 85, 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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_cpxtrace.py", line 85, 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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_cpxtrace.py", line 85, 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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_cpxtrace.py", line 85, 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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_invsim.py", line 466, in test_evalresp_seed_identifiers_work rel_diff = np.abs(response_2 - response_1).ptp() / \ AttributeError: `ptp` was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.
Traceback (most recent call last): File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 587, in run self._callSetUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 546, in _callSetUp self.setUp() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 59, in testPartExecutor yield File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 591, in run self._callTestMethod(testMethod) File "/home/megies/miniconda3/envs/np2/lib/python3.10/unittest/case.py", line 549, in _callTestMethod method() File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/tests/test_quality_control.py", line 272, in test_extraction_fixed_header_flags _create_mseed_file(tf1.name, record_count=35, File "/home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/mseed/tests/test_mseed_util.py", line 75, in _create_mseed_file arr[:flags[key][name]] = 1 << _i OverflowError: Python integer 128 out of bounds for int8
Skipped tests (35)
Slowest tests (20)
Warnings (19)
Stage | Filename | Category | Message |
---|---|---|---|
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/imaging/waveform.py:1282 | 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 | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/array_analysis.py:833 | DeprecationWarning | 'scipy.integrate.cumtrapz' is deprecated in favour of 'scipy.integrate.cumulative_trapezoid' and will be removed in SciPy 1.14.0 |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/cross_correlation.py:985 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/imaging/scripts/scan.py:437 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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. |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/imaging/beachball.py:274 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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. |
collect | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/signal/differentiate_and_integrate.py:27 | DeprecationWarning | 'scipy.integrate.cumtrapz' is deprecated in favour of 'scipy.integrate.cumulative_trapezoid' and will be removed in SciPy 1.14.0 |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 | <doctest obspy.signal._sosfilt._sosfilt[13]>:1 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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 | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/obspy/io/nordic/ellipse.py:377 | DeprecationWarning | Arrays of 2-dimensional vectors are deprecated. Use arrays of 3-dimensional vectors instead. (deprecated in NumPy 2.0) |
runtest | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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. |
collect | /home/megies/miniconda3/envs/np2/lib/python3.10/site-packages/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) |