File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def _default_config(self) -> ContextManager[Path]:
77
77
"""
78
78
Default config file (as a context manager to allow it to be an ephemeral resource).
79
79
"""
80
- return importlib_resources .path ( "openeo_driver.config" , "default.py" )
80
+ return importlib_resources .as_file ( importlib_resources . files ( "openeo_driver.config" ) / "default.py" )
81
81
82
82
def _load (self , reason : Optional [str ] = None ) -> OpenEoBackendConfig :
83
83
"""Load the config from config file."""
Original file line number Diff line number Diff line change 59
59
"python-dateutil" ,
60
60
"python-json-logger>=2.0.0" ,
61
61
"deprecated>=1.2.12" ,
62
- "importlib_resources<6.0.0 ; python_version<'3.10'" , # '<6.0.0' becaue of https://github.com/Open-EO/openeo-python-driver/issues/206
62
+ "importlib_resources; python_version<'3.10'" ,
63
63
"attrs" ,
64
64
],
65
65
extras_require = {
You can’t perform that action at this time.
0 commit comments