-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (93 loc) · 2.52 KB
/
pyproject.toml
File metadata and controls
107 lines (93 loc) · 2.52 KB
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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mlpa"
version = "0.1.0"
description = "A proxy to verify App Attest/FxA payloads and proxy requests using LiteLLM virtual keys."
authors = [
{ name = "Noah Podgurski", email = "npodgurski@mozilla.com" },
{ name = "Alexander Osipenko", email = "aosipenko@mozilla.com" }
]
readme = "README.md"
requires-python = ">=3.12"
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"alembic==1.17.0",
"asyncpg==0.30.0",
"cbor2==5.7.0",
"cryptography==45.0.7",
"fastapi==0.119.0",
"google-cloud-storage==3.5.0",
"hawkauthlib==2.0.0",
"httpx==0.28.1",
"jwtoxide==0.2.0",
"mako==1.3.10",
"markupsafe==3.0.3",
"pyfxa @ git+https://github.com/mozilla/PyFxA-Oxide.git@v0.9.1",
"prometheus_client==0.23.1",
"pyattest==1.0.2",
"pydantic==2.11.7",
"pydantic_settings==2.10.1",
"PyJWT==2.10.1",
"pyhanko==0.16.0",
"psycopg2-binary==2.9.11",
"python-dotenv==1.1.1",
"python_jose==3.4.0",
"sentry-sdk[fastapi]==2.42.0",
"sqlalchemy==2.0.44",
"tabulate==0.9.0",
"tiktoken==0.11.0",
"uvicorn==0.35.0",
"loguru==0.7.3",
"cachetools==5.5.0",
]
[dependency-groups]
test = [
"absolufy-imports==0.3.1",
"pytest==8.4.2",
"pytest-asyncio==1.2.0",
"pytest-env==1.2.0",
"pytest-httpx==0.35.0",
"pytest-mock==3.15.1",
"tqdm==4.67.1",
]
lint = [
"pre_commit==4.3.0",
"ruff==0.14.0",
"ty==0.0.29",
]
qa = [ "typer==0.12.5"]
[project.urls]
Homepage = "https://github.com/firefox-ai/mlpa"
Issues = "https://github.com/firefox-ai/mlpa/issues"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
mlpa = "mlpa.run:main"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = ["I"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = [
"ignore:'cgi' is deprecated and slated for removal in Python 3\\.13:DeprecationWarning:webob\\.compat",
"ignore:datetime\\.datetime\\.utcnow\\(\\) is deprecated and scheduled for removal in a future version\\.:DeprecationWarning:pyattest\\.testutils\\.factories\\.attestation\\.apple",
]
[tool.pytest_env]
APP_ATTEST_QA = "true"
[tool.ty.rules]
all = "error"
[tool.ty.src]
include = ["src/mlpa"]
[tool.ty.environment]
python-version = "3.12"