Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mednet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
medai
software
mednet
Commits
6b76ec83
Commit
6b76ec83
authored
11 months ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[pyproject] Separate features; update pixi.lock
parent
a0e64615
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#85723
passed
11 months ago
Stage: qa
Stage: test
Stage: doc
Stage: dist
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pixi.lock
+3511
-20
3511 additions, 20 deletions
pixi.lock
pyproject.toml
+39
-10
39 additions, 10 deletions
pyproject.toml
with
3550 additions
and
30 deletions
pixi.lock
+
3511
−
20
View file @
6b76ec83
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
pyproject.toml
+
39
−
10
View file @
6b76ec83
...
...
@@ -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.py
311
.dependencies
]
python
=
"~
=
3.11
.
0
"
[
tool.pixi.feature.py
312
.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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment