v0.14.0
·
132 commits
to master
since this release
New Features
clisops
now makes use ofpytest-xdist
for parallel testing. This can be enabled using--numprocesses={int}
. See thepytest-xdist documentation <https://pytest-xdist.readthedocs.io/en/latest/>
_ for more information (#345).- Testing data caching is now handled by
pooch
and testing data registries ('stratus' forroocs/mini-esgf-data
and 'nimbus' forOuranosinc/xclim-testdata
) (#345). clisops
coding conventions now use Python 3.9+ conventions (#345).
Breaking Changes
clisops
has dropped support for Python 3.8 (#345).- Several dependencies have been updated to include lower bounds for clearer compatibility and easier maintenance (#345, #XYZ).
- The affected core dependencies are:
dask >=2023.6.0
,filelock >=3.15.4
,geopandas >=0.14.0
,jinja2 >=2.11
,numpy >=1.23.0
,packaging >=23.2
,pandas >=1.5.0
,pooch >=1.8.0
,scipy >=1.9.0
, andxarray >=2022.6.0
. - Extra dependencies are
ipython >=8.5.0
,matplotlib >=3.6.0
,nbconvert >=7.14.0
,nbsphinx >=0.9.5
,pre-commit >=3.5.0
, andsphinx >=7.0.0
.
- The affected core dependencies are:
clisops
no longer requiresgitpython >=3.1.30
andrequests >=2.0
(#345).- The development dependencies have been updated to include
deptry >=0.20.0
andpytest-xdist[psutil] >=3.2
(#345). netCDF4
has been moved from core dependency to development dependency (#345).
Other Changes
clisops.utils.testing
has replacedclisops.utils.tutorial
. This submodule contains several functions and variables for allowing user control over testing data fetching (#345).- The
_common
testing tools have been migrated toclisops.utils.testing
or rewritten aspytest
fixtures (#345). - Testing data fetching now uses worker threads to copy cached data to threadsafe data caches that are separated by worker (#345).