Skip to content

Update import whitelist#782

Merged
AdrianSosic merged 1 commit intomainfrom
repo/whitelist
Apr 24, 2026
Merged

Update import whitelist#782
AdrianSosic merged 1 commit intomainfrom
repo/whitelist

Conversation

@AdrianSosic
Copy link
Copy Markdown
Collaborator

Some of our dependencies seem to have dropped scipy from their own deps, meaning that the whitelist entry is no longer needed. Which dependency it was (probably xyzpy, xarray or related) is not important at this point.

@AdrianSosic AdrianSosic self-assigned this Apr 23, 2026
@AdrianSosic AdrianSosic added the repo Requires changes to the project configuration label Apr 23, 2026
Copilot AI review requested due to automatic review settings April 23, 2026 16:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the import lazy-loading whitelist to reflect that the simulation optional dependency chain (via xyzpy) no longer pulls in scipy, so baybe._optional.simulation should not be exempted from the “don’t import scipy eagerly” rule.

Changes:

  • Remove the Python-version-conditional whitelist entry that allowed baybe._optional.simulation to import scipy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

No longer a transient dependency due to upstream changes
@AdrianSosic AdrianSosic merged commit fc592a4 into main Apr 24, 2026
12 of 13 checks passed
@AdrianSosic AdrianSosic deleted the repo/whitelist branch April 24, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

repo Requires changes to the project configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants