Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Doc build fails with numpy>=2.1.0 #28780

Closed
Assignees
ksunden
Milestone
@jklymak

Description

@jklymak

The doc build is failing with

File "/home/circleci/project/galleries/examples/units/radian_demo.py", line 26, in <module>        axs[0].plot(x, cos(x), xunits=radians)                       ^^^^^^      File "/home/circleci/project/galleries/examples/units/basic_units.py", line 382, in cos        return [math.cos(val.convert_to(radians).get_value()) for val in x]                         ^^^^^^^^^^^^^^    AttributeError: 'numpy.float64' object has no attribute 'convert_to'

We already pinned away from 2.1.0, but that does not protect against 2.1.1, which was just released.

#28779 pins to numpy 2.0. However, the above should be fixed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp