mosaic-zero / pyproject.toml
raylim's picture
Fix Python version compatibility for Hugging Face Spaces
61be48a unverified
[build-system]
requires = ["uv_build>=0.8.1,<0.9.0"]
build-backend = "uv_build"
[project]
name = "mosaic"
version = "0.1.0"
description = "Mussel-Aeon-Paladin workflow for digital pathology"
readme = "README.md"
requires-python = ">=3.10,<3.12"
dependencies = [
"gradio>=5.49.0",
"lightning>=2.6.0",
"loguru>=0.7.3",
"memory-profiler>=0.61.0",
"mussel[torch-gpu]",
"paladin",
"seaborn>=0.13.2",
"spaces>=0.30.0",
"statsmodels>=0.14.6",
]
[project.scripts]
aeon_inference = "mosaic.inference.aeon:main"
paladin_inference = "mosaic.inference.paladin:main"
mosaic = "mosaic.gradio_app:main"
[dependency-groups]
dev = [
"black>=25.1.0",
"pylint>=3.3.6",
"pytest>=8.3.0",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
]
[tool.pylint."messages control"]
disable = [
"logging-fstring-interpolation",
"broad-exception-caught",
"unspecified-encoding",
]
[tool.uv.sources]
paladin = { git = "ssh://git@github.com/pathology-data-mining/paladin.git", rev = "dev" }
mussel = { git = "https://github.com/pathology-data-mining/Mussel.git", rev = "mosaic-dev" }
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=src/mosaic --cov-report=term-missing"