coreason-manifest 0.5.0__tar.gz → 0.5.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/PKG-INFO +6 -6
  2. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/pyproject.toml +14 -14
  3. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/server.py +2 -2
  4. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/LICENSE +0 -0
  5. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/NOTICE +0 -0
  6. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/README.md +0 -0
  7. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/__init__.py +0 -0
  8. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/engine.py +0 -0
  9. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/errors.py +0 -0
  10. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/integrity.py +0 -0
  11. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/loader.py +0 -0
  12. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/main.py +0 -0
  13. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/models.py +0 -0
  14. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/policies/compliance.rego +0 -0
  15. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/policies/tbom.json +0 -0
  16. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/policy.py +0 -0
  17. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/schemas/__init__.py +0 -0
  18. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/schemas/agent.schema.json +0 -0
  19. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/utils/__init__.py +0 -0
  20. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/utils/logger.py +0 -0
  21. {coreason_manifest-0.5.0 → coreason_manifest-0.5.1}/src/coreason_manifest/validator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coreason_manifest
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: This package is the definitive source of truth. If it isn't in the manifest, it doesn't exist. If it violates the manifest, it doesn't run.
5
5
  License: # The Prosperity Public License 3.0.0
6
6
 
@@ -63,20 +63,20 @@ License-File: LICENSE
63
63
  License-File: NOTICE
64
64
  Author: Gowtham A Rao
65
65
  Author-email: gowtham.rao@coreason.ai
66
- Requires-Python: >=3.11
66
+ Requires-Python: >=3.12
67
67
  Classifier: License :: Other/Proprietary License
68
68
  Classifier: Programming Language :: Python :: 3.12
69
69
  Classifier: Operating System :: OS Independent
70
70
  Requires-Dist: aiofiles (>=23.2.1,<24.0.0)
71
71
  Requires-Dist: anyio (>=4.12.1,<5.0.0)
72
- Requires-Dist: coreason-identity (>=0.1.0,<0.2.0)
73
- Requires-Dist: fastapi (>=0.111.0,<0.112.0)
72
+ Requires-Dist: coreason-identity (>=0.4.1,<0.5.0)
73
+ Requires-Dist: fastapi (>=0.128.0,<0.129.0)
74
74
  Requires-Dist: httpx (>=0.28.1,<0.29.0)
75
- Requires-Dist: jsonschema (>=4.25.1,<5.0.0)
75
+ Requires-Dist: jsonschema (>=4.26.0,<5.0.0)
76
76
  Requires-Dist: loguru (>=0.7.2,<0.8.0)
77
77
  Requires-Dist: pydantic (>=2.12.5,<3.0.0)
78
78
  Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
79
- Requires-Dist: uvicorn (>=0.30.1,<0.31.0)
79
+ Requires-Dist: uvicorn (>=0.40.0,<0.41.0)
80
80
  Project-URL: Documentation, https://github.com/CoReason-AI/coreason_manifest
81
81
  Project-URL: Homepage, https://github.com/CoReason-AI/coreason_manifest
82
82
  Project-URL: Repository, https://github.com/CoReason-AI/coreason_manifest
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "coreason_manifest"
3
- version = "0.5.0"
3
+ version = "0.5.1"
4
4
  description = "This package is the definitive source of truth. If it isn't in the manifest, it doesn't exist. If it violates the manifest, it doesn't run."
5
5
  authors = ["Gowtham A Rao <gowtham.rao@coreason.ai>"]
6
6
  license = "Prosperity-3.0"
@@ -11,26 +11,26 @@ packages = [{include = "coreason_manifest", from = "src"}]
11
11
  python = ">=3.12, <3.15"
12
12
  loguru = "^0.7.2"
13
13
  pydantic = "^2.12.5"
14
- jsonschema = "^4.25.1"
14
+ jsonschema = "^4.26.0"
15
15
  pyyaml = "^6.0.3"
16
16
  anyio = "^4.12.1"
17
- coreason-identity = "^0.1.0"
17
+ coreason-identity = "^0.4.1"
18
18
  httpx = "^0.28.1"
19
19
  aiofiles = "^23.2.1"
20
- fastapi = "^0.111.0"
21
- uvicorn = "^0.30.1"
20
+ fastapi = "^0.128.0"
21
+ uvicorn = "^0.40.0"
22
22
 
23
23
  [tool.poetry.group.dev.dependencies]
24
- pytest = "^8.2.2"
25
- ruff = "^0.5.0"
26
- pre-commit = "^3.7.1"
27
- pytest-cov = "^5.0.0"
28
- mkdocs = "^1.6.0"
29
- mkdocs-material = "^9.5.26"
24
+ pytest = "^9.0.2"
25
+ ruff = "^0.14.14"
26
+ pre-commit = "^4.5.1"
27
+ pytest-cov = "^7.0.0"
28
+ mkdocs = "^1.6.1"
29
+ mkdocs-material = "^9.7.1"
30
30
  pydantic = "^2.12.5"
31
31
  mypy = "^1.19.1"
32
32
  types-aiofiles = "^23.2.0"
33
- pytest-asyncio = "^0.23.7"
33
+ pytest-asyncio = "^1.3.0"
34
34
 
35
35
  [build-system]
36
36
  requires = ["poetry-core"]
@@ -38,10 +38,10 @@ build-backend = "poetry.core.masonry.api"
38
38
 
39
39
  [project]
40
40
  name = "coreason_manifest"
41
- version = "0.5.0"
41
+ version = "0.5.1"
42
42
  description = "This package is the definitive source of truth. If it isn't in the manifest, it doesn't exist. If it violates the manifest, it doesn't run."
43
43
  readme = "README.md"
44
- requires-python = ">=3.11"
44
+ requires-python = ">=3.12"
45
45
  authors = [
46
46
  { name = "Gowtham A Rao", email = "gowtham.rao@coreason.ai" },
47
47
  ]
@@ -98,10 +98,10 @@ async def validate_manifest(request: Request) -> Union[ValidationResponse, JSONR
98
98
  except ManifestSyntaxError as e:
99
99
  # Return 422 with the error
100
100
  resp = ValidationResponse(valid=False, policy_violations=[f"Syntax Error: {str(e)}"])
101
- return JSONResponse(status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, content=resp.model_dump())
101
+ return JSONResponse(status_code=status.HTTP_422_UNPROCESSABLE_CONTENT, content=resp.model_dump())
102
102
  except PolicyViolationError as e:
103
103
  resp = ValidationResponse(valid=False, policy_violations=e.violations)
104
- return JSONResponse(status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, content=resp.model_dump())
104
+ return JSONResponse(status_code=status.HTTP_422_UNPROCESSABLE_CONTENT, content=resp.model_dump())
105
105
 
106
106
 
107
107
  @app.get("/health") # type: ignore[misc]