Deltares / Ribasim

Water resources modeling
https://ribasim.org/
MIT License
42 stars 5 forks source link

Update QGIS in conda to use the qgis_ltr label #1762

Closed deltamarnix closed 1 month ago

deltamarnix commented 2 months ago

What We want the QGIS version to be installed to be the LTR versions that is published by conda-forge.

Why This makes it possible to test against the lowest supported version.

How We need to change the pixi channels like so:

channels = ["conda-forge/label/qgis_ltr", "conda-forge"]

Additional context Although super easy to make this change, I made this into an issue because I got a bug when running pixi update.

⠁ py312:win-64 [00:00:03] resolving conda ⠉ py312:osx-64 [00:00:03] [━━━━━━━━━━━━━━━━━━━━] 30.96 MiB @ 9.35 MiB/s downloading repodata ⠉ py311:win-64 [00:00:03] resolving conda ⠉ py311:osx-64 [00:00:03] loading repodata ⠉ py311:osx-arm64 [00:00:03] resolving conda ⠉ py311:linux-64 [00:00:03] resolving conda ⠉ py312:linux-64 [00:00:03] resolving conda ⠉ py310:osx-64 [00:00:03] loading repodata ⠁ py310:linux-64 [00:00:03] resolving conda ⠁ py310:osx-arm64 [00:00:03] resolving conda ⠁ py310:win-64 [00:00:03] resolving conda x failed to solve the conda requirements of 'py312' 'osx-arm64' `-> Cannot solve the request because of: No candidates were found for build *.

See #1763 for that issue.

visr commented 1 month ago

Closing, see https://github.com/Deltares/Ribasim/pull/1768#issuecomment-2317588254