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

setup.py configuration without numba in build env #3822

Closed
nmgeek opened this issue Mar 3, 2019 · 4 comments
Closed

setup.py configuration without numba in build env #3822

nmgeek opened this issue Mar 3, 2019 · 4 comments
Labels
AOT ahead of time compilation issue needtriage stale Marker label for stale issues.

Comments

@nmgeek
Copy link

nmgeek commented Mar 3, 2019

The documented integration of AOT compilation in a setup.py script requires importing the module to be compiled into setup.py. This requires that your build environment has every module that numba depends upon and every module imported by the file being compiled. This is heavy weight. It complicates and slows down the wheel building process.

This all comes from the perspective of porting from Cython to numba. Integrating Cython into setup.py requires only the Cython package to be installed in the build environment.

@stuartarchibald stuartarchibald added needtriage AOT ahead of time compilation issue labels Mar 4, 2019
@github-actions
Copy link

This issue is marked as stale as it has had no activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with any updates and confirm that this issue still needs to be addressed.

@github-actions github-actions bot added the stale Marker label for stale issues. label Jun 30, 2021
@gmarkall
Copy link
Member

Presumably this is a feature request, but I'm not sure what we can do about it? It's hard to see how we can AOT-compile functions from a file without importing it, which will require importing everything it imports.

Perhaps the only workaround is to keep AOT-compiled functions in a file that imports a limited set of other modules?

@github-actions github-actions bot removed the stale Marker label for stale issues. label Jan 15, 2023
@github-actions
Copy link

This issue is marked as stale as it has had no activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with any updates and confirm that this issue still needs to be addressed.

@github-actions github-actions bot added the stale Marker label for stale issues. label Feb 14, 2023
@gmarkall
Copy link
Member

I think given the lack of follow up we can just close this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AOT ahead of time compilation issue needtriage stale Marker label for stale issues.
Projects
None yet
Development

No branches or pull requests

3 participants