Skip to content

Commit

Permalink
Configure uv installation
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 31, 2024
1 parent 9407c18 commit 6722eaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jobs:
run: python -c "import sys; print(sys.version)"
- name: Install tox
run: |
uv tool install tox --with=tox-gh-actions --with=tox-uv --with=pip
uv tool install tox --with=tox-gh-actions --with=tox-uv
- name: Show tox config
run: tox c
- name: Run tox
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,6 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
[tool.codespell]
skip = "*/data/*,./nibabel-data"
ignore-words-list = "ans,te,ue,ist,nin,nd,ccompiler,ser"

[tool.uv.pip]
only-binary = ["numpy", "scipy", "h5py"]
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ set_env =
dev: PIP_ONLY_BINARY=numpy,scipy,h5py
!dev: PIP_ONLY_BINARY=numpy,scipy,h5py,pillow,matplotlib
pre,dev: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre,dev: UV_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
extras = test
deps =
# General minimum dependencies: pin based on API usage
Expand Down

0 comments on commit 6722eaf

Please sign in to comment.