forked from tmulatua/concrete-ml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (127 loc) · 4.35 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
[tool.poetry]
name = "concrete-ml"
version = "0.6.1"
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",
# Python 3.7 support is not added correctly for some reason, so let's force it
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
readme = "pypi_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]
python = ">=3.7.1,<3.11"
concrete-numpy = "0.9.0"
numpy = "1.21.6"
setuptools = "65.6.3"
onnx = "1.12.0"
scipy = "1.7.3"
xgboost = "1.6.2"
skorch = "0.11.0"
scikit-learn = "1.0.2"
torch = "1.12.1"
typing-extensions = "4.4.0"
hummingbird-ml = {version="0.4.4", extras = ["onnx"]}
protobuf = "3.19.4"
# FIXME: Update to remote brevitas repo after patches are merged
# https://github.com/zama-ai/concrete-ml-internal/issues/1388
concrete-ml-extensions-brevitas = "0.1.0"
onnxoptimizer = "0.2.7"
[tool.poetry.dev-dependencies]
isort = "^5.10.1"
black = "^22.1.0"
pylint = "^2.13.0"
# FIXME #2541: issue with coverage
pytest = "7.1.1"
pytest-cov = "^3.0.0"
pytest_codeblocks = "^0.14.0"
mypy = "^0.942"
pydocstyle = "^6.1.1"
flake8 = "^4.0.1"
flake8-bugbear = "^22.3.23"
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"
sphinx-zama-theme = "^3.0.2"
nbsphinx = "^0.8.7"
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"
# FIXME, #2532: 2.11 doesn't work on macOS
tensorflow = "2.10.0"
tf2onnx = "^1.10.1"
sphinx-rtd-theme = "^1.0.0"
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"
[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",
]
[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"]