-
Notifications
You must be signed in to change notification settings - Fork 285
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
BLD: Pinned cftime 1.0.1 #3247
BLD: Pinned cftime 1.0.1 #3247
Conversation
My user code is failing with cftime version 1.0.0b1 so I am not sure if |
Travis is using cftime 1.0.1 (conda-forge) |
You can find this from a Travis log : In the log, look for the line "$ conda list -n $ENV_NAME ....", In this case, it has "cftime 1.0.1" |
Thanks both. I hadn't even twigged that there was collapsed output in the Travis log! |
requirements/core.txt
Outdated
@@ -6,7 +6,7 @@ | |||
cartopy | |||
#conda: proj4<5 | |||
cf_units>=2 | |||
cftime!=1.0.2.1 | |||
cftime<1.0.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpelley Why not pin directly to 1.0.1
, just to make this explicit and clear.
We still need to fix iris
to deal with 0 based dates, which are now illegal in the latest cftime
, and hence the root cause of current master failures.
So this pin would only be a temporary pin...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...Why not pin directly...
Sure.
We still need to fix iris to deal with 0 based dates...
Agreed. Some relating discussion in #3239
@cpelley Apologies. Sorry to be a pain... But could you please target the |
ae5feda
to
8d3b86b
Compare
NP :) |
requirements/core.txt
Outdated
@@ -6,7 +6,7 @@ | |||
cartopy | |||
#conda: proj4<5 | |||
cf_units>=2 | |||
cftime!=1.0.2.1 | |||
cftime>=1.0.1,<=1.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpelley Surely cftime==1.0.1
is what you mean, right? Doesn't that work instead of >=1.0.1,<=1.0.1
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
87b48d3
to
3855d5d
Compare
* BLD: Pinning cftime to 1.0.1 (SciTools#3247) * Fix for numpy 1v16. (SciTools#3257)
#3239, #3215, #3225