-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
RobotLocomotion/pybind11
#72Labels
component: distributionNightly binaries, monthly releases, docker, installationNightly binaries, monthly releases, docker, installationtype: feature request
Description
Is your feature request related to a problem? Please describe.
NumPy 2.0 has been released. See https://numpy.org/devdocs/numpy_2_0_migration_guide.html.
Currently, importing certain pydrake versions crashes with this error:
AttributeError: `itemset` was removed from the ndarray class in NumPy 2.0.
Known to fail:
- stable releases 1.30 and earlier
- nightly builds 0.0.20240618 and earlier
Describe the solution you'd like
Drake should be compatible with both NumPy 1.x and 2.x.
Describe alternatives you've considered
In the meantime, pydrake users should depend on numpy < 2 in their requirements file.
Alternatively, you can use a nightly build (which itself depends on numpy < 2).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: distributionNightly binaries, monthly releases, docker, installationNightly binaries, monthly releases, docker, installationtype: feature request