/
vshmidt
/
modelscan
Обзор
Документация
Войти
/
vshmidt
/
modelscan
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pyproject.toml
61 строка
1 KB
Sam Washko
Update keras version to >3.11 due to CVE-2025-1550 (#316)
11 сен 2025, 02:16
Не верифицирован
11 сен 2025, 02:16
abc4b15
Код
Авторство
О чём код?
[tool.poetry] name = "modelscan" version = "0.0.0" description = "The modelscan package is a cli tool for detecting unsafe operations in model files across various model serialization formats." authors = ["ProtectAI <community@protectai.com>"] license = "Apache License 2.0" readme = "README.md" packages = [{ include = "modelscan" }] exclude = ["tests/*", "Makefile"] [tool.poetry.scripts] modelscan = "modelscan.cli:main" [tool.poetry.dependencies] python = ">=3.10,<3.13" click = "^8.1.3" numpy = ">=1.24.3" rich = ">=13.4.2,<15.0.0" tomlkit = ">=0.12.3,<0.14.0" h5py = { version = "^3.9.0", optional = true } setuptools = "80.9.0" # TODO: Add py3.12 once TF release supports tensorflow = { version = "^2.17", optional = true } [tool.poetry.extras] tensorflow = ["tensorflow"] h5py = ["h5py"] [tool.poetry.group.test.dependencies] pytest = ">=7.4,<9.0" bandit = { version = "1.8.3", extras = ["toml"] } mypy = "^1.4.1" requests = "^2.31.0" aiohttp = "^3.8.5" dill = ">=0.3.7,<0.5.0" types-requests = ">1.26" torch = "^2.7.0" tf-keras = "^2.20.1" [tool.poetry.group.dev.dependencies] dunamai = "^1.18.0" pre-commit = ">=3.3.3,<5.0.0" black = ">=23.7,<26.0" [tool.poetry.group.prod.dependencies] dunamai = "^1.18.0" [build-system] requires = ["poetry-core", "poetry-dynamic-versioning"] build-backend = "poetry.core.masonry.api" [tool.poetry-dynamic-versioning] enable = true [tool.bandit] exclude_dirs = ["tests", "notebooks"] [tool.mypy] exclude = ["notebooks"]