forked from zama-ai/concrete-ml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
149 lines (140 loc) · 4.65 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[tool.poetry]
name = "concrete-ml"
version = "1.0.0"
description = "Concrete ML is an open-source set of tools which aims to simplify the use of fully homomorphic encryption (FHE) for data scientists."
license = "BSD-3-Clause-Clear"
authors = [
"Zama <[email protected]>",
]
homepage = "https://zama.ai/concrete-ml/"
repository = "https://github.com/zama-ai/concrete-ml"
documentation = "http://docs.zama.ai/concrete-ml/"
keywords = ["FHE", "homomorphic encryption", "privacy", "security"]
packages = [
{ include = "concrete", from = "src" },
]
classifiers = [
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering",
"Topic :: Security",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Compilers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
readme = "README.md"
[tool.poetry.urls]
"README" = "https://github.com/zama-ai/concrete-ml/blob/main/README.md"
"Bug Tracker" = "https://github.com/zama-ai/concrete-ml/issues"
[tool.poetry.dependencies]
# Investigate if it is better to fix specific versions or use lower and upper bounds
# FIXME: https://github.com/zama-ai/concrete-ml-internal/issues/2665
python = ">=3.8.1,<3.11"
# FIXME: https://github.com/zama-ai/concrete-ml-internal/issues/3379
concrete-python = "1.0.0"
setuptools = "65.6.3"
skops = {version = "0.5.0"}
xgboost = "1.6.2"
skorch = "0.11.0"
torch = "1.13.1"
typing-extensions = "4.4.0"
brevitas = "0.8.0"
onnxoptimizer = "0.2.7"
onnxruntime = "1.13.1"
hummingbird-ml = {version="0.4.8", extras = ["onnx"]}
scikit-learn = "1.1.3"
onnx = "1.13.0"
scipy = "1.10.1"
numpy = "1.23.5"
protobuf = "3.20.3"
# Deployment
boto3 = "^1.23.5"
fastapi = "^0.93.0"
uvicorn = "^0.21.0"
python-multipart = "^0.0.6"
tqdm = "^4.64.1"
[tool.poetry.dev-dependencies]
isort = "^5.10.1"
black = "^22.1.0"
pylint = "^2.13.0"
# Coverage issue
# FIXME: https://github.com/zama-ai/concrete-ml-internal/issues/2541
pytest = "7.1.1"
pytest-cov = "^3.0.0"
pytest_codeblocks = "^0.14.0"
mypy = "^0.991"
pydocstyle = "^6.1.1"
python-semantic-release = "^7.27.0"
semver = "^2.13.0"
tomlkit = "^0.7.0"
pytest-xdist = "^2.5.0"
pytest-randomly = "^3.11.0"
nbmake = "^1.3.0"
pygments-style-tomorrow = "^1.0.0"
pytest-repeat = "^0.9.1"
mdformat = "^0.7.14"
mdformat_myst = "^0.1.4"
mdformat-toc = "^0.3.0"
pip-audit = "^2.1.0"
jupyter = "^1.0.0"
py-progress-tracker = "0.6.0"
nbqa = "^1.3.1"
darglint = "^1.8.1"
linkcheckmd = "^1.4.0"
keyring = "*"
# pandas is required for some of our notebooks but not by our source code
pandas = "^1.3.0"
jinja2 = "^3.1.2"
LinkChecker = "^10.1.0"
kaggle = "^1.5.12"
tf2onnx = "^1.10.1"
boto3 = "^1.23.5"
paramiko = "^2.11.0"
types-paramiko = "^2.10.0"
requests = "^2.28.0"
types-requests = "^2.28.0"
transformers = "^4.20.1"
pdoc3 = "^0.10.0"
lazydocs = "^0.4.0"
seaborn = "^0.12.0"
mistletoe = "^0.9.0"
ruff = "^0.0.191"
nbsphinx = "0.8.12"
sphinx-rtd-theme = "1.2.0"
myst_parser = "0.19.1"
sphinx_copybutton = "0.5.1"
flake8-bugbear = "23.2.13"
flake8 = "6.0.0"
sphinx = "6.1.3"
tensorflow = "2.12.0rc0"
ipython = "^8.10.0"
markdown-it-py = "2.2.0"
torchvision = "0.14.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:`np\\.object` is a deprecated alias for the builtin `object`\\. To silence this warning, use `object` by itself\\. Doing this will not modify any behavior and is safe\\.:DeprecationWarning",
"ignore:Using or importing the ABCs from 'collections' instead of from 'collections\\.abc' is deprecated.*:DeprecationWarning",
"ignore: distutils Version classes are deprecated. Use packaging\\.version instead.*:DeprecationWarning",
"ignore: forcing n_jobs = 1 on mac for segfault issue",
"ignore: allowzero=0 by default.*:UserWarning",
"ignore:Implicitly cleaning up:ResourceWarning",
"ignore:non-integer arguments to randrange\\(\\) have been deprecated since Python 3\\.10 and will be removed in a subsequent version:DeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning",
]
[tool.semantic_release]
version_toml = "pyproject.toml:tool.poetry.version"
version_variable = "docs/conf.py:release,src/concrete/ml/version.py:__version__"
upload_to_pypi = "False"
changelog_sections = "breaking, feature, fix, documentation, performance"
[tool.ruff]
line-length = 100
[tool.ruff.per-file-ignores]
# The tool looks to report 'imported but unused (F401)' while actually the function is used by
# package which import the __init__.py
"**/__init__.py" = ["F401"]