Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: C extension not loaded for local tests on MacOS #255

Open
jannikmi opened this issue Oct 22, 2024 · 0 comments
Open

Bugfix: C extension not loaded for local tests on MacOS #255

jannikmi opened this issue Oct 22, 2024 · 0 comments

Comments

@jannikmi
Copy link
Owner

When running pytest locally on MacOS the tests fail due to the C extension not being loaded (even though the project has been installed).

====================================================================================================== short test summary info ======================================================================================================
FAILED tests/utils_test.py::test_clang_extension_loaded - AssertionError: the clang extension not loaded, 
FAILED tests/utils_test.py::test_inside_polygon[test_case0-pt_in_poly_clang] - ValueError: Trying to use the clang implementation of the point in polygon algorithm while the C extension in not loaded.
FAILED tests/utils_test.py::test_inside_polygon[test_case1-pt_in_poly_clang] - ValueError: Trying to use the clang implementation of the point in polygon algorithm while the C extension in not loaded.
FAILED tests/utils_test.py::test_inside_polygon[test_case2-pt_in_poly_clang] - ValueError: Trying to use the clang implementation of the point in polygon algorithm while the C extension in not loaded.
================================================================================================== 4 failed, 106 passed in 10.05s ===================================================================================================

Note that these tests are running fine in the CI/CD pipeline in GitHub Actions (ubuntu)

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

No branches or pull requests

1 participant