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

Removed unnecessary import checks for scipy, h5py, and zarr #364

Merged
merged 7 commits into from
Sep 20, 2024

Conversation

pauladkisson
Copy link
Member

@pauladkisson pauladkisson commented Sep 19, 2024

Fixes #316

As well as h5py and zarr. sima checks are kept bc they are not installed in requirements bc it is gpl.

@pauladkisson pauladkisson changed the title Remove have scipy Removed unnecessary import checks for scipy, h5py, and zarr Sep 19, 2024
@pauladkisson pauladkisson marked this pull request as ready for review September 19, 2024 20:58
Copy link
Collaborator

@h-mayorquin h-mayorquin left a comment

Choose a reason for hiding this comment

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

LGTM

Have you considered importing at init to speed up importing times. Scipy is sort of heavy-ish...

SpikeInterface/spikeinterface#2957

@pauladkisson
Copy link
Member Author

Have you considered importing at init to speed up importing times. Scipy is sort of heavy-ish...

I haven't noticed install time as a problem, how did it come up for spikeinterface?

@h-mayorquin
Copy link
Collaborator

Importing times, not installing times. We have a test for import times in the CI of SI:

SpikeInterface/spikeinterface#2955

@pauladkisson
Copy link
Member Author

Importing times, not installing times. We have a test for import times in the CI of SI:

Interesting, I'll have to look into this, but for now I'm going to keep imports where they are.

@pauladkisson pauladkisson merged commit 1a3a8a4 into main Sep 20, 2024
29 checks passed
@pauladkisson pauladkisson deleted the remove_have_scipy branch September 20, 2024 17:14
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.

Remove HAVE_SCIPY
2 participants