Skip to content

Conversation

kushalkolar
Copy link
Contributor

@kushalkolar kushalkolar commented Jun 16, 2024

fixes #790

@kushalkolar kushalkolar requested a review from Korijn as a code owner June 16, 2024 21:05
@kushalkolar
Copy link
Contributor Author

I'm guessing failure is related to the release of numpy v2 a few hours ago: https://github.com/pygfx/pygfx/actions/runs/9538926238/job/26288692137?pr=791#step:7:188

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/runpy.py:288: in run_path
    return _run_module_code(code, init_globals, run_name,
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/runpy.py:97: in _run_module_code
    _run_code(code, mod_globals, init_globals,
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/runpy.py:87: in _run_code
    exec(code, run_globals)
examples/feature_demo/multi_slice2.py:21: in <module>
    from skimage.measure import marching_cubes
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/skimage/__init__.py:122: in <module>
    from ._shared import geometry
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

skimage is probably compiled against older numpy than v2

Copy link
Member

@almarklein almarklein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this oversight!

@almarklein
Copy link
Member

Thinking of the best way to fix the numpy issue 🤔 maybe an extra optional dep-group, so in our CI we can write pip install -U -e .[examples,docs,numpyv1]

Copy link
Collaborator

@Korijn Korijn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ty for the test too!

@almarklein
Copy link
Member

Fixing CI in #793

@almarklein almarklein merged commit fcdd764 into pygfx:main Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Controllers.cameras property not fully unpacking tuple
3 participants