Skip to content

Update build tools to use hatchling and fix reflex build (deployment)#20

Merged
TimChild merged 4 commits intomainfrom
try-setuptools-reflex-build
Feb 8, 2026
Merged

Update build tools to use hatchling and fix reflex build (deployment)#20
TimChild merged 4 commits intomainfrom
try-setuptools-reflex-build

Conversation

@TimChild
Copy link
Owner

@TimChild TimChild commented Feb 8, 2026

Two main things:

  • reflex build component continues to have an issue with components that include tests or other python files other than the package itself. Now just use the pyi generator directly on the directory that it should actually be run on rather than scanning all files in repo via the reflex build component command.
  • Improve the version bumping by switching fully to hatchling as the build tool.

TimChild and others added 4 commits February 6, 2026 13:00
- Add build-component task that generates .pyi files selectively
- Run pyi_generator from custom_components/ to avoid scanning tests/demo
- Fix typecheck by excluding auto-generated .pyi files and build dirs
- Fix type error in ClerkProvider.create() using typing.Self
- Update bump tasks to echo manual version update instructions
- Use hatchling build backend for automatic version management
- Configure hatchling to include .pyi artifacts in wheel
- Restore task bump-patch/minor/major with hatch version commands
- Bump version to 1.2.2 for testing

Build verified: 7 .pyi files included, typecheck passes
@TimChild TimChild merged commit f3dbd41 into main Feb 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant