-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BLD: optional numpy import #39416
Comments
If using PEP 517, I think setuptools ensure NumPy is installed. xref #39415. But currently, we probably should raise an error msg if NumPy is not installed. |
What's exactly the action item in this issue? |
from #38852 (comment)
extracting source from tarball
whereas if we do a basic install from the tarball (again no numpy), the requirements are automatically satisfied.
we have numpy as a top level import in setup.py. but not needed for some setup related tasks (i.e clean and create the sdist in a ci workflow). so the issue is that maybe numpy doesn't need to be a top-level import in setup.py? |
closed by #49115 |
The added workflow pip installs pandas without the requirements pre-installed. Seems to pull in requirements OK. (I also wanted to test with other versions of setuptools locally though before approving this PR)
OT for the sdist build step we do
python setup.py clean --quiet
. This fails if numpy not installed.Originally posted by @simonjayhawkins in #38852 (comment)
The text was updated successfully, but these errors were encountered: