Deltares / xugrid

Xarray and unstructured grids
https://deltares.github.io/xugrid/
MIT License
58 stars 8 forks source link

Fix importlib/pathlib DeprecationWarning #194

Closed veenstrajelmer closed 1 month ago

veenstrajelmer commented 8 months ago
..\..\Users\veenstra\Anaconda3\envs\dfm_tools_env\Lib\site-packages\xugrid\data\sample_data.py:16
  C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\Lib\site-packages\xugrid\data\sample_data.py:16: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op
    with importlib.resources.files("xugrid.data") as path:
veenstrajelmer commented 1 month ago

Duplicate of https://github.com/Deltares/xugrid/issues/244