Skip to content

fix: lazy import scipy and matplotlib #2379

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

Closed
wants to merge 1 commit into from

Conversation

yaugenst-flex
Copy link
Collaborator

@yaugenst-flex yaugenst-flex commented Apr 11, 2025

MC ran into an issue with this since scipy and matplotlib are not installed in the minimal tidy3d install and tidy3d still needs to be importable.

@caseyflex @dmarek-flex fyi

@yaugenst-flex yaugenst-flex self-assigned this Apr 11, 2025
@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/lazy-import-scipy branch from 9d8deb9 to ca5443c Compare April 11, 2025 09:25
@yaugenst-flex yaugenst-flex changed the title fix: lazy import scipy in medium fix: lazy import scipy and matplotlib Apr 11, 2025
@yaugenst-flex yaugenst-flex requested a review from caseyflex April 11, 2025 09:25
@yaugenst-flex
Copy link
Collaborator Author

hmm actually the mode solver has many more scipy dependencies, not really sure how we should handle that

@yaugenst-flex yaugenst-flex marked this pull request as draft April 11, 2025 09:33
@yaugenst-flex
Copy link
Collaborator Author

according to @majinge7846 might be fine as is but we can keep the PR as draft for now in case anything else comes up

@yaugenst-flex yaugenst-flex force-pushed the yaugenst-flex/lazy-import-scipy branch from ca5443c to c377111 Compare April 11, 2025 09:59
@frederikschubertflex
Copy link
Contributor

@yaugenst-flex At least the scipy issue should be resolved by #2543?

@yaugenst-flex
Copy link
Collaborator Author

Yup this is actually just a dummy PR for MC, we can close.

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.

2 participants