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

hooks: update numba hook for compatibility with upcoming v0.61 #857

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rokm
Copy link
Member

@rokm rokm commented Jan 17, 2025

Add hidden imports for dynamically redirected and loaded modules that were introduced as part of the new type system in upcoming numba v0.61.0.

Extend numba tests with a basic test that uses numba.jit, and a basic import test with NUMBA_USE_LEGACY_TYPE_SYSTEM set to 0.

Closes pyinstaller/pyinstaller#8989.

Oneshot run (0.60, 0.61rc1, 0.61rc2): https://github.com/rokm/pyinstaller-hooks-contrib/actions/runs/12828775609

Add hidden imports for dynamically redirected and loaded modules
that were introduced as part of the new type system in upcoming
`numba` v0.61.0.

Extend `numba` tests with a basic test that uses `numba.jit`,
and a basic import test with `NUMBA_USE_LEGACY_TYPE_SYSTEM` set
to 0.
@rokm
Copy link
Member Author

rokm commented Jan 17, 2025

If these new/old modules turn to be wildly changing between releases, we can switch to a collect_submodules as suggested in pyinstaller/pyinstaller#8989 (comment); but I would prefer to stick to a fixed list if necessary.

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.

Problems after compiling to EXE with pyinstaller and numba/llvmlite v0.61.0rc1/v0.44.0rc1 within CPython v3.13
1 participant