Skip to content

Conversation

@d-chambers
Copy link
Contributor

Description

This PR adds some compatibility code between numpy < 2 and numpy > 2 plus newer/older versions of pint.

Checklist

I have (if applicable):

  • referenced the GitHub issue this PR closes.
  • documented the new feature with docstrings or appropriate doc page.
  • included a test. See testing guidelines.
  • your name has been added to the contributors page (docs/contributors.md).
  • added the "ready_for_review" tag once the PR is ready to be reviewed.

@codecov
Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.84%. Comparing base (3858a11) to head (68aea38).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #439   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files         114      114           
  Lines        9170     9172    +2     
=======================================
+ Hits         9156     9158    +2     
  Misses         14       14           
Flag Coverage Δ
unittests 99.84% <100.00%> (+<0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@d-chambers
Copy link
Contributor Author

Mind taking a quick look at this @ahmadtourei?

@ahmadtourei
Copy link
Collaborator

Mind taking a quick look at this @ahmadtourei?

Looks good!

@d-chambers d-chambers merged commit c7e3178 into master Sep 26, 2024
@d-chambers d-chambers deleted the pint_compat branch September 26, 2024 10:05
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.

3 participants