Skip to content

Commit 666a4ef

Browse files
use uv to install pip dependencies (#213)
1 parent 94fac18 commit 666a4ef

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ jobs:
4242
with:
4343
environment-name: stenv-${{ runner.os }}-py${{ matrix.python-version }}
4444
environment-file: environment.yaml
45+
condarc: |
46+
use_uv: true
4547
create-args: >-
4648
python=${{ matrix.python-version }}
4749
cache-environment: true
4850
cache-environment-key: environment-${{ needs.date.outputs.date }}
49-
micromamba-version: '2.0.4-0'
5051
init-shell: bash
5152
generate-run-shell: false
5253
post-cleanup: none

.github/workflows/test.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ jobs:
7777
with:
7878
environment-name: stenv-${{ runner.os }}-py${{ matrix.python-version }}
7979
environment-file: environment.yaml
80+
condarc: |
81+
use_uv: true
8082
create-args: >-
8183
python=${{ matrix.python-version }}
8284
cache-environment: true
@@ -143,6 +145,8 @@ jobs:
143145
with:
144146
environment-name: stenv-${{ runner.os }}-py${{ matrix.python-version }}
145147
environment-file: stenv/environment.yaml
148+
condarc: |
149+
use_uv: true
146150
create-args: >-
147151
python=${{ matrix.python-version }}
148152
cache-environment: true
@@ -201,6 +205,8 @@ jobs:
201205
with:
202206
environment-name: stenv-${{ runner.os }}-py${{ matrix.python-version }}
203207
environment-file: stenv/environment.yaml
208+
condarc: |
209+
use_uv: true
204210
create-args: >-
205211
python=${{ matrix.python-version }}
206212
cache-environment: true
@@ -274,6 +280,8 @@ jobs:
274280
with:
275281
environment-name: stenv-${{ runner.os }}-py${{ matrix.python-version }}
276282
environment-file: environment.yaml
283+
condarc: |
284+
use_uv: true
277285
create-args: >-
278286
python=${{ matrix.python-version }}
279287
cache-environment: true

0 commit comments

Comments
 (0)