Skip to content

Python 3.10 incompatibility you can no longer pass a float to an extension function. #384

@the-snowwhite

Description

@the-snowwhite

There was a change in Python 3.10 to the extension module interface - you can no longer pass a float to an extension function.
As ubuntu Jammy uses python 3.10 This leads to it not passing the halmodule.0 test as the output results differ:
feeding a float to a HAL_S32 pin results in:

TypeError: 'float' object cannot be interpreted as an integer

instead of a truncated int.
Any ideas of how to move forward with this issue ?
#383

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