question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove deprecated `PolyBase` from `np.polynomial.polyutils`

See original GitHub issue

np.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:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
charriscommented, May 5, 2021

to remove PolyBase from their codebases.

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

0reactions
charriscommented, Jun 14, 2022

Closing as completed.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found