diff --git a/CHANGELOG.md b/CHANGELOG.md index c71db2408c..8accf91097 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Fix a web app built with `flet build web` getting its project name, e.g. `my_app`, as its label when installed as a PWA on iOS instead of its product name. The manifest's `short_name`, which iOS shows on the Home Screen, was set to the project name; it now defaults to the product name, like the page title. Product names containing quotes no longer break `manifest.json` ([#6911](https://github.com/flet-dev/flet/pull/6911)) by @FeodorFitsner. * Fix `flet build`, `flet test` and `flet debug` failing on new projects with a `jni_flutter` "Constant evaluation error" ([#6919](https://github.com/flet-dev/flet/issues/6919), [#6920](https://github.com/flet-dev/flet/pull/6920)) by @ndonkoHenri. +* Fix `pip install "flet[all]"` failing without a C++ compiler on Windows on ARM: `flet-web` no longer installs `uvicorn[standard]` there, whose `httptools` has no wheels for it ([#6927](https://github.com/flet-dev/flet/pull/6927)) by @ndonkoHenri. * Fix `flet run` crashing with `inotify watch limit reached` on Linux; it now warns that the app won't reload on changes and runs it anyway ([#6711](https://github.com/flet-dev/flet/issues/6711), [#6924](https://github.com/flet-dev/flet/pull/6924)) by @ndonkoHenri. * Fix Flet apps on Windows turning off HDR, or dimming and blanking external monitors, while running; the unused desktop plugins of `screen_brightness` are no longer bundled ([#6629](https://github.com/flet-dev/flet/issues/6629), [#6493](https://github.com/flet-dev/flet/issues/6493), [#6925](https://github.com/flet-dev/flet/pull/6925)) by @ndonkoHenri. diff --git a/sdk/python/packages/flet-web/pyproject.toml b/sdk/python/packages/flet-web/pyproject.toml index 0340024e58..143eb59310 100644 --- a/sdk/python/packages/flet-web/pyproject.toml +++ b/sdk/python/packages/flet-web/pyproject.toml @@ -9,7 +9,11 @@ requires-python = ">=3.10" dependencies = [ "flet", "fastapi >=0.115.12", - "uvicorn[standard] >=0.35.0" + "websockets >=13.0", + "uvicorn >=0.35.0", + # httptools, one of uvicorn's standard extras, has no wheels for Windows on ARM, + # where installing it needs a C++ compiler. uvicorn falls back to h11 without it. + "uvicorn[standard] >=0.35.0; sys_platform != 'win32' or platform_machine != 'ARM64'" ] [project.urls] @@ -22,4 +26,4 @@ Documentation = "https://flet.dev/docs" [build-system] requires = ["setuptools"] -build-backend = "setuptools.build_meta" \ No newline at end of file +build-backend = "setuptools.build_meta"