#133095 Report by node gh-actions covering 200 tests from 59 modules resulted into 61 errors
Report
- ObsPy version
- 1.4.0.post0+94.gd1dd2208b7
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/3264
- Report file
- JSON document
- Total runtime
- 99.9 sec
- Report date/time
- Feb. 3, 2023, 9:07 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 11.3.0
- Python Implementation
- CPython
- Python Version
- 3.11.0
- Release
- 5.15.0-1031-azure
- System
- Linux
- Version
- #38-Ubuntu SMP Mon Jan 9 12:49:59 UTC 2023
Dependencies
- cartopy
- 0.21.1
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 4.9.2
- matplotlib
- 3.6.3
- numpy
- 1.24.1
- obspy
- 1.4.0.post0+94.gd1dd2208b7
- pyproj
- 3.4.1
- pytest
- 7.2.1
- pytest-json-report
- 1.5.0
- requests
- 2.28.2
- scipy
- 1.10.0
- setuptools
- 67.1.0
- shapefile
- ---
- sqlalchemy
- 2.0.1
Modules (59)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | 2 | 9 | 9 | - | 3.94s | 1 2 |
obspy.clients.fdsn | 40 | 137 | 135 | 2 | 32.45s | 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
obspy.clients.filesystem | Not tested | - | - | - | - | - |
obspy.clients.iris | 2 | 15 | 15 | - | 3.77s | 43 44 |
obspy.clients.neic | 4 | 5 | 5 | - | 1.43s | 45 46 47 48 |
obspy.clients.nrl | 2 | 3 | 3 | - | 1.19s | 49 50 |
obspy.clients.seedlink | - | 12 | 9 | 3 | 14.74s | - |
obspy.clients.syngine | 10 | 18 | 18 | - | 13.07s | 51 52 53 54 55 56 57 58 59 60 |
obspy.core | 1 | 1 | 1 | - | 3.41s | 61 |
obspy.core.event | Not tested | - | - | - | - | - |
obspy.core.inventory | Not tested | - | - | - | - | - |
obspy.core.util | Not tested | - | - | - | - | - |
obspy.geodetics | Not tested | - | - | - | - | - |
obspy.imaging | Not tested | - | - | - | - | - |
obspy.io.ah | Not tested | - | - | - | - | - |
obspy.io.alsep | Not tested | - | - | - | - | - |
obspy.io.arclink | Not tested | - | - | - | - | - |
obspy.io.ascii | Not tested | - | - | - | - | - |
obspy.io.cmtsolution | Not tested | - | - | - | - | - |
obspy.io.cnv | Not tested | - | - | - | - | - |
obspy.io.css | Not tested | - | - | - | - | - |
obspy.io.dmx | Not tested | - | - | - | - | - |
obspy.io.focmec | Not tested | - | - | - | - | - |
obspy.io.gcf | Not tested | - | - | - | - | - |
obspy.io.gse2 | Not tested | - | - | - | - | - |
obspy.io.hypodd | Not tested | - | - | - | - | - |
obspy.io.iaspei | Not tested | - | - | - | - | - |
obspy.io.json | Not tested | - | - | - | - | - |
obspy.io.kinemetrics | Not tested | - | - | - | - | - |
obspy.io.kml | Not tested | - | - | - | - | - |
obspy.io.mseed | Not tested | - | - | - | - | - |
obspy.io.ndk | Not tested | - | - | - | - | - |
obspy.io.nied | Not tested | - | - | - | - | - |
obspy.io.nlloc | Not tested | - | - | - | - | - |
obspy.io.nordic | Not tested | - | - | - | - | - |
obspy.io.pdas | Not tested | - | - | - | - | - |
obspy.io.pde | Not tested | - | - | - | - | - |
obspy.io.quakeml | Not tested | - | - | - | - | - |
obspy.io.reftek | Not tested | - | - | - | - | - |
obspy.io.rg16 | Not tested | - | - | - | - | - |
obspy.io.sac | Not tested | - | - | - | - | - |
obspy.io.scardec | Not tested | - | - | - | - | - |
obspy.io.seg2 | Not tested | - | - | - | - | - |
obspy.io.segy | Not tested | - | - | - | - | - |
obspy.io.seisan | Not tested | - | - | - | - | - |
obspy.io.seiscomp | Not tested | - | - | - | - | - |
obspy.io.sh | Not tested | - | - | - | - | - |
obspy.io.shapefile | Not tested | - | - | - | - | - |
obspy.io.stationtxt | Not tested | - | - | - | - | - |
obspy.io.stationxml | Not tested | - | - | - | - | - |
obspy.io.wav | Not tested | - | - | - | - | - |
obspy.io.win | Not tested | - | - | - | - | - |
obspy.io.xseed | Not tested | - | - | - | - | - |
obspy.io.y | Not tested | - | - | - | - | - |
obspy.io.zmap | Not tested | - | - | - | - | - |
obspy.realtime | Not tested | - | - | - | - | - |
obspy.scripts | Not tested | - | - | - | - | - |
obspy.signal | Not tested | - | - | - | - | - |
obspy.taup | Not tested | - | - | - | - | - |
Summary | 61 | 200 | 195 | 5 | 99.94s | 61 |
Tracebacks (61)
cls = <class '_pytest.runner.CallInfo'> func = <function call_runtest_hook.<locals>.<lambda> at 0x7f4183ea4860> when = 'call' reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) @classmethod def from_call( cls, func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']", reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() ../_pytest/runner.py:339: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) ../_pytest/runner.py:260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_HookCaller 'pytest_runtest_call'>, args = () kwargs = {'item': <DoctestItem obspy.clients.earthworm>}, argname = 'item' firstresult = False def __call__(self, *args, **kwargs): if args: raise TypeError("hook calling supports only keyword arguments") assert not self.is_historic() # This is written to avoid expensive operations when not needed. if self.spec: for argname in self.spec.argnames: if argname not in kwargs: notincall = tuple(set(self.spec.argnames) - kwargs.keys()) warnings.warn( "Argument(s) {} which are declared in the hookspec " "can not be found in this hook call".format(notincall), stacklevel=2, ) break firstresult = self.spec.opts.get("firstresult") else: firstresult = False > return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ../pluggy/_hooks.py:265: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.config.PytestPluginManager object at 0x7f419db8e850> hook_name = 'pytest_runtest_call' methods = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/usr/share/miniconda3/envs/test/lib/python3.11/...40410>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f41842f0a50>>, ...] kwargs = {'item': <DoctestItem obspy.clients.earthworm>}, firstresult = False def _hookexec(self, hook_name, methods, kwargs, firstresult): # called from all hookcaller instances. # enable_tracing will set its own wrapping function at self._inner_hookexec > return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ../pluggy/_manager.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook_name = 'pytest_runtest_call' hook_impls = [<HookImpl plugin_name='runner', plugin=<module '_pytest.runner' from '/usr/share/miniconda3/envs/test/lib/python3.11/...40410>>, <HookImpl plugin_name='logging-plugin', plugin=<_pytest.logging.LoggingPlugin object at 0x7f41842f0a50>>, ...] caller_kwargs = {'item': <DoctestItem obspy.clients.earthworm>} firstresult = False def _multicall(hook_name, hook_impls, caller_kwargs, firstresult): """Execute a call into multiple python functions/methods and return the result(s). ``caller_kwargs`` comes from _HookCaller.__call__(). """ __tracebackhide__ = True results = [] excinfo = None try: # run impl and wrapper setup functions in a loop teardowns = [] try: for hook_impl in reversed(hook_impls): try: args = [caller_kwargs[argname] for argname in hook_impl.argnames] except KeyError: for argname in hook_impl.argnames: if argname not in caller_kwargs: raise HookCallError( f"hook call must provide argument {argname!r}" ) if hook_impl.hookwrapper: try: gen = hook_impl.function(*args) next(gen) # first yield teardowns.append(gen) except StopIteration: _raise_wrapfail(gen, "did not yield") else: res = hook_impl.function(*args) if res is not None: results.append(res) if firstresult: # halt further impl calls break except BaseException: excinfo = sys.exc_info() finally: if firstresult: # first result hooks return a single value outcome = _Result(results[0] if results else None, excinfo) else: outcome = _Result(results, excinfo) # run all wrapper post-yield blocks for gen in reversed(teardowns): try: > gen.send(outcome) ../pluggy/_callers.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @pytest.hookimpl(hookwrapper=True, tryfirst=True) def pytest_runtest_call() -> Generator[None, None, None]: > yield from unraisable_exception_runtest_hook() ../_pytest/unraisableexception.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm: yield if cm.unraisable: if cm.unraisable.err_msg is not None: err_msg = cm.unraisable.err_msg else: err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n" msg += "".join( traceback.format_exception( cm.unraisable.exc_type, cm.unraisable.exc_value, cm.unraisable.exc_traceback, ) ) > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=2, type=1, proto=0> E E Traceback (most recent call last): E File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 1539, in trim E raise TypeError(msg) E ^^^^^^^^^ E ResourceWarning: unclosed <socket.socket fd=14, family=2, type=1, proto=0, laddr=('10.1.0.75', 40394), raddr=('130.118.181.39', 16022)> ../_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/earthworm/tests/test_client.py", line 155, in test_save_waveform ew_client.save_waveforms( File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/earthworm/client.py", line 163, in save_waveforms st.write(filename, format=format) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 1451, in write write_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
071 channel of station Albuquerque, New Mexico (``"ANMO"``) of the Global 072 Seismograph Network (``"IU"``) for an seismic event around 2010-02-27 06:45 073 (UTC). Results are returned as a :class:`~obspy.core.stream.Stream` object. 074 See the :meth:`~obspy.clients.fdsn.client.Client.get_waveforms_bulk()` 075 method for information on how to send multiple requests simultaneously to 076 avoid unnecessary network overhead. 077 078 >>> from obspy import UTCDateTime 079 >>> t = UTCDateTime("2010-02-27T06:45:00.000") 080 >>> st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t, t + 60 * 60) UNEXPECTED EXCEPTION: VersionConflict(SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn[6]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 878, in get_waveforms st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/__init__.py:80: UnexpectedException
421 422 Query the event service of the client. 423 424 >>> client = Client("IRIS") 425 >>> cat = client.get_events(eventid=609301) UNEXPECTED EXCEPTION: VersionConflict(SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_events[1]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 556, in get_events cat = obspy.read_events(data_stream, format="quakeml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:425: UnexpectedException
569 570 Query the station service of the FDSN client. 571 572 >>> client = Client("IRIS") 573 >>> starttime = UTCDateTime("2001-01-01") 574 >>> endtime = UTCDateTime("2001-01-02") 575 >>> inventory = client.get_stations(network="IU", station="A*", UNEXPECTED EXCEPTION: VersionConflict(SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_stations[3]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 756, in get_stations inventory = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:575: UnexpectedException
1093 - an open file handle (or file-like object) with the request 1094 1095 >>> client = Client("IRIS") 1096 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000") 1097 >>> t2 = t1 + 1 1098 >>> t3 = t1 + 3 1099 >>> bulk = [("IU", "ANMO", "*", "BHZ", t1, t2), 1100 ... ("IU", "AFI", "1?", "BHE", t1, t3), 1101 ... ("GR", "GRA1", "*", "BH*", t2, t3)] 1102 >>> inv = client.get_stations_bulk(bulk) UNEXPECTED EXCEPTION: VersionConflict(SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_stations_bulk[5]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1259, in get_stations_bulk inv = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:1102: UnexpectedException
768 769 Query the dataselect service of the client. 770 771 >>> client = Client("IRIS") 772 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000") 773 >>> t2 = t1 + 5 774 >>> st = client.get_waveforms("IU", "ANMO", "00", "LHZ", t1, t2) UNEXPECTED EXCEPTION: VersionConflict(SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_waveforms[3]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 878, in get_waveforms st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:774: UnexpectedException
936 - an open file handle (or file-like object) with the request 937 938 >>> client = Client("IRIS") 939 >>> t1 = UTCDateTime("2010-02-27T06:30:00.000") 940 >>> t2 = t1 + 1 941 >>> t3 = t1 + 3 942 >>> bulk = [("IU", "ANMO", "*", "BHZ", t1, t2), 943 ... ("IU", "AFI", "1?", "BHE", t1, t3), 944 ... ("GR", "GRA1", "*", "BH*", t2, t3)] 945 >>> st = client.get_waveforms_bulk(bulk) UNEXPECTED EXCEPTION: VersionConflict(SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.fdsn.client.Client.get_waveforms_bulk[5]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py:945: UnexpectedException
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_base_routing_client.py", line 121, in test_downloading_waveforms mock_instance.get_waveforms_bulk.return_value = obspy.read() ^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 206, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 297, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall gen.send(outcome) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]> Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/queues.py", line 35, in <module> class Queue(object): ResourceWarning: unclosed file <_io.FileIO name='/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/data/example.npz' mode='rb' closefd=True>
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 382, in test_iris_event_catalog_availability assert {*self.client.services["available_event_catalogs"]} == \ AssertionError: assert {'GCMT\n ', '...'NEIC PDE\n '} == {'GCMT', 'ISC', 'NEIC PDE'} Extra items in the left set: 'NEIC PDE\n ' 'ISC\n ' 'GCMT\n ' Extra items in the right set: 'GCMT' 'ISC' 'NEIC PDE' Full diff: - {'GCMT', 'ISC', 'NEIC PDE'} + {'NEIC PDE\n ', 'ISC\n ', 'GCMT\n '}
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 438, in test_iris_example_queries_event cat = client.get_events(eventid=609301) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 556, in get_events cat = obspy.read_events(data_stream, format="quakeml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 482, in test_irisph5_event cat = client.get_events(catalog='8A') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 556, in get_events cat = obspy.read_events(data_stream, format="quakeml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 497, in test_iris_example_queries_station inv = client.get_stations(latitude=-56.1, longitude=-26.7, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 756, in get_stations inventory = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 579, in test_iris_example_queries_dataselect got = client.get_waveforms(*query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 878, in get_waveforms st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 611, in test_authentication got = client.get_waveforms(*query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 878, in get_waveforms st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 628, in test_iris_example_queries_event_discover_services_false cat = client.get_events(eventid=609301) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 556, in get_events cat = obspy.read_events(data_stream, format="quakeml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 810, in read_events return _generic_reader(pathname_or_url, _read, format=format, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/event/catalog.py", line 818, in _read catalog, format = _read_from_plugin('event', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 676, in test_iris_example_queries_station_discover_services_false inv = client.get_stations(latitude=-56.1, longitude=-26.7, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 756, in get_stations inventory = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 761, in test_iris_example_queries_dataselect_discover_services_false got = client.get_waveforms(*query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 878, in get_waveforms st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 814, in test_help_function_with_iris assert got[-2].startswith('Available catalogs:') AssertionError: assert False + where False = <built-in method startswith of str object at 0x7f417f1073b0>('Available catalogs:') + where <built-in method startswith of str object at 0x7f417f1073b0> = 'SCP'.startswith
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 877, in test_dataselect_bulk expected = read(testdata["bulk.mseed"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 970, in test_station_bulk inv = client.get_stations_bulk(bulk, level="station") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1259, in get_stations_bulk inv = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1016, in test_get_waveform_attach_response st = client.get_waveforms_bulk(bulk, attach_response=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1280, in test_redirection st = c.get_waveforms( ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 878, in get_waveforms st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_client.py", line 1349, in test_redirection_auth st = c_auth.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 878, in get_waveforms st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall gen.send(outcome) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/threadexception.py", line 83, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/threadexception.py", line 73, in thread_exception_runtest_hook warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) pytest.PytestUnhandledThreadExceptionWarning: Exception in thread Thread-89 Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1543, in run code, data = download_url( ^^^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 0)
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 96, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 139, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1259, in get_stations_bulk inv = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_eidaws_routing_client.py", line 305, in test_get_waveforms_integration_test st = self.client.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 91, in _assert_attach_response_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 335, in get_waveforms return self.get_waveforms_bulk([bulk], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 91, in _assert_attach_response_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 99, in get_waveforms_bulk inv = self.get_stations_bulk(_b, level="channel", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 77, in _assert_format_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/eidaws_routing_client.py", line 179, in get_stations_bulk return self._download_stations(split, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 244, in _download_stations return self._download_parallel(split, data_type="station", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 270, in _download_parallel results = pool.map(_try_download_bulk, dl_requests) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 774, in get raise self._value File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 99, in _try_download_bulk warnings.warn( UserWarning: Failed to download data of type 'station' from 'https://orfeus-eu.org' due to: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 96, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 139, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1259, in get_stations_bulk inv = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall gen.send(outcome) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Pool.__del__ at 0x7f4183adb600> Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 268, in __del__ _warn(f"unclosed running multiprocessing pool {self!r}", ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=5>
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 96, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 139, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 297, in test_get_waveforms_integration_test st = self.client.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 91, in _assert_attach_response_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 335, in get_waveforms return self.get_waveforms_bulk([bulk], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 91, in _assert_attach_response_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 87, in get_waveforms_bulk return self._download_waveforms(split, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 241, in _download_waveforms return self._download_parallel(split, data_type="waveform", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 270, in _download_parallel results = pool.map(_try_download_bulk, dl_requests) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 774, in get raise self._value File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 99, in _try_download_bulk warnings.warn( UserWarning: Failed to download data of type 'waveform' from 'http://service.iris.edu' due to: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 96, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 139, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1058, in get_waveforms_bulk st = obspy.read(data_stream, format="MSEED") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 96, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 139, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1259, in get_stations_bulk inv = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_federator_routing_client.py", line 321, in test_get_stations_integration_test inv = self.client.get_stations( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 106, in get_stations return super(FederatorRoutingClient, self).get_stations(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 368, in get_stations return self.get_stations_bulk([bulk], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 84, in _assert_filename_not_in_kwargs return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/federator_routing_client.py", line 144, in get_stations_bulk return self._download_stations(split, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 244, in _download_stations return self._download_parallel(split, data_type="station", **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 270, in _download_parallel results = pool.map(_try_download_bulk, dl_requests) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 367, in map return self._map_async(func, iterable, mapstar, chunksize).get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 774, in get raise self._value File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 99, in _try_download_bulk warnings.warn( UserWarning: Failed to download data of type 'station' from 'http://service.iris.edu' due to: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 96, in _try_download_bulk return _download_bulk(r) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/routing/routing_client.py", line 139, in _download_bulk return fct(bulk_str + r["bulk_str"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/client.py", line 1259, in get_stations_bulk inv = read_inventory(data_stream, format='STATIONXML') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 292, in test_inventory_parsing inv = obspy.read_inventory(testdata["channel_level_fdsn.txt"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 553, in test_download_and_split_mseed ret_val = download_and_split_mseed_bulk( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/mass_downloader/utils.py", line 224, in download_and_split_mseed_bulk client.get_waveforms_bulk(bulk, filename=temp_filename) File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/mock.py", line 1108, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/mock.py", line 1112, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/unittest/mock.py", line 1173, in _execute_mock_call result = effect(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 538, in get_waveforms_bulk_mock st.write(filename, format="mseed") File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 1451, in write write_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 969, in test_get_stationxml_contents inv = obspy.read_inventory(testdata["AU.MEEK.xml"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 988, in test_fast_vs_slow_get_stationxml_contents assert get_stationxml_contents(testdata["AU.MEEK.xml"]) == \ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/mass_downloader/utils.py", line 423, in _get_stationxml_contents_slow inv = obspy.read_inventory(filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall gen.send(outcome) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Pool.__del__ at 0x7f4183adb600> Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 268, in __del__ _warn(f"unclosed running multiprocessing pool {self!r}", ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=1>
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2193, in test_get_availability c.client.get_stations.return_value = obspy.read_inventory( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2202, in test_get_availability_with_multiple_channel_epochs c.client.get_stations.return_value = obspy.read_inventory( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2287, in test_excluding_networks_and_stations obspy.read_inventory(testdata["channel_level_fdsn.txt"]) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2364, in test_excluding_networks_and_stations_with_an_inventory_object full_inv = obspy.read_inventory(testdata["channel_level_fdsn.txt"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2456, in test_parse_miniseed_filenames tr = obspy.read()[0] ^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 206, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 297, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/fdsn/tests/test_mass_downloader.py", line 2500, in test_warning_when_location_prios_excludes_all_channels c.client.get_stations.return_value = obspy.read_inventory( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall gen.send(outcome) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Pool.__del__ at 0x7f4183adb600> Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/multiprocessing/pool.py", line 268, in __del__ _warn(f"unclosed running multiprocessing pool {self!r}", ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=5>
298 :return: ObsPy Stream object if no ``filename`` is given. 299 300 .. rubric:: Example 301 302 >>> from obspy.clients.iris import Client 303 >>> from obspy import UTCDateTime 304 >>> dt = UTCDateTime("2005-01-01T00:00:00") 305 >>> client = Client() 306 >>> st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10) 307 >>> print(st[0].data) # doctest: +ELLIPSIS UNEXPECTED EXCEPTION: IndexError('list index out of range') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.iris.client.Client.timeseries[5]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 645, in __getitem__ return self.traces.__getitem__(index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IndexError: list index out of range /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/client.py:307: UnexpectedException
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/iris/tests/test_client.py", line 271, in test_timeseries assert st1[0].stats.starttime == st2[0].stats.starttime File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 645, in __getitem__ return self.traces.__getitem__(index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IndexError: list index out of range
033 :type debug: bool, optional 034 :param debug: if ``True``, print debug information (default is ``False``) 035 036 .. rubric:: Example 037 038 >>> from obspy.clients.neic import Client 039 >>> client = Client() 040 >>> t = UTCDateTime() - 5 * 3600 # 5 hours before now 041 >>> st = client.get_waveforms("IU", "ANMO", "00", "BH?", t, t + 10) 042 >>> print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: IU.ANMO.00.BH... | 40.0 Hz, 401 samples IU.ANMO.00.BH... | 40.0 Hz, 401 samples IU.ANMO.00.BH... | 40.0 Hz, 401 samples Got: 0 Trace(s) in Stream: <BLANKLINE> /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/neic/client.py:42: DocTestFailure
100 :rtype: :class:`~obspy.core.stream.Stream` 101 :returns: Stream object with requested data 102 103 .. rubric:: Example 104 105 >>> from obspy.clients.neic import Client 106 >>> client = Client() 107 >>> t = UTCDateTime() - 5 * 3600 # 5 hours before now 108 >>> st = client.get_waveforms("IU", "ANMO", "0?", "BH?", t, t + 10) 109 >>> print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: IU.ANMO.00.BH... | 40.0 Hz, 401 samples IU.ANMO.00.BH... | 40.0 Hz, 401 samples IU.ANMO.00.BH... | 40.0 Hz, 401 samples Got: 0 Trace(s) in Stream: <BLANKLINE> /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/neic/client.py:109: DocTestFailure
151 :returns: Stream object with requested data 152 153 .. rubric:: Example 154 155 >>> from obspy.clients.neic import Client 156 >>> from obspy import UTCDateTime 157 >>> client = Client() 158 >>> t = UTCDateTime() - 5 * 3600 # 5 hours before now 159 >>> st = client.get_waveforms_nscl("IUANMO BH.00", t, 10) 160 >>> print(st) # doctest: +ELLIPSIS Expected: 3 Trace(s) in Stream: IU.ANMO.00.BH... | 40.0 Hz, 401 samples IU.ANMO.00.BH... | 40.0 Hz, 401 samples IU.ANMO.00.BH... | 40.0 Hz, 401 samples Got: 0 Trace(s) in Stream: <BLANKLINE> /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/neic/client.py:160: DocTestFailure
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/neic/tests/test_client.py", line 56, in test_get_waveform_nscl assert len(st) == 3 AssertionError: assert 0 == 3 + where 0 = len(<obspy.core.stream.Stream object at 0x7f418ea31050>)
212 Get Response from NRL tree structure 213 214 :param datalogger_keys: List of data-loggers. 215 :type datalogger_keys: list[str] 216 :param sensor_keys: List of sensors. 217 :type sensor_keys: list[str] 218 :rtype: :class:`~obspy.core.inventory.response.Response` 219 220 >>> nrl = NRL() 221 >>> response = nrl.get_response( UNEXPECTED EXCEPTION: VersionConflict(SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.nrl.client.NRL.get_response[1]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 241, in get_response dl_resp = self.get_datalogger_response(datalogger_keys) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 189, in get_datalogger_response return obspy.read_inventory( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 415, in _read_from_plugin read_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py:221: UnexpectedException
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/http/client.py", line 1374, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.11/http/client.py", line 318, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/http/client.py", line 279, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/socket.py", line 705, in readinto return self._sock.recv_into(b) ^^^^^^^^^^^^^^^^^^^^^^^ ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() ^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/http/client.py", line 1374, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.11/http/client.py", line 318, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/http/client.py", line 279, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/socket.py", line 705, in readinto return self._sock.recv_into(b) ^^^^^^^^^^^^^^^^^^^^^^^ urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/tests/test_nrl.py", line 17, in test_nrl_type nrl_online = NRL(root='http://ds.iris.edu/NRL') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 50, in _deprecated return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 360, in __init__ super(self.__class__, self).__init__() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 67, in __init__ self.sensors = self._parse_ini(sensor_index) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 128, in _parse_ini cp = self._get_cp_from_ini(path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 382, in _get_cp_from_ini with io.StringIO(self._download(path)) as buf: ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/nrl/client.py", line 367, in _download r = requests.get(url) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
019 ----------- 020 021 First initialize a client object. 022 023 >>> from obspy.clients.syngine import Client 024 >>> client = Client() 025 026 Then request some data. 027 028 >>> st = client.get_waveforms(model="ak135f_5s", network="IU", station="ANMO", UNEXPECTED EXCEPTION: BadZipFile('File is not a zip file') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 183, in __read_to_stream st = obspy.read(buf) ^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.syngine[2]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 370, in get_waveforms return self.__read_to_stream(r=r) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 188, in __read_to_stream zip_obj = zipfile.ZipFile(buf) ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/zipfile.py", line 1299, in __init__ self._RealGetContents() File "/usr/share/miniconda3/envs/test/lib/python3.11/zipfile.py", line 1366, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/__init__.py:28: UnexpectedException
211 server side. The default values and all the exception handling are 212 deferred to the service. Please see `the Syngine documentation 213 <https://ds.iris.edu/ds/products/syngine/>`_ for more details and the 214 default values of all parameters. 215 216 .. rubric:: Example 217 218 >>> from obspy.clients.syngine import Client 219 >>> client = Client() 220 >>> st = client.get_waveforms(model="ak135f_5s", network="IU", UNEXPECTED EXCEPTION: BadZipFile('File is not a zip file') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 183, in __read_to_stream st = obspy.read(buf) ^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.syngine.client.Client.get_waveforms[2]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 370, in get_waveforms return self.__read_to_stream(r=r) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 188, in __read_to_stream zip_obj = zipfile.ZipFile(buf) ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/zipfile.py", line 1299, in __init__ self._RealGetContents() File "/usr/share/miniconda3/envs/test/lib/python3.11/zipfile.py", line 1366, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py:220: UnexpectedException
403 ... {"latitude": 47.0, "longitude": 12.1, 404 ... "networkcode": "AA", "stationcode": "BB", 405 ... "locationcode": "CC"}, # optional net/sta/loc 406 ... ["IU", "ANTO"], # net/sta as list 407 ... [33.2, -123.5] # lat/lon as list/tuple 408 ... ] 409 410 Just pass that on to the bulk waveform method and retrieve the data. 411 412 >>> st = c.get_waveforms_bulk( UNEXPECTED EXCEPTION: BadZipFile('File is not a zip file') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 183, in __read_to_stream st = obspy.read(buf) ^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.syngine.client.Client.get_waveforms_bulk[3]>", line 1, in <module> File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 607, in get_waveforms_bulk return self.__read_to_stream(r=r) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 188, in __read_to_stream zip_obj = zipfile.ZipFile(buf) ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/zipfile.py", line 1299, in __init__ self._RealGetContents() File "/usr/share/miniconda3/envs/test/lib/python3.11/zipfile.py", line 1366, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file /usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py:412: UnexpectedException
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/tests/test_client.py", line 113, in test_get_waveforms_mock obspy.read()[0].write(buf, format="mseed") ^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 206, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 297, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall gen.send(outcome) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]> Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/_weakrefset.py", line 88, in add self.data.add(ref(item, self._remove)) ResourceWarning: unclosed file <_io.FileIO name='/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/data/example.npz' mode='rb' closefd=True>
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/tests/test_client.py", line 266, in test_bulk_waveform_download_mock obspy.read()[0].write(buf, format="mseed") ^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 206, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 297, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 339, in from_call result: Optional[TResult] = func() ^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/runner.py", line 260, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall gen.send(outcome) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 88, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/_pytest/unraisableexception.py", line 78, in unraisable_exception_runtest_hook warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]> Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/urllib3/util/url.py", line 306, in <listcomp> if name and any([ord(x) > 128 for x in name]): ResourceWarning: unclosed file <_io.FileIO name='/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/data/example.npz' mode='rb' closefd=True>
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/tests/test_client.py", line 420, in test_saving_directly_to_file st = obspy.read(filename) ^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 183, in __read_to_stream st = obspy.read(buf) ^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/tests/test_client.py", line 437, in test_reading_saczip_files st = self.c.get_waveforms( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 370, in get_waveforms return self.__read_to_stream(r=r) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/client.py", line 194, in __read_to_stream st += obspy.read(buf_2) ^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 624, in _generic_reader generic = callback_func(pathname_or_url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 142, in uncompress_file return func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/clients/syngine/tests/test_client.py", line 457, in test_bulk_waveform_send_custom_payload obspy.read()[0].write(buf, format="mseed") ^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 206, in read st = _create_example_stream(headonly=headonly) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 297, in _create_example_stream inv = read_inventory(data_dir / "BW_RJOB.xml") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 91, in read_inventory return _generic_reader(path_or_file_object, _read, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 658, in _generic_reader generic = callback_func(pathnames[0], **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/inventory/inventory.py", line 100, in _read inventory, format = _read_from_plugin('inventory', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/tests/test_stream.py", line 1952, in test_read_url_via_network tr = read('https://examples.obspy.org/test.sac', dtype=np.int32)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 297, in _map_example_filename return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 208, in read st = _generic_reader(pathname_or_url, _read, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 645, in _generic_reader generic = callback_func(fh.name, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/decorator.py", line 208, in uncompress_file result = func(filename, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/stream.py", line 251, in _read stream, format = _read_from_plugin('waveform', filename, format=format, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/obspy/core/util/base.py", line 385, in _read_from_plugin is_format = buffered_load_entry_point( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/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 "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 522, in load_entry_point return get_distribution(dist).load_entry_point(group, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2855, in load_entry_point return ep.load() ^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2467, in load self.require(*args, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2490, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( ^^^^^^^^^^^^^^^^^^^ File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pkg_resources/__init__.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (SQLAlchemy 2.0.1 (/usr/share/miniconda3/envs/test/lib/python3.11/site-packages), Requirement.parse('sqlalchemy<2'))
Skipped tests (5)
Submodule | Test | Skip message |
---|---|---|
clients.fdsn | clients/fdsn/tests/test_client.py::TestClient::test_trim_stream_after_get_waveform | Skipped: data no longer available |
clients.fdsn | clients/fdsn/tests/test_client.py::TestClient::test_eida_token_resolution | Skipped: Token is expired |
clients.seedlink | clients/seedlink/tests/test_slclient.py::TestSLClient::test_info | Skipped: test must be started manually |
clients.seedlink | clients/seedlink/tests/test_slclient.py::TestSLClient::test_time_window | Skipped: test must be started manually |
clients.seedlink | clients/seedlink/tests/test_slclient.py::TestSLClient::test_issue708 | Skipped: test must be started manually |