coreason-manifest 0.12.0__tar.gz → 0.13.0__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.12.0 → coreason_manifest-0.13.0}/PKG-INFO +1 -2
  2. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/pyproject.toml +2 -3
  3. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/__init__.py +1 -1
  4. coreason_manifest-0.13.0/src/coreason_manifest/utils/logger.py +13 -0
  5. coreason_manifest-0.12.0/src/coreason_manifest/utils/logger.py +0 -58
  6. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/LICENSE +0 -0
  7. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/NOTICE +0 -0
  8. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/README.md +0 -0
  9. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/common.py +0 -0
  10. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/governance.py +0 -0
  11. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/schemas/__init__.py +0 -0
  12. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/schemas/coreason-v2.schema.json +0 -0
  13. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/utils/__init__.py +0 -0
  14. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/__init__.py +0 -0
  15. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/governance.py +0 -0
  16. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/io.py +0 -0
  17. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/resolver.py +0 -0
  18. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/spec/__init__.py +0 -0
  19. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/spec/contracts.py +0 -0
  20. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/spec/definitions.py +0 -0
  21. {coreason_manifest-0.12.0 → coreason_manifest-0.13.0}/src/coreason_manifest/v2/validator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coreason_manifest
3
- Version: 0.12.0
3
+ Version: 0.13.0
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
 
@@ -67,7 +67,6 @@ 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
- Requires-Dist: coreason-identity (>=0.4.1,<0.5.0)
71
70
  Requires-Dist: jsonschema (>=4.19.0,<5.0.0)
72
71
  Requires-Dist: loguru (>=0.7.2,<0.8.0)
73
72
  Requires-Dist: pydantic (>=2.12.5,<3.0.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "coreason_manifest"
3
- version = "0.12.0"
3
+ version = "0.13.0"
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"
@@ -12,7 +12,6 @@ python = ">=3.12, <3.15"
12
12
  loguru = "^0.7.2"
13
13
  pydantic = "^2.12.5"
14
14
  pyyaml = "^6.0.3"
15
- coreason-identity = "^0.4.1"
16
15
  jsonschema = "^4.19.0"
17
16
 
18
17
  [tool.poetry.group.dev.dependencies]
@@ -33,7 +32,7 @@ build-backend = "poetry.core.masonry.api"
33
32
 
34
33
  [project]
35
34
  name = "coreason_manifest"
36
- version = "0.12.0"
35
+ version = "0.13.0"
37
36
  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."
38
37
  readme = "README.md"
39
38
  requires-python = ">=3.12"
@@ -23,7 +23,7 @@ from .v2.spec.definitions import (
23
23
  Workflow,
24
24
  )
25
25
 
26
- __version__ = "0.12.0"
26
+ __version__ = "0.13.0"
27
27
 
28
28
  Manifest = ManifestV2
29
29
  Recipe = ManifestV2
@@ -0,0 +1,13 @@
1
+ # Copyright (c) 2025 CoReason, Inc.
2
+ #
3
+ # This software is proprietary and dual-licensed.
4
+ # Licensed under the Prosperity Public License 3.0 (the "License").
5
+ # A copy of the license is available at https://prosperitylicense.com/versions/3.0.0
6
+ # For details, see the LICENSE file.
7
+ # Commercial use beyond a 30-day trial requires a separate license.
8
+ #
9
+ # Source Code: https://github.com/CoReason-AI/coreason-manifest
10
+
11
+ from loguru import logger
12
+
13
+ __all__ = ["logger"]
@@ -1,58 +0,0 @@
1
- # Copyright (c) 2025 CoReason, Inc.
2
- #
3
- # This software is proprietary and dual-licensed.
4
- # Licensed under the Prosperity Public License 3.0 (the "License").
5
- # A copy of the license is available at https://prosperitylicense.com/versions/3.0.0
6
- # For details, see the LICENSE file.
7
- # Commercial use beyond a 30-day trial requires a separate license.
8
- #
9
- # Source Code: https://github.com/CoReason-AI/coreason-manifest
10
-
11
- # Copyright (c) 2025 CoReason, Inc.
12
- #
13
- # This software is proprietary and dual-licensed.
14
- # Licensed under the Prosperity Public License 3.0 (the "License").
15
- # A copy of the license is available at https://prosperitylicense.com/versions/3.0.0
16
- # For details, see the LICENSE file.
17
- # Commercial use beyond a 30-day trial requires a separate license.
18
- #
19
- # Source Code: https://github.com/CoReason-AI/coreason_manifest
20
-
21
- import os
22
- import sys
23
- from pathlib import Path
24
-
25
- from loguru import logger
26
-
27
- __all__ = ["logger"]
28
-
29
- # Remove default handler
30
- logger.remove()
31
-
32
- # Sink 1: Stdout (Human-readable)
33
- logger.add(
34
- sys.stderr,
35
- level="INFO",
36
- format=(
37
- "<green>{time:YYYY-MM-DD HH:mm:ss}</green> | "
38
- "<level>{level: <8}</level> | "
39
- "<cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - "
40
- "<level>{message}</level>"
41
- ),
42
- )
43
-
44
- # Ensure logs directory exists
45
- log_dir = os.getenv("COREASON_LOG_DIR", "logs")
46
- log_path = Path(log_dir)
47
- if not log_path.exists():
48
- log_path.mkdir(parents=True, exist_ok=True)
49
-
50
- # Sink 2: File (JSON, Rotation, Retention)
51
- logger.add(
52
- f"{log_dir}/app.log",
53
- rotation="500 MB",
54
- retention="10 days",
55
- serialize=True,
56
- enqueue=True,
57
- level="INFO",
58
- )