Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add <= pin on xclim #399

Closed
1 task done
SarahG-579462 opened this issue May 7, 2024 · 1 comment · Fixed by #414
Closed
1 task done

Add <= pin on xclim #399

SarahG-579462 opened this issue May 7, 2024 · 1 comment · Fixed by #414
Labels
enhancement New feature or request

Comments

@SarahG-579462
Copy link
Contributor

Addressing a Problem?

When xclim updates with breaking changes, this can sometimes break xscen (e.g. today, with xscen at 0.8.3 on conda-forge and xclim at 0.49.0). Since the packages are so tightly linked, it seems very likely that this will often occur.

Potential Solution

Add xclim <= test-version (and potentially xclim >= functioning version) pins in environment.yml

Additional context

Annoyingly my apps broke while this bug was occuring, but because the delay on this version release is around 3 hours, it's not worth fixing in my git repo.

Contribution

  • I would be willing/able to open a Pull Request to contribute this feature.
@SarahG-579462 SarahG-579462 added the enhancement New feature or request label May 7, 2024
@Zeitsperre
Copy link
Contributor

I would go one step further and try installing the lowest pinned versions of a library to determine what our actual range of supported versions is.

There's an ongoing discussion about adding this functionality into pip (pypa/pip#8085), but apparently there's something in both uv and pdm that does exactly that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants