Skip to content

flet publish creates broken website if no requirements.txt or pyproject.toml found #4493

Closed
@FeodorFitsner

Description

@FeodorFitsner

Duplicate Check

Describe the bug

flet publish creates broken website if no requirements.txt or pyproject.toml found with at least one flet dependency.

Code sample

Code
[Paste your code here]

To reproduce

  • flet create .
  • flet publish
  • browser website

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

macOS

Operating system details

Any version

Flet version

0.25.1

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

flet dependency should be implicitly added if no requirements.txt or pyproject.toml provided.

Logs

Logs
[Paste your logs here]

Additional details

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions