Remove deprecated `PolyBase` from `np.polynomial.polyutils`
See original GitHub issuenp.polynomial.polyutils defines a PolyBase class that, according to the source, was deprecated back in v1.9.0: https://github.com/numpy/numpy/blob/acba24414487e0e171bedbc8d1ae3cfc63f4b2c7/numpy/polynomial/polyutils.py#L81-L91
I am wondering if it can be removed from the code base. v1.9 was quite some time ago, though I’m not sure this proposal is in line with whatever the official deprecation policy is. For what it’s worth, PolyBase does not appear to be used within the numpy code base anymore, so the question is whether downstream libraries have had sufficient time (and notification) to remove PolyBase from their codebases.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
numpy.polynomial.polyutils.PolyBase
Base class for all polynomial types. Deprecated in numpy 1.9.0, use the abstract ABCPolyBase class instead. Note that the latter requires a number...
Read more >polynomial/polyutils.py · 360core/numpy - Gemfury
Utility classes and functions for the polynomial modules. This module provides: error and warning objects; a polynomial base class; and some routines used ......
Read more >numpy.polynomial.polyutils.PolyBase — NumPy v1.19 Manual
Base class for all polynomial types. Deprecated in numpy 1.9.0, use the abstract ABCPolyBase class instead. Note that the latter requires a ...
Read more >Error installing pyEDFlib 0.1.23 with python3.10 #152 - GitHub
The problem appears to be with calls to numpy scalartypes.c.src and others: ... package is deprecated and slated for removal in Python 3.12....
Read more >python-numpy_1.13.3-2ubuntu1_amd64.deb
Numpy replaces the python-numeric and python-numarray modules which are now deprecated and shouldn't be used except to support older software.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I thought it unlikely anyone was using it at the time, but played it safe. It can probably be removed without causing problems.
Closing as completed.