-
Notifications
You must be signed in to change notification settings - Fork 607
ci: Include source-distribution when publishing Flet packages #5669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modifies the CI pipeline to include source distributions (sdist) when publishing Flet packages to PyPI, alongside the existing wheel distributions. The changes ensure comprehensive package distribution by building both wheels and source distributions.
- Updates build commands to generate both wheels and source distributions using
uv buildinstead ofuv build --wheel - Modifies artifact paths to include
*.tar.gzfiles (source distributions) in addition to wheels - Refines CI workflow triggers to use explicit paths instead of
paths-ignorefor better control - Includes a minor fix to pass the value parameter to the switch control's change event
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Primary CI workflow changes to build and publish source distributions alongside wheels |
.github/workflows/macos-integration-tests.yml |
Updates workflow triggers to include additional paths like .fvmrc |
packages/flet/lib/src/controls/switch.dart |
Fixes switch control to pass value parameter to change event |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've reviewed this pull request using the Sourcery rules engine
Deploying flet-docs with
|
| Latest commit: |
e356623
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f9e86f58.flet-docs.pages.dev |
| Branch Preview URL: | https://v1-fixes.flet-docs.pages.dev |
|
Every platform-specific artifact here https://github.com/flet-dev/flet/actions/runs/18144469499 contains a source package for
Source package should not contain any binaries in it, be small (only sources) and built only once perhaps in Build flet and flet-cli Python packages job. |
Solved: https://github.com/flet-dev/flet/actions/runs/18176278704/job/51744130968?pr=5669#step:4:24 |
We need And |

Summary by Sourcery
Streamline CI workflows for building, packaging, and publishing Python packages by generating source distributions, refining triggers, artifact handling, and publish steps; and enhance the Switch control to propagate its value on change events.
New Features:
Enhancements: