Closed SamEdwardes closed 2 years ago
Pytest is working locally, but failing in GitHub actions:
============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 rootdir: /home/runner/work/spacypdfreader/spacypdfreader collected 0 items / 1 error ==================================== ERRORS ==================================== ________________ ERROR collecting tests/test_spacypdfreader.py _________________ tests/test_spacypdfreader.py:1: in <module> import spacy ../../../.cache/pypoetry/virtualenvs/spacypdfreader-bYjr66NX-py3.10/lib/python3.10/site-packages/spacy/__init__.py:13: in <module> from . import pipeline # noqa: F401 ../../../.cache/pypoetry/virtualenvs/spacypdfreader-bYjr66NX-py3.10/lib/python3.10/site-packages/spacy/pipeline/__init__.py:1: in <module> from .attributeruler import AttributeRuler ../../../.cache/pypoetry/virtualenvs/spacypdfreader-bYjr66NX-py3.10/lib/python3.10/site-packages/spacy/pipeline/attributeruler.py:6: in <module> from .pipe import Pipe spacy/pipeline/pipe.pyx:1: in init spacy.pipeline.pipe ??? E ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject =========================== short test summary info ============================ ERROR tests/test_spacypdfreader.py - ValueError: numpy.ndarray size changed, ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.49s ===============================
https://github.com/SamEdwardes/spacypdfreader/runs/4754448385?check_suite_focus=true
Pytest is working locally, but failing in GitHub actions:
https://github.com/SamEdwardes/spacypdfreader/runs/4754448385?check_suite_focus=true