diff --git a/.github/workflows/deploy_emscripten-forge.yml b/.github/workflows/deploy_emscripten-forge.yml index d641aa4..8ba7df3 100644 --- a/.github/workflows/deploy_emscripten-forge.yml +++ b/.github/workflows/deploy_emscripten-forge.yml @@ -14,17 +14,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v4 # https://github.com/actions/checkout/releases - name: Setup Python uses: actions/setup-python@v5 # https://github.com/actions/setup-python/releases with: - python-version: '3.11' + python-version: '3.12' - name: Install mamba uses: mamba-org/setup-micromamba@v1 # https://github.com/mamba-org/setup-micromamba/releases with: - micromamba-version: '1.5.0-0' + micromamba-version: '1.5.8-0' environment-file: build-environment.yml cache-environment: true diff --git a/build-environment.yml b/build-environment.yml index 38f4482..40cd5af 100644 --- a/build-environment.yml +++ b/build-environment.yml @@ -1,9 +1,10 @@ +# https://github.com/jupyterlite/xeus-python-demo/blob/main/build-environment.yml name: build-env channels: - conda-forge dependencies: - - python=3.11 + - python - pip - - jupyter_server=2.14.0 # https://anaconda.org/conda-forge/jupyter_server/files - - jupyterlite-core=0.2.3 # https://anaconda.org/conda-forge/jupyterlite-core/files - - jupyterlite-xeus-python=1.0.0 # https://anaconda.org/conda-forge/jupyterlite-xeus-python/files \ No newline at end of file + - jupyter_server=2.14.2 # https://anaconda.org/conda-forge/jupyter_server/files + - jupyterlite-core >=0.3.0,<0.4.0 # https://anaconda.org/conda-forge/jupyterlite-core/files + - jupyterlite-xeus>=0.1.2,<0.2 # https://anaconda.org/conda-forge/jupyterlite-xeus/files \ No newline at end of file diff --git a/environment.yml b/environment.yml index 133f80c..607ffa5 100644 --- a/environment.yml +++ b/environment.yml @@ -1,13 +1,15 @@ name: xeus-python-kernel channels: + - https://conda.anaconda.org/michaelweinold/label/emscripten # for platform-specific version of bw2data - https://conda.anaconda.org/conda-forge/label/bw2io_dev - - https://conda.anaconda.org/conda-forge/label/bw2data_dev - https://conda.anaconda.org/conda-forge/label/bw2calc_dev - https://repo.mamba.pm/emscripten-forge # check packages at https://beta.mamba.pm/channels - - https://conda.anaconda.org/conda-forge + - michaelweinold + - conda-forge - nodefaults dependencies: - xeus-python + - ipycanvas # DATA SCIENCE - pandas - numpy @@ -16,7 +18,8 @@ dependencies: # BRIGHTWAY DEPENDENCIES (NOT PURE PYTHON) - https://repo.mamba.pm/emscripten-forge::peewee # required by Brightway, loaded from emscripten-forge - https://repo.mamba.pm/emscripten-forge::lxml # required by Brightway, loaded from emscripten-forge - # BRIGHTWAY CORE - - bw2io=0.9.dev21 # https://anaconda.org/conda-forge/bw2io/files # loaded from conda-forge under the `dev` label - - bw2data=4.0.dev25 # https://anaconda.org/conda-forge/bw2data/files # loaded from conda-forge under the `dev` label - - bw2calc=2.0.dev14 # https://anaconda.org/conda-forge/bw2calc/files # loaded from emscripten-forge (cf. https://github.com/conda-forge/bw2calc-feedstock/pull/14) \ No newline at end of file + # BRIGHTWAY CORE (CONDA FORGE) + - bw2io=0.9.dev33 # https://anaconda.org/conda-forge/bw2io/files # loaded from conda-forge under the `dev` label + - bw2calc=2.0.dev18 # https://anaconda.org/conda-forge/bw2calc/files # loaded from emscripten-forge (cf. https://github.com/conda-forge/bw2calc-feedstock/pull/14) + # BRIGHTWAY CORE (CUSTOM CHANNEL DUE TO PLATFORM SPECIFIC DEPENDENCIES) + - bw2data=4.0.dev51 # https://anaconda.org/michaelweinold/bw2data/files # loaded from michaelweinold under the `emscripten` label \ No newline at end of file