-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 2.19 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (65 loc) · 2.19 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "agentrust-trace"
version = "0.9.0"
description = "TRACE v0.2: hardware-attested governance records for AI agents"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.11"
keywords = ["trace", "tee", "attestation", "ai-governance", "confidential-computing", "rats", "eat"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
]
dependencies = [
"pydantic>=2.13.5",
"jsonschema>=4.26.0",
# `jsonschema` treats `format` as an annotation unless a checker for that format is
# installed. Without this, all eight `"format": "uri"` declarations in
# schema/trace-claim.json are inert: `validate_json` builds a `FormatChecker`, the
# code reads as though URIs are checked, and "not a uri" validates. The non-GPL
# validator is used deliberately: `jsonschema[format]` pulls `rfc3987`, which is
# GPLv3, into an Apache-2.0 package's dependency tree.
"rfc3986-validator>=0.1.1",
"cryptography>=42.0",
"rfc8785>=0.1.4",
]
[project.optional-dependencies]
dev = [
"pytest>=9.1.1",
"pytest-cov>=5.0",
"ruff>=0.4",
"mypy>=1.10",
"types-jsonschema",
]
[project.urls]
Homepage = "https://github.com/agentrust-io/trace-spec"
Repository = "https://github.com/agentrust-io/trace-spec"
Issues = "https://github.com/agentrust-io/trace-spec/issues"
Changelog = "https://github.com/agentrust-io/trace-spec/blob/main/CHANGELOG.md"
[tool.hatch.build.targets.wheel]
packages = ["src/agentrust_trace"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-v --tb=short"
[tool.ruff]
src = ["src"]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "C4"]
ignore = ["I001"]
[tool.mypy]
python_version = "3.11"
strict = true
files = ["src/agentrust_trace"]