Skip to content

Commit

Permalink
migrate all deps installs to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Mar 29, 2024
1 parent 49989b8 commit d92c31d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv pip install .[strict,docs] --system
# ase needed to get FrechetCellFilter used by ML force fields
pip install git+https://gitlab.com/ase/ase
pip install .[strict,docs]
uv pip install --upgrade 'git+https://gitlab.com/ase/ase' --system
- name: Build
run: sphinx-build docs docs_build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv pip install .[strict,docs] --system
# ase needed to get FrechetCellFilter used by ML force fields
pip install git+https://gitlab.com/ase/ase
pip install .[strict,docs]
uv pip install --upgrade 'git+https://gitlab.com/ase/ase' --system
- name: Build
run: sphinx-build docs docs_build
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ jobs:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.9"
cache: pip
cache-dependency-path: pyproject.toml

- uses: pre-commit/action@v3.0.0
- uses: pre-commit/action@v3

test:
services:
Expand All @@ -41,7 +37,7 @@ jobs:
- name: Install dependencies
run: |
pip install uv
sudo uv pip install llvmlite==0.42.0 --system # TODO remove, llvmlite==0.35.0 install fails with FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
uv pip install llvmlite==0.42.0 --system # TODO remove, llvmlite==0.35.0 install fails with FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'
uv pip install .[strict,tests] --system --prerelease=allow
# latest ase needed to get FrechetCellFilter used by ML force fields
# TODO remove next line installing ase from main branch when FrechetCellFilter is released
Expand Down Expand Up @@ -73,10 +69,10 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv
uv pip install .[strict,docs] --system
# ase needed to get FrechetCellFilter used by ML force fields
pip install git+https://gitlab.com/ase/ase
pip install .[strict,docs]
uv pip install --upgrade 'git+https://gitlab.com/ase/ase' --system
- name: Build
run: sphinx-build docs docs_build
Expand Down

0 comments on commit d92c31d

Please sign in to comment.