InfoTracker 0.2.5__tar.gz → 0.2.6__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.
- {infotracker-0.2.5 → infotracker-0.2.6}/PKG-INFO +1 -1
- {infotracker-0.2.5 → infotracker-0.2.6}/pyproject.toml +2 -1
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/config.py +22 -4
- infotracker-0.2.6/test_impact_out.py +0 -0
- infotracker-0.2.6/test_implementation.py +0 -0
- infotracker-0.2.6/test_insert_exec.py +0 -0
- infotracker-0.2.6/test_preprocessing.py +0 -0
- infotracker-0.2.6/verify_implementation.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/.gitignore +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/MANIFEST.in +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/README.md +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/requirements.txt +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/__init__.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/__main__.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/adapters.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/cli.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/diff.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/engine.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6/src/infotracker}/infotracker.yml +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/lineage.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/models.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/openlineage_utils.py +0 -0
- {infotracker-0.2.5 → infotracker-0.2.6}/src/infotracker/parser.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: InfoTracker
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.6
|
4
4
|
Summary: Column-level SQL lineage, impact analysis, and breaking-change detection (MS SQL first)
|
5
5
|
Project-URL: homepage, https://example.com/infotracker
|
6
6
|
Project-URL: documentation, https://example.com/infotracker/docs
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "InfoTracker"
|
7
|
-
version = "0.2.
|
7
|
+
version = "0.2.6"
|
8
8
|
description = "Column-level SQL lineage, impact analysis, and breaking-change detection (MS SQL first)"
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.10"
|
@@ -38,6 +38,7 @@ infotracker = "infotracker.cli:entrypoint"
|
|
38
38
|
|
39
39
|
[tool.hatch.build.targets.wheel]
|
40
40
|
packages = ["src/infotracker"]
|
41
|
+
force-include = { "src/infotracker/infotracker.yml" = "infotracker/infotracker.yml" }
|
41
42
|
exclude = [
|
42
43
|
"src/infotracker/tests",
|
43
44
|
"src/infotracker/**/tests",
|
@@ -31,10 +31,28 @@ class RuntimeConfig:
|
|
31
31
|
def load_config(path: Optional[Path]) -> RuntimeConfig:
|
32
32
|
cfg = RuntimeConfig()
|
33
33
|
if path is None:
|
34
|
-
# Try
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
# Try package default first (works for installed packages)
|
35
|
+
try:
|
36
|
+
import importlib.resources
|
37
|
+
from . import __package__
|
38
|
+
|
39
|
+
if hasattr(importlib.resources, 'files'): # Python 3.9+
|
40
|
+
package_config = importlib.resources.files('infotracker') / 'infotracker.yml'
|
41
|
+
if package_config.is_file():
|
42
|
+
path = Path(str(package_config))
|
43
|
+
else: # Python 3.8 fallback
|
44
|
+
with importlib.resources.path('infotracker', 'infotracker.yml') as p:
|
45
|
+
if p.exists():
|
46
|
+
path = p
|
47
|
+
except (ImportError, AttributeError):
|
48
|
+
pass
|
49
|
+
|
50
|
+
# Fallback to current directory (development mode)
|
51
|
+
if path is None:
|
52
|
+
default = Path("infotracker.yml")
|
53
|
+
if default.exists():
|
54
|
+
path = default
|
55
|
+
|
38
56
|
if path and path.exists():
|
39
57
|
data = yaml.safe_load(path.read_text()) or {}
|
40
58
|
for k, v in data.items():
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|