Skip to content

CI failing on numpy... #19417

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

Closed
jklymak opened this issue Feb 1, 2021 · 3 comments
Closed

CI failing on numpy... #19417

jklymak opened this issue Feb 1, 2021 · 3 comments
Milestone

Comments

@jklymak
Copy link
Member

jklymak commented Feb 1, 2021

Circle is failing due to:

/home/circleci/project/examples/units/ellipse_with_units.py and /home/circleci/project/examples/units/radian_demo.py

Looks like something in numpy changed:

FutureWarning: The input object of type 'TaggedValue' is an array-like implementing one of the 
corresponding protocols (`__array__`, `__array_interface__` or `__array_struct__`); but not a 
sequence (or 0-D). In the future, this object will be coerced as if it was first converted using 
`np.array(obj)`. To retain the old behaviour, you have to either modify the type 'TaggedValue', 
or assign to an empty array created with `np.empty(correct_shape, dtype=object)`.
@jklymak
Copy link
Member Author

jklymak commented Feb 1, 2021

Ooops @dstansby is already on it...

@jklymak jklymak closed this as completed Feb 1, 2021
@jklymak
Copy link
Member Author

jklymak commented Feb 1, 2021

#19415

@QuLogic QuLogic added this to the v3.4.0 milestone Feb 1, 2021
@QuLogic
Copy link
Member

QuLogic commented Feb 1, 2021

Hmm, looks like I should start building docs in the Fedora package; it would have caught this before final NumPy 1.20 was out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants