Skip to content

Commit 13dd43a

Browse files
committed
Merge remote-tracking branch 'origin/main' into release/reflex-0.8.24
2 parents 5f234ef + f4561ec commit 13dd43a

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,14 @@ jobs:
2121
- name: Build
2222
run: uv build
2323

24+
- name: Verify .pyi files in wheel
25+
run: |
26+
if unzip -l dist/*.whl | grep '\.pyi$'; then
27+
echo "✓ .pyi files found in distribution"
28+
else
29+
echo "Error: No .pyi files found in wheel"
30+
exit 1
31+
fi
32+
2433
- name: Publish
2534
run: uv publish

scripts/hatch_build.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,12 @@ def marker(self) -> pathlib.Path:
2525
/ f".reflex-{self.metadata.version}.pyi_generated"
2626
)
2727

28-
def finalize(
29-
self, version: str, build_data: dict[str, Any], artifact_path: str
30-
) -> None:
31-
"""Finalize the build process.
28+
def initialize(self, version: str, build_data: dict[str, Any]) -> None:
29+
"""Initialize the build hook.
3230
3331
Args:
34-
version: The version of the package.
35-
build_data: The build data.
36-
artifact_path: The path to the artifact.
32+
version: The version being built.
33+
build_data: Additional build data.
3734
"""
3835
if self.marker().exists():
3936
return

0 commit comments

Comments
 (0)