Skip to content
Snippets Groups Projects
Commit 6b76ec83 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[pyproject] Separate features; update pixi.lock

parent a0e64615
No related branches found
No related tags found
No related merge requests found
Pipeline #85723 passed
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -89,17 +89,40 @@ psutil = "*"
tabulate = "*"
matplotlib = "*"
pillow = "*"
pytorch = ">=1.8"
torchvision = ">=0.10"
pytorch = { version = ">=1.8", channel = "pytorch" }
torchvision = { version = ">=0.10", channel = "pytorch" }
lightning = ">=2.2.0"
tensorboard = "*"
grad-cam = ">=1.4.8"
versioningit = "*"
[tool.pixi.host-dependencies]
[tool.pixi.pypi-dependencies]
mednet = { path = ".", editable = true, extras = ["qa", "doc", "test"] }
[tool.pixi.feature.py311.dependencies]
python = "~=3.11.0"
[tool.pixi.feature.py312.dependencies]
python = "~=3.12.0"
# [tool.pixi.feature.cuda]
# platforms = ["linux-64"]
# channels = ["nvidia", { channel = "pytorch", priority = -1 }]
# system-requirements = { cuda = "12.1" }
#
# [tool.pixi.feature.cuda.dependencies]
# pytorch-cuda = { version = "12.1.*", channel = "pytorch" }
[tool.pixi.feature.qa.dependencies]
pre-commit = "*"
ruff = "*"
reuse = "*"
[tool.pixi.feature.qa.tasks]
qa-install = "pre-commit install"
qa = "pre-commit run --all-files"
[tool.pixi.feature.doc.dependencies]
sphinx = "*"
furo = "*"
sphinx-autodoc-typehints = "*"
......@@ -107,17 +130,23 @@ auto-intersphinx = "*"
sphinx-copybutton = "*"
sphinx-inline-tabs = "*"
sphinx-click = "*"
[tool.pixi.feature.doc.tasks]
doc = "rm -rf doc/api && rm -rf html && sphinx-build -aEW doc html"
[tool.pixi.feature.test.dependencies]
pytest = "*"
pytest-cov = "*"
[tool.pixi.pypi-dependencies]
mednet = { path = ".", editable = true, extras = ["qa", "doc", "test"] }
[tool.pixi.tasks]
qa-install = "pre-commit install"
qa = "pre-commit run --all-files"
doc = "rm -rf doc/api && rm -rf html && sphinx-build -aEW doc html"
[tool.pixi.feature.test.tasks]
test = "pytest -sv tests/"
test-ci = "pytest -sv --cov-report 'html:html/coverage' --cov-report 'xml:coverage.xml' --junitxml 'junit-coverage.xml' --ignore '.profile' tests/"
[tool.pixi.environments]
default = { features = [ "qa", "doc", "test", "py312", ], solve-group = "prod-group" }
previous = { features = ["test", "py311"] }
prod = { features = ["py312"], solve-group = "prod-group" }
# cuda = { features = ["cuda", "py312"] }
[tool.hatch.version]
source = "versioningit"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment