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

Simplify Altair import #2479

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Simplify Altair import #2479

merged 2 commits into from
Oct 22, 2024

Conversation

ADBond
Copy link
Contributor

@ADBond ADBond commented Oct 21, 2024

Currently there is a slightly cryptic error if you try to use splink in an environment where Altair is not installed. I have made it so that this will give a normal error about a missing import.

There was also some code nominally to guard for the case of Altair not being installed. I have removed this as

  • Altair is currently a non-optional dependency anyhow, so should always be present
  • Splink currently doesn't work without Altair anyway, due to the above-mentioned issue.

Closes #2474.

altair is a core requirement, and this fails anyway if altair not installed, just more mysteriously
@ADBond ADBond added the dependencies Pull requests that update a dependency file label Oct 21, 2024
@RobinL
Copy link
Member

RobinL commented Oct 22, 2024

Thanks. The history of this is that a long time ago ONS could install splink but not altair for unknown reasons. But that was years ago. Let's merge this, and then we can always restore some sort of weird workaround if ONS still need it.

@ADBond ADBond merged commit 1f411a0 into master Oct 22, 2024
25 checks passed
@ADBond ADBond deleted the bug/wrap-altair-import branch October 22, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unhelpful error if altair not installed
2 participants