Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- py310-all
- py311-all
- py312-all
- py313-all
- py314-all
use-mpl:
- "--mpl --mpl-results-path=/tmp/salem-mpl-results"
include:
Expand All @@ -31,7 +33,7 @@ jobs:
shell: bash -leo pipefail {0}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
run: coveralls
- name: Upload pytest-mpl artifacts
if: "${{ failure() && matrix.use-mpl != '' }}"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: "pytest-mpl-results-${{ matrix.test-env }}"
path: /tmp/salem-mpl-results/
Expand Down
26 changes: 26 additions & 0 deletions ci/requirements-py313-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test_env
channels:
- conda-forge
dependencies:
- python=3.13
- numpy
- scipy
- pyproj
- joblib
- netCDF4
- shapely
- geopandas
- rasterio
- pandas
- xarray
- dask
- matplotlib
- scikit-image
- Pillow
- cartopy
- pip
- pip:
- coveralls==3.2.0
- pytest-cov
- pytest-mpl
- motionless
26 changes: 26 additions & 0 deletions ci/requirements-py314-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: test_env
channels:
- conda-forge
dependencies:
- python=3.14
- numpy
- scipy
- pyproj
- joblib
- netCDF4
- shapely
- geopandas
- rasterio
- pandas
- xarray
- dask
- matplotlib
- scikit-image
- Pillow
- cartopy
- pip
- pip:
- coveralls==3.2.0
- pytest-cov
- pytest-mpl
- motionless
3 changes: 2 additions & 1 deletion docs/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ What's New

v0.3.x (Unreleased)
-------------------

- address deprecations, including dropping support for numpy and pandas below
versions 2.0 (:pull:`259`).

v0.3.11 (12 July 2024)
----------------------
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.8"
dependencies = [
Expand Down
2 changes: 2 additions & 0 deletions salem/tests/test_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,8 @@ def test_colormaps():
cb = mpl.colorbar.ColorbarBase(ax, cmap=get_cmap(cm),
orientation='horizontal')
cb.set_label(cm);
# force identical ticks to baseline, since we want to check the colours
cb.set_ticks(np.arange(0, 1.1, 0.1))
return fig


Expand Down