Skip to content

Commit

Permalink
chore: fix up for missing deps, faster setup
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Jul 22, 2024
1 parent 6159541 commit ff89517
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"hostRequirements": {
"cpus": 2
},
"waitFor": "onCreateCommand",
"updateContentCommand": {
"Installing apt packages": "sudo apt-get -yqq update && sudo apt-get install -yqq python3-pip python3-xrootd"
"Installing apt packages": "sudo apt-get -yqq update && sudo apt-get install -yqq python3-pip python3-xrootd",
"Installing uv": "curl -LsSf https://astral.sh/uv/install.sh | sh"
},
"postCreateCommand": {
"Installing python packages": "python3 -m pip install -r requirements.txt"
"Installing python packages": "uv pip --system install -r requirements.txt"
},
"customizations": {
"codespaces": {
Expand Down
5 changes: 3 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: software-carpentries-scikit-hep-tutorial
channels:
- conda-forge
dependencies:
- aiohttp
- fastjet
- fsspec-xrootd
- jupyterlab
- lz4
- matplotlib
Expand All @@ -17,5 +20,3 @@ dependencies:
- xrootd
- zfit
- zstandard
- pip:
- fastjet
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
aiohttp
fastjet
fsspec-xrootd
lz4
matplotlib
nlopt
Expand Down

0 comments on commit ff89517

Please sign in to comment.