Skip to content

Commit

Permalink
use uv instead of poetry in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Oct 3, 2024
1 parent da99af5 commit 40f0422
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
miniforge-version: latest
activate-environment: env
use-mamba: true
python-version: "3.11"
python-version: "3.12"
- name: Add conda to system path
run: |
echo $CONDA/bin >> $GITHUB_PATH
Expand All @@ -35,17 +35,20 @@ jobs:
version: 1.8.3
virtualenvs-create: false
installer-parallel: false
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install dependencies
env:
UV_SYSTEM_PYTHON: 1
run: |
sudo apt-get install -y libglu1-mesa xvfb
poetry install --no-interaction
pip install --upgrade scipy
mamba install slepc4py=*=complex* -y
mamba install julia
pip install jupyter-book
pip install --upgrade jupytext
pip install gdsfactory gplugins
pip list
uv pip install .
uv pip install jupyter-book
uv pip install --upgrade jupytext
uv pip install gdsfactory gplugins
uv pip list
- uses: julia-actions/setup-julia@v2
with:
Expand Down

0 comments on commit 40f0422

Please sign in to comment.