-
Notifications
You must be signed in to change notification settings - Fork 4
feat: Use locked Pixi environment for Binder deployment #110
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,11 +1,16 @@ | ||||||||||||
| #!/bin/bash | ||||||||||||
| #!/usr/bin/env bash | ||||||||||||
|
|
||||||||||||
| set -e | ||||||||||||
| set -ex | ||||||||||||
|
|
||||||||||||
| # Make ROOT available for comparisons and workspace use | ||||||||||||
| # c.f. https://github.com/conda-forge/root-feedstock | ||||||||||||
| conda config --add channels conda-forge | ||||||||||||
| conda config --set channel_priority strict | ||||||||||||
| # Install Pixi | ||||||||||||
| curl -fsSL https://pixi.sh/install.sh | sh | ||||||||||||
| echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc | ||||||||||||
matthewfeickert marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||
| . ~/.bashrc | ||||||||||||
| # Sourcing ~/.bashrc doesn't seem to pick up changes, so manually set PATH | ||||||||||||
| export PATH="~/.pixi/bin:${PATH}" | ||||||||||||
|
||||||||||||
| export PATH="~/.pixi/bin:${PATH}" | |
| export PATH="$HOME/.pixi/bin:${PATH}" |
Copilot
AI
Dec 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sourcing ~/.bashrc won't work reliably in non-interactive scripts. The Pixi installation typically modifies .bashrc for interactive shells only. Consider using the Pixi binary path directly by setting the PATH immediately after installation without relying on shell configuration files.
| . ~/.bashrc | |
| # Sourcing ~/.bashrc doesn't seem to pick up changes, so manually set PATH | |
| export PATH="~/.pixi/bin:${PATH}" | |
| # Removed sourcing of ~/.bashrc; set PATH directly instead | |
| export PATH="$HOME/.pixi/bin:${PATH}" |
matthewfeickert marked this conversation as resolved.
Show resolved
Hide resolved
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| python-3.12 | ||
| python-3.13 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,12 @@ | ||
| jupyter-book==0.15.1 | ||
| pyhf[xmlio,minuit,contrib]==0.7.6 | ||
| # visualization | ||
| ipywidgets~=8.1.8 | ||
| ipympl~=0.9.8 | ||
| pandas~=2.3.3 | ||
| altair~=6.0.0 | ||
| rich==14.2.0 | ||
matthewfeickert marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| # jupyter notebooks | ||
| notebook>=7.0.0 | ||
| jupyterlab>=4.0.3 | ||
| # book | ||
| jupyter-book==2.0.2 | ||
matthewfeickert marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.