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

Relax the pin on iris to allow the use of older versions for performance reasons #2122

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

bouweandela
Copy link
Member

@bouweandela bouweandela commented Jul 3, 2023

Description

During testing for the v2.9.0 release of ESMValTool, we noticed that the latest versions of iris are considerably less performant with the Dask default scheduler. Therefore it would be good to allow using older versions of iris, even if these do not support the distributed scheduler. Note that a new installation will still default to the latest version of iris, so this is only for users who really want to use the older version.

See discussion in ESMValGroup/ESMValTool#3239 (comment)


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

@bouweandela bouweandela added the installation Installation problem label Jul 3, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Merging #2122 (d207f36) into main (276c56c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2122   +/-   ##
=======================================
  Coverage   93.09%   93.09%           
=======================================
  Files         237      237           
  Lines       12794    12794           
=======================================
  Hits        11910    11910           
  Misses        884      884           

@bouweandela bouweandela added this to the v2.9.0 milestone Jul 3, 2023
@valeriupredoi
Copy link
Contributor

if you don't relax it in environment.yml as well it will be most of the times forced to 3.6+ and some users won't know how to downgrade it in their envs, bud 👍

@bouweandela
Copy link
Member Author

If they ask in an issue we can explain it. This PR is just to allow those who really want it to use the older version, the default should be to use the latest version.

@bouweandela bouweandela marked this pull request as ready for review July 3, 2023 10:48
@valeriupredoi
Copy link
Contributor

OKi, sounds like a plan - I'll approve then

Copy link
Contributor

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so am guessing for the conda and PyPI packages we'll have the >=3.6 pin then. Cheers, bud!

@bouweandela bouweandela merged commit 91aa9e4 into main Jul 3, 2023
2 checks passed
@bouweandela bouweandela deleted the relax-iris-pin branch July 3, 2023 10:59
bouweandela added a commit that referenced this pull request Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants