Skip to content

Tests fail because librt does not support pypy #1437

@2bndy5

Description

@2bndy5

I noticed the tests in CI started failing on pypy builds because the the requirement-tests.txt specifies mypy:

Which transitively requires librt. But librt cannot be installed for pypy. See mypyc/librt#16

The recommended fix (per librt maintainers) is to not use mypy on pypy.

mypy ; platform_python_implementation != 'PyPy'"

Or just don't require mypy if no unit tests require it installed.

Or if the unit tests do require mypy installed, simply skip running tests on pypy wheels in CI (using cibuildwheel test-skip settings in project.toml):

test-skip = "*-*linux_ppc64le"

would (I think) get turn into

test-skip = "*-*linux_ppc64le pp3*"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions