Skip to content

Commit

Permalink
updated build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelweinold committed Aug 23, 2024
1 parent 2e087d4 commit 0bdbaa3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_emscripten-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 5 additions & 4 deletions build-environment.yml
Original file line number Diff line number Diff line change
@@ -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
- 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
15 changes: 9 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
# 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

0 comments on commit 0bdbaa3

Please sign in to comment.