Skip to content

Conversation

@bjlittle
Copy link
Member

@bjlittle bjlittle commented Jul 6, 2020

This PR temporarily pins back cftime, which is causing some unit test failures due to its most recent release, moving from v1.1.3 to v1.2.0, see the Unidata/cftime changelog.

The following iris.tests.unit.fileformats.pp_load_rules.test__epoch_date_hours.TestEpochHours__gregorian unit tests fail, all of which deal with our workaround for handling dates with a year of 0 (pretty much), and all of which are now 48hrs out using v1.2.0 of cftime 😕:

  • test_year_0
  • test_ymd_0_0_0
  • test_ymd_preserves_timeofday
  • test_ymd_1_1_1

@trexfeathers
Copy link
Contributor

Happy that the tests are passing again, and that we've raised #3751 to address properly. Let's not let it be forgotten, freedom from pins is very liberating!

@trexfeathers trexfeathers merged commit 1ea17a9 into SciTools:master Jul 6, 2020
@bjlittle
Copy link
Member Author

bjlittle commented Jul 6, 2020

Nice one, thanks @trexfeathers.

Not only have I raised the issue, but I've made sure to add the Type: Technical Debt label... we've now got a technical debt GitHub project, so I'll make sure that the issue is on that board 👍

tkknight added a commit to tkknight/iris that referenced this pull request Jul 6, 2020
@bjlittle bjlittle deleted the fix-cfunits branch July 6, 2020 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants