Bonjour,
Je viens de migrer de Debian 10 vers Debian 12 sur un RPI 2.
Il ne me reste que le plugin Husqvarna qui ne veut pas s’installer.
J’avais pourtant vu qu’il était compatible sur ce thread : Compatibilité des plugins avec Debian 12 - Bookworm, php 8, python 3.11
J’ai une erreur pendant l’installation des dépendances (j’ai relancé plusieurs fois sans succès) :
0000|======================================================================
0001|== 02/11/2024 08:55:23 == Dependencies installation for gardena
0002|======================================================================
0003|[ 5% ] : Clean apt...
0004|[ 9% ] : Clean apt : [ OK ]
0005|[ 10% ] : Update apt...
0006|[ 19% ] : Update apt : [ OK ]
0007|[ 20% ] : Init python3 & prerequisites...
0008|[ 29% ] : Init python3 & prerequisites : [ OK ]
0009|[ 30% ] : Init PyEnv...
0010|** PyEnv not required: 3.11.2 >= 3.9 **
0011|** python3 path: python3 **
0012|[ 39% ] : Init PyEnv : [ OK ]
0013|[ 40% ] : Setting up virtual environment...
0014|** Version of python in VENV: Python 3.11.2
0015|[ 69% ] : Setting up virtual environment : [ OK ]
0016|[ 70% ] : Install the required python packages...
0017|[ 79% ] : Install the required python packages : ERROR
0018|[ 80% ] : Restoring folders and files rights...
0019|[ 89% ] : Restoring folders and files rights : [ OK ]
0020|[ 90% ] : Summary of installed packages...
0021|[ 99% ] : Summary of installed packages : [ OK ]
0022|[100% ] : Finished !
0023|======================================================================
0024|== KO == Installation Error
0025|======================================================================
0026|== ANALYSING LOGS...
0027|== NO KNOWN ERROR DETECTED
0028|== Error in step : Install the required python packages
0029|== Line 222
0030|== The command `/var/www/html/plugins/gardena/resources/venv/bin/python3 -m pip install --upgrade -r /var/www/html/plugins/gardena/resources/requirements.txt' has an issue
0031|== Return code is 1
0032|== Error message :
0033|Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
0034|Collecting oauthlib>=3.2.2 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 1))
0035|Using cached https://www.piwheels.org/simple/oauthlib/oauthlib-3.2.2-py3-none-any.whl (151 kB)
0036|Collecting websockets~=13.0 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 2))
0037|Using cached https://www.piwheels.org/simple/websockets/websockets-13.1-cp311-cp311-linux_armv7l.whl (162 kB)
0038|Collecting jeedomdaemon~=0.11.2 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
0039|Using cached https://www.piwheels.org/simple/jeedomdaemon/jeedomdaemon-0.11.2-py3-none-any.whl (12 kB)
0040|Collecting Authlib==1.3.2 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
0041|Using cached https://www.piwheels.org/simple/authlib/Authlib-1.3.2-py2.py3-none-any.whl (225 kB)
0042|Collecting httpx==0.27.2 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
0043|Using cached https://www.piwheels.org/simple/httpx/httpx-0.27.2-py3-none-any.whl (76 kB)
0044|Collecting cryptography (from Authlib==1.3.2->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
0045|Using cached cryptography-43.0.3.tar.gz (686 kB)
0046|Installing build dependencies: started
0047|Installing build dependencies: finished with status 'done'
0048|Getting requirements to build wheel: started
0049|Getting requirements to build wheel: finished with status 'done'
0050|Preparing metadata (pyproject.toml): started
0051|Preparing metadata (pyproject.toml): finished with status 'error'
0052|error: subprocess-exited-with-error
0053|× Preparing metadata (pyproject.toml) did not run successfully.
0054|│ exit code: 1
0055|╰─> [6 lines of output]
0056|Cargo, the Rust package manager, is not installed or is not on PATH.
0057|This package requires Rust and Cargo to compile extensions. Install it through
0058|the system's package manager or via https://rustup.rs/
0059|Checking for Rust toolchain....
0060|[end of output]
0061|note: This error originates from a subprocess, and is likely not a problem with pip.
0062|error: metadata-generation-failed
0063|× Encountered error while generating package metadata.
0064|╰─> See above for output.
0065|note: This is an issue with the package mentioned above, not pip.
0066|hint: See above for details.
0067|======================================================================
Ma page santé :
Merci d’avance pour votre aide.