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

Fix e2e python env in nix shell for linux #522

Merged
merged 2 commits into from
Feb 27, 2025
Merged

Fix e2e python env in nix shell for linux #522

merged 2 commits into from
Feb 27, 2025

Conversation

gilligan
Copy link
Contributor

@gilligan gilligan commented Feb 26, 2025

This change extends the LD_LIBRARY_PATH to include libs required by numpy. This wouldn't be necessary if we were providing python packages through Nix but we aren't so we need to make them visible

Checklist

  • Commit sequence broadly makes sense and commits have useful messages.
  • New tests are added if needed and existing tests are updated.
  • Relevant logging and metrics added
  • CI passes. See note on CI.
  • Any changes are noted in the changelog.md for affected crate
  • Self-reviewed the diff

@gilligan gilligan requested a review from rsporny February 26, 2025 11:06
Copy link
Member

@tgunnoe tgunnoe left a comment

Choose a reason for hiding this comment

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

Thank you

This change extends the LD_LIBRARY_PATH to include libs required
by numpy. This wouldn't be necessary if we were providing python
packages through Nix but we aren't so we need to make them visible
Remove note about having to use a system installed python interpreter. The
one provided by Nix works fine now.
Copy link
Contributor

@kpinter-iohk kpinter-iohk left a comment

Choose a reason for hiding this comment

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

@gilligan gilligan merged commit 6804d2c into master Feb 27, 2025
23 checks passed
@gilligan gilligan deleted the fix-linux-numpy branch February 27, 2025 15:06
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.

6 participants