Skip to content

Python 3.8 incompatibility: test_enum_to_int failure in pybind versions 2.2.4, 2.3.0 and 2.4.0 #1780

@susilehtola

Description

@susilehtola

Fedora build of pybind-2.2.4 for Python 3.8 with patch for e7ef34f fails the test phase with

    def test_enum_to_int():
>       m.test_enum_to_int(m.Flags.Read)
E       TypeError: test_enum_to_int(): incompatible function arguments. The following argument types are supported:
E           1. (arg0: int) -> None
E       
E       Invoked with: Flags.Read

Full log at https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00903558-pybind11/builder-live.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions