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

fixed #700 by reverting 7cf88f1a5 #702

Merged
merged 1 commit into from
Mar 8, 2024
Merged

fixed #700 by reverting 7cf88f1a5 #702

merged 1 commit into from
Mar 8, 2024

Conversation

zerothi
Copy link
Owner

@zerothi zerothi commented Mar 8, 2024

In 7cf88f1 the introduction of ufunc.resolve_types was done.
However, this is not a viable approach when dealing with older numpy versions.
Instead we now fully rely on the return value of the ufunc. This should bypass any dtype argument handling and hopefully work with many versions of numpy.

This bumps numpy to 1.19.5. It should not really be a problem, since that is already quite old.

  • Closes pytest on current dev version #700
  • Added tests for new/changed functions?
  • Ran isort . and black . [24.2.0] at top-level
  • Documentation for functionality in docs/
  • Changes documented in CHANGELOG.md

In 7cf88f1 the introduction
of ufunc.resolve_types was done.
However, this is not a viable approach when dealing with
older numpy versions.
Instead we now fully rely on the return value of the ufunc.
This should bypass any dtype argument handling and hopefully
work with many versions of numpy.

Signed-off-by: Nick Papior <[email protected]>
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.76%. Comparing base (a50e343) to head (84e40a6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #702   +/-   ##
=======================================
  Coverage   86.76%   86.76%           
=======================================
  Files         399      399           
  Lines       50544    50542    -2     
=======================================
- Hits        43854    43853    -1     
+ Misses       6690     6689    -1     

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

@zerothi zerothi merged commit 0041ea9 into main Mar 8, 2024
8 checks passed
@zerothi zerothi deleted the 700-numpy branch March 8, 2024 14:10
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.

pytest on current dev version
1 participant