sunstone-py 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.
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/PKG-INFO +1 -1
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/pyproject.toml +2 -1
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/_release.py +3 -20
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone_py.egg-info/PKG-INFO +1 -1
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/LICENSE +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/README.md +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/setup.cfg +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/__init__.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/dataframe.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/datasets.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/exceptions.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/lineage.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/pandas.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/py.typed +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone/validation.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone_py.egg-info/SOURCES.txt +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone_py.egg-info/dependency_links.txt +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone_py.egg-info/entry_points.txt +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone_py.egg-info/requires.txt +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/src/sunstone_py.egg-info/top_level.txt +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/tests/test_dataframe.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/tests/test_datasets.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/tests/test_lineage_persistence.py +0 -0
- {sunstone_py-0.5.0 → sunstone_py-0.5.1}/tests/test_pandas_compatibility.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sunstone-py"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.1"
|
|
8
8
|
description = "Python library for managing datasets with lineage tracking in Sunstone projects"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -74,6 +74,7 @@ dev = [
|
|
|
74
74
|
"types-requests>=2.32.4.20250913",
|
|
75
75
|
"pandas-stubs>=2.3.2.250926",
|
|
76
76
|
"types-pyyaml>=6.0.12.20250915",
|
|
77
|
+
"markdown>=3.10",
|
|
77
78
|
]
|
|
78
79
|
docs = [
|
|
79
80
|
"mkdocs-material>=9.5.0",
|
|
@@ -164,29 +164,12 @@ def get_last_tag() -> str | None:
|
|
|
164
164
|
def generate_changelog_from_git() -> str:
|
|
165
165
|
"""Generate changelog entries from git commits since last tag using Claude."""
|
|
166
166
|
last_tag = get_last_tag()
|
|
167
|
-
if last_tag:
|
|
168
|
-
|
|
169
|
-
else:
|
|
170
|
-
commit_range = "HEAD"
|
|
171
|
-
|
|
172
|
-
# Get commits since last tag
|
|
173
|
-
result = run_git("log", commit_range, "--pretty=format:%s")
|
|
174
|
-
if result.returncode != 0 or not result.stdout.strip():
|
|
175
|
-
return ""
|
|
176
|
-
|
|
177
|
-
commits = result.stdout.strip()
|
|
178
|
-
|
|
179
|
-
prompt = f"""Convert these git commit messages into Keep a Changelog format entries.
|
|
180
|
-
Categorize under: Added, Changed, Fixed, Removed, Security (only include categories that apply).
|
|
181
|
-
Be concise. Skip merge commits, version bump commits, and release commits.
|
|
182
|
-
Output ONLY the markdown entries with ### headers for categories, nothing else.
|
|
183
|
-
|
|
184
|
-
Commits:
|
|
185
|
-
{commits}"""
|
|
167
|
+
if last_tag is None:
|
|
168
|
+
last_tag = "HEAD~1"
|
|
186
169
|
|
|
187
170
|
print("Generating changelog entries with Claude...")
|
|
188
171
|
claude_result = subprocess.run(
|
|
189
|
-
["claude", "-p", "
|
|
172
|
+
["claude", "-p", f"/generate-changelog {last_tag}"],
|
|
190
173
|
capture_output=True,
|
|
191
174
|
text=True,
|
|
192
175
|
cwd=get_root_dir(),
|
|
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
|