Skip to content

Commit

Permalink
removed jupyter, added uv-tox, dependency constraints for python312
Browse files Browse the repository at this point in the history
  • Loading branch information
Floris vanderFlier committed Oct 25, 2024
1 parent c300b02 commit 1dea96d
Show file tree
Hide file tree
Showing 4 changed files with 333 additions and 1,609 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/setup-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
run:
# python -m pip install --upgrade pip
# pip install tox
uv tool install tox --with tox-uv
uv tool install tox --with tox-uv # Allows running uv in tox.ini

- name: Run Tox
run: tox
run: uv tool run tox

# - name: Install the project
# run: uv sync --all-extras --dev
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ dependencies = [
"biotite>=0.40.0",
"matplotlib>=3.7.5",
"pandas>=2.0.3",
"jupyter>=1.1.1",
"seaborn>=0.13.2",
"loguru>=0.7.2",
"ruff>=0.6.9",
"polyleven>=0.8",
"scikit-learn>=1.3.2",
"pytest>=8.3.3",
"numpy>1.24.4",
"tox>=4.23.2",
]
"scipy>=1.10.1",

numpy = [
">=2.0; python_version >= '3.12'"
"numpy>=2.0; python_version >= '3.12'",
"scipy>=1.14.1; python_version >= '3.12'",
"pandas>=2.2.2; python_version >= '3.12'"
]


Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist = py39, py310, py311, py312

[testenv]
runner = uv-venv-lock-runner
deps =
pytest
ruff
Expand Down
Loading

0 comments on commit 1dea96d

Please sign in to comment.