Skip to content

Unable to install package flatdict==4.0.1 #755

Description

@paralex14

The problem

Logger: homeassistant.util.package
Quelle: util/package.py:187
Erstmals aufgetreten: 14:38:18 (3 Vorkommnisse)
Zuletzt protokolliert: 14:38:22

Unable to install package flatdict==4.0.1: × Failed to build flatdict==4.0.1 ├─▶ The build backend returned an error ╰─▶ Call to setuptools.build_meta:__legacy__.build_wheel failed (exit status: 1) [stderr] Traceback (most recent call last): File "", line 14, in requires = get_requires_for_build({}) File "/tmp/.tmpS14pe6/builds-v0/.tmpjfSG0V/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmpS14pe6/builds-v0/.tmpjfSG0V/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/tmp/.tmpS14pe6/builds-v0/.tmpjfSG0V/lib/python3.13/site-packages/setuptools/build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmpS14pe6/builds-v0/.tmpjfSG0V/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 1, in import sys ModuleNotFoundError: No module named 'pkg_resources' hint: This error likely indicates that flatdict@4.0.1 depends on pkg_resources, but doesn't declare it as a build dependency. If flatdict is a first-party package, consider adding pkg_resources to its build-system.requires. Otherwise, either add it to your pyproject.toml under: [tool.uv.extra-build-dependencies] flatdict = ["pkg_resources"] or uv pip install pkg_resources into the environment and re-run with --no-build-isolation.
Unable to install package flatdict==4.0.1: × Failed to build flatdict==4.0.1 ├─▶ The build backend returned an error ╰─▶ Call to setuptools.build_meta:__legacy__.build_wheel failed (exit status: 1) [stderr] Traceback (most recent call last): File "", line 14, in requires = get_requires_for_build({}) File "/tmp/.tmptlqCoL/builds-v0/.tmpXVAnrq/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmptlqCoL/builds-v0/.tmpXVAnrq/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/tmp/.tmptlqCoL/builds-v0/.tmpXVAnrq/lib/python3.13/site-packages/setuptools/build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmptlqCoL/builds-v0/.tmpXVAnrq/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 1, in import sys ModuleNotFoundError: No module named 'pkg_resources' hint: This error likely indicates that flatdict@4.0.1 depends on pkg_resources, but doesn't declare it as a build dependency. If flatdict is a first-party package, consider adding pkg_resources to its build-system.requires. Otherwise, either add it to your pyproject.toml under: [tool.uv.extra-build-dependencies] flatdict = ["pkg_resources"] or uv pip install pkg_resources into the environment and re-run with --no-build-isolation.
Unable to install package flatdict==4.0.1: × Failed to build flatdict==4.0.1 ├─▶ The build backend returned an error ╰─▶ Call to setuptools.build_meta:__legacy__.build_wheel failed (exit status: 1) [stderr] Traceback (most recent call last): File "", line 14, in requires = get_requires_for_build({}) File "/tmp/.tmpWjbDgO/builds-v0/.tmpeZEQyA/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmpWjbDgO/builds-v0/.tmpeZEQyA/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/tmp/.tmpWjbDgO/builds-v0/.tmpeZEQyA/lib/python3.13/site-packages/setuptools/build_meta.py", line 520, in run_setup super().run_setup(setup_script=setup_script) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.tmpWjbDgO/builds-v0/.tmpeZEQyA/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 1, in import sys ModuleNotFoundError: No module named 'pkg_resources' hint: This error likely indicates that flatdict@4.0.1 depends on pkg_resources, but doesn't declare it as a build dependency. If flatdict is a first-party package, consider adding pkg_resources to its build-system.requires. Otherwise, either add it to your pyproject.toml under: [tool.uv.extra-build-dependencies] flatdict = ["pkg_resources"] or uv pip install pkg_resources into the environment and re-run with --no-build-isolation.

Version of miele integration having the issue?

v2025.5.0

Version of Home Assistant Core having the issue?

2026.2.2

Anything in the logs that might be useful for us?

Additional information

home-assistant_2026-02-14T13-41-41.072Z.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions