Skip to content

Commit cf4ef06

Browse files
committed
Configure uv installation
1 parent 62012ef commit cf4ef06

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
run: python -c "import sys; print(sys.version)"
213213
- name: Install tox
214214
run: |
215-
uv tool install tox --with=tox-gh-actions --with=tox-uv --with=pip
215+
uv tool install tox --with=tox-gh-actions --with=tox-uv
216216
- name: Show tox config
217217
run: tox c
218218
- name: Run tox

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,6 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
200200
[tool.codespell]
201201
skip = "*/data/*,./nibabel-data"
202202
ignore-words-list = "ans,te,ue,ist,nin,nd,ccompiler,ser"
203+
204+
[tool.uv.pip]
205+
only-binary = ["numpy", "scipy", "h5py"]

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ set_env =
7171
dev: PIP_ONLY_BINARY=numpy,scipy,h5py
7272
!dev: PIP_ONLY_BINARY=numpy,scipy,h5py,pillow,matplotlib
7373
pre,dev: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
74+
pre,dev: UV_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
7475
extras = test
7576
deps =
7677
# General minimum dependencies: pin based on API usage

0 commit comments

Comments
 (0)