diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8aa0412..b03cca6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": { diff --git a/environment.yml b/environment.yml index a037402..afb7ecd 100644 --- a/environment.yml +++ b/environment.yml @@ -2,6 +2,9 @@ name: software-carpentries-scikit-hep-tutorial channels: - conda-forge dependencies: + - aiohttp + - fastjet + - fsspec-xrootd - jupyterlab - lz4 - matplotlib @@ -17,5 +20,3 @@ dependencies: - xrootd - zfit - zstandard - - pip: - - fastjet diff --git a/requirements.txt b/requirements.txt index 033d6f9..7a0c911 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,6 @@ +aiohttp fastjet +fsspec-xrootd lz4 matplotlib nlopt