Skip to content

Update CONTRIBUTING.md hello.py example to use modern ft.run() and ft.Page/ft.Text instead of deprecated `flet.app#6582

Open
Federicorao wants to merge 1 commit into
flet-dev:mainfrom
Federicorao:codex/issue-6579-1781263767
Open

Update CONTRIBUTING.md hello.py example to use modern ft.run() and ft.Page/ft.Text instead of deprecated `flet.app#6582
Federicorao wants to merge 1 commit into
flet-dev:mainfrom
Federicorao:codex/issue-6579-1781263767

Conversation

@Federicorao

@Federicorao Federicorao commented Jun 12, 2026

Copy link
Copy Markdown

Refs #6579.

Update CONTRIBUTING.md hello.py example to use modern ft.run() and ft.Page/ft.Text instead of deprecated flet.app() and bare imports. The issue reports that flet.app is deprecated and the example does not work. The fix replaces the old import and call with the current import flet as ft and ft.run(main), matching the pattern used in the README and other official examples.

I kept the patch small because there was no safe local verifier available for this file type.

Summary by Sourcery

Update CONTRIBUTING guidelines with modern Flet usage and refreshed macOS setup and release processes.

Documentation:

  • Refresh the hello.py example to use modern Flet APIs (ft.run, ft.Page, ft.Text) instead of deprecated flet.app.
  • Rewrite macOS development environment setup instructions to focus on uv-based Python workflow, Flutter, and related tooling.
  • Document updated release checklist steps including Flutter builds, pytest runs, and version/changelog verification.

@CLAassistant

CLAassistant commented Jun 12, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

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

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.

2 participants