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

TST: numpy.str does not exist in numpy 1.25.0.dev #14073

Closed
pllim opened this issue Nov 29, 2022 · 0 comments · Fixed by #14075
Closed

TST: numpy.str does not exist in numpy 1.25.0.dev #14073

pllim opened this issue Nov 29, 2022 · 0 comments · Fixed by #14075

Comments

@pllim
Copy link
Member

pllim commented Nov 29, 2022

This causes test errors in io.ascii.

https://anaconda.org/scipy-wheels-nightly/numpy

col.converters.insert(0, convert_numpy(numpy.str))

>>> import numpy
>>> numpy.__version__
'1.25.0.dev0+11.ga872fd73e'
>>> numpy.str
FutureWarning: In the future `np.str` will be defined as the corresponding NumPy scalar.
(This may have returned Python scalars in past versions.
  numpy.str
---------------------------------------------------------------------------
.../numpy/__init__.py:284, in __getattr__(attr)
    281     from .testing import Tester
    282     return Tester
--> 284 raise AttributeError("module {!r} has no attribute "
    285                      "{!r}".format(__name__, attr))

AttributeError: module 'numpy' has no attribute 'str'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant