Bonjour,
Je viens de passer mon Jeedom en Debian 12 bookworm et j’ai remarqué une petite difficulté avec le plugin KLF 200. Il fonctionne bien, mais réinstaller les dépendances me génère une erreur « Getting requirements to build wheel did not run successfully. »
Voici le log klf200_dep :
********************************************************
11/01/2025 22:09:08 Installation des dépendances
********************************************************
Hit:1 https://deb.nodesource.com/node_20.x nodistro InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm InRelease
Hit:4 http://deb.debian.org/debian-security bookworm-security InRelease
Get:5 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Fetched 55.4 kB in 1s (69.0 kB/s)
Reading package lists...
Installation des dépendances apt
Reading package lists...
Building dependency tree...
Reading state information...
python3-venv is already the newest version (3.11.2-1+b1).
python3-dev is already the newest version (3.11.2-1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
WARNING: The directory '/var/www/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pyvlx in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (0.2.26)
Requirement already satisfied: PyYAML in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from pyvlx) (6.0.2)
Requirement already satisfied: zeroconf in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from pyvlx) (0.139.0)
Requirement already satisfied: ifaddr>=0.1.7 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from zeroconf->pyvlx) (0.2.0)
WARNING: The directory '/var/www/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: aiohttp==3.7.4.post0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (3.7.4.post0)
Requirement already satisfied: attrs>=17.3.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from aiohttp==3.7.4.post0) (24.3.0)
Requirement already satisfied: chardet<5.0,>=2.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from aiohttp==3.7.4.post0) (4.0.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from aiohttp==3.7.4.post0) (6.1.0)
Requirement already satisfied: async-timeout<4.0,>=3.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from aiohttp==3.7.4.post0) (3.0.1)
Requirement already satisfied: yarl<2.0,>=1.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from aiohttp==3.7.4.post0) (1.18.3)
Requirement already satisfied: typing-extensions>=3.6.5 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from aiohttp==3.7.4.post0) (4.12.2)
Requirement already satisfied: idna>=2.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from yarl<2.0,>=1.0->aiohttp==3.7.4.post0) (3.10)
Requirement already satisfied: propcache>=0.2.0 in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (from yarl<2.0,>=1.0->aiohttp==3.7.4.post0) (0.2.1)
WARNING: The directory '/var/www/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting PyYAML==5.4.1
Downloading PyYAML-5.4.1.tar.gz (175 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 4.2 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
running egg_info
writing lib3/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib3/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "<string>", line 271, in <module>
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 983, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 312, in run
self.find_sources()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
mm.run()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 543, in run
self.add_defaults()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
sdist.add_defaults(self)
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 109, in add_defaults
super().add_defaults()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 239, in add_defaults
self._add_defaults_ext()
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 324, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 201, in get_source_files
File "/tmp/pip-build-env-v961kuiq/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 120, in __getattr__
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: The directory '/var/www/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: bottle in /var/www/html/plugins/klf200/resources/venv/lib/python3.11/site-packages (0.13.2)
********************************************************
11/01/2025 22:09:23 Installation terminée
********************************************************
Pour le moment ce n’est pas bloquant puisque le plugin semble bien fonctionner mais je préfèrerai régler ça pour éviter un futur pb.
Je suis preneur de vos conseils.