Skip to content

[BUG]: pybind11 3.0.0 uses deprecated numpy.bool dtype #5847

Description

@dyollb

Required prerequisites

What version (or hash if on master) of pybind11 are you using?

3.0.0

Problem description

pybind11 3.0.0 uses deprecated numpy.bool dtype.

This type is deprecated since numpy==1.2.0: bool should be used instead (see here)

This was also mentioned in this pybind11-stubgen PR pybind/pybind11-stubgen#263

Reproducible example code


Is this a regression? Put the last known working version here if it is.

Yes

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNew bug, unverified

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions