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*"
I noticed the tests in CI started failing on pypy builds because the the requirement-tests.txt specifies mypy:
pygit2/requirements-test.txt
Line 3 in a4ec27e
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.
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-skipsettings in project.toml):pygit2/pyproject.toml
Line 18 in a4ec27e
would (I think) get turn into