Skip to content

Fix Python version in RTD build process #77

Fix Python version in RTD build process

Fix Python version in RTD build process #77

GitHub Actions / Unit Test Results Python 3.9 failed Nov 2, 2023 in 0s

9 errors in 30s

9 tests   - 638   0 ✔️  - 647   30s ⏱️ - 12m 18s
1 suites ±    0   0 💤 ±    0 
1 files   ±    0   0 ±    0   9 🔥 +9 

Results for commit 888b505. ± Comparison against earlier commit 8c8ddeb.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.engine.test.test_cost_benefit with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.engine.test.test_forecast with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.engine.test.test_impact with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.engine.test.test_impact_calc with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.engine.test.test_impact_data with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.engine.unsequa.test.test_unsequa with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:850: in exec_module
    ???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
    ???
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.entity.impact_funcs.test.test_ws with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
climada/entity/impact_funcs/test/test_ws.py:25: in <module>
    from climada.entity.impact_funcs.storm_europe import ImpfStormEurope
climada/entity/impact_funcs/storm_europe.py:29: in <module>
    from climada.engine.calibration_opt import init_impf
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.util.test.test_lines_polys_handler with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
climada/util/test/test_lines_polys_handler.py:34: in <module>
    import climada.util.lines_polys_handler as u_lp
climada/util/lines_polys_handler.py:31: in <module>
    from climada.engine import ImpactCalc
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results Python 3.9

climada.util.test.test_yearsets with error

tests_xml/tests.xml [took 0s]
Raw output
collection failure
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:44: in __getattr__
    return self.__getitem__(key)
E   KeyError: 'Stamen'

The above exception was the direct cause of the following exception:
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../micromamba/envs/climada_env_3.9/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
climada/util/test/test_yearsets.py:27: in <module>
    from climada.engine import Impact
climada/engine/__init__.py:21: in <module>
    from .impact import *
climada/engine/impact.py:57: in <module>
    class Impact():
climada/engine/impact.py:676: in Impact
    url=ctx.providers.Stamen.Terrain,
../../../micromamba/envs/climada_env_3.9/lib/python3.9/site-packages/xyzservices/lib.py:46: in __getattr__
    raise AttributeError(key) from err
E   AttributeError: Stamen