File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def _default_config(self) -> ContextManager[Path]:
81
81
"""
82
82
Default config file (as a context manager to allow it to be an ephemeral resource).
83
83
"""
84
- return importlib_resources .path ( "openeo_driver.config" , "default.py" )
84
+ return importlib_resources .as_file ( importlib_resources . files ( "openeo_driver.config" ) / "default.py" )
85
85
86
86
def _load (self , reason : Optional [str ] = None ) -> OpenEoBackendConfig :
87
87
"""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