Conversation
|
How did you test for the cartopy bug? Still seems to fail with pytest-mpl. Seems to be a real issue though. |
|
Linking OGGM/oggm#1871 |
|
The extended norm test does not fail after my fix from yesterday? The two tests that fails on e.g. py314 in your PR (see github workflow) are these: The failing images are uploaded as part of the github workflow ("Upload pytest-mpl artefacts") and the workflow also shares a link (e.g. https://github.com/fmaussion/salem/actions/runs/23135044796/artifacts/5941503514). the differences are substantial: One difference is due to a coastline update (which is OK) but the middle-right test is failing because the points are not at the center of the grid point anymore. |
|
yeah its really just the grid points the issue, the rest is fine |
|
Hm, this is interesting. Additional tests, including |
yeah this is pretty much a good summary of the mess that it is 🤷 . But are you sure about this? My local mamba conda-forge install has the following versions: print(show_versions()) OGGM environment:System info:Packages info:and: are you saying that the cartopy issues are disappearing with more recent installs? will have to test later today |
|
It may also be solver limitations around how/when certain dependencies are installed, eg running pip install on a single package. I'll take a look, but maybe explicitly setting a minimum version will help. Installing an env exactly like the ci requirements file leads to the same two test failures as the workflow. The multiple test failures only occur in cases where I install Salem's optional dependencies using pip, but this affects #260 if we move to a pyproject-based CI. |





WIP, not ready for merging. No need to run the workflow until it's marked ready for review.
Checks
git diff upstream/master | flake8 --diff