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

update oceanspy_test environment #270

Merged
merged 2 commits into from
Oct 25, 2022
Merged

Conversation

Mikejmnez
Copy link
Collaborator

@Mikejmnez Mikejmnez commented Oct 25, 2022

Thanks to @MaceKuailv who figure out that there is an issue with matplotlib version > 3.5.2. See issue #269 for a description. Pinning down allows all tests to pass in my testing environment. It is also the reason the previous PR #268 passed (we looked and the ci/environment used an even older version of matplotlib, which is why all tests passed. We don't know why it used an older matplotlib version though, but that is a separate issue).

This PR also unpins xarray, since tests ran fine within the new oceanspy_test environment which does not pin xarray . If there is an issue then we can figure out later, but so far all tests passed on my oceanspy_test environment.

Lets see if things go well...

@codecov
Copy link

codecov bot commented Oct 25, 2022

Codecov Report

Merging #270 (0bd5abd) into main (0ded3fa) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #270   +/-   ##
=======================================
  Coverage   95.36%   95.36%           
=======================================
  Files          10       10           
  Lines        3842     3842           
  Branches      811      811           
=======================================
  Hits         3664     3664           
  Misses        114      114           
  Partials       64       64           
Flag Coverage Δ
unittests 95.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Mikejmnez
Copy link
Collaborator Author

CI again builds the testing environment with an older version of matplotlib (version 3.3.2) than necessary, but that may be related to a compatibility issue unrelated to oceanspy. In my computer, the oceanspy_test installs matplotlib version 3.5.2.

@Mikejmnez Mikejmnez mentioned this pull request Oct 25, 2022
Copy link
Collaborator

@ThomasHaine ThomasHaine left a comment

Choose a reason for hiding this comment

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

Ready to merge!

@Mikejmnez Mikejmnez merged commit d318266 into hainegroup:main Oct 25, 2022
@Mikejmnez Mikejmnez deleted the pin-env branch October 25, 2022 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants