Erreur Dépendances Cargo, the Rust package manager

Bonjour,
La dernière mise à jour d’Arlo nécessite Debian 11, j’ai donc réinstallé mon jeedom, Raspberry 3.
Tous les plugins fonctionnent correctemement, sauf celui pour qui j’ai tout réinstallé. La mise à jour a été acceptée, mais les dépendances sont en erreur.

======================================================================
==KO== Installation Error
======================================================================
== ANALYSING LOGS...
== NO KNOWN ERROR DETECTED
== Error in step : Install the required python packages
== Line 222
== The command `/var/www/html/plugins/arlo/resources/venv/bin/python3 -m pip install --upgrade -r /var/www/html/plugins/arlo/resources/requirements.txt' has an issue
== Return code is 1
== Error message :
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting requests>=2.31 (from -r /var/www/html/plugins/arlo/resources/requirements.txt (line 1))
Using cached https://www.piwheels.org/simple/requests/requests-2.32.3-py3-none-any.whl (64 kB)
Collecting Unidecode>=1.3.7 (from -r /var/www/html/plugins/arlo/resources/requirements.txt (line 2))
Using cached https://www.piwheels.org/simple/unidecode/Unidecode-1.3.8-py3-none-any.whl (235 kB)
Collecting cloudscraper>=1.2.71 (from -r /var/www/html/plugins/arlo/resources/requirements.txt (line 3))
Using cached https://www.piwheels.org/simple/cloudscraper/cloudscraper-1.2.71-py3-none-any.whl (99 kB)
Collecting paho-mqtt>=1.6.1 (from -r /var/www/html/plugins/arlo/resources/requirements.txt (line 4))
Using cached https://www.piwheels.org/simple/paho-mqtt/paho_mqtt-2.1.0-py3-none-any.whl (67 kB)
Collecting cryptography>=41.0.7 (from -r /var/www/html/plugins/arlo/resources/requirements.txt (line 5))
Using cached cryptography-43.0.3.tar.gz (686 kB)
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 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
======================================================================

j’ai réinstallé Rust en suivant les instructions, mais cela n’a rien changé.
j’ai vérifié le PATH, le chemin apparait bien.

La cela dépasse mes compétences, donc si vous pouvez m’aider, je suis preneur.

Bonjour,

Page santé jeedom svp

Aviez-vous fait les mises à jour système (debian) avant ?
Version 64bits ou 32 bits?

La dernière fois que j’ai testé sur un pi3 en debian 11 ca s’installait sans soucis

Merci de t’intéresser à mon sujet.


image

Système à jour
image

Version 32 bit visiblement :
image

J’ai bien noté d’y regarder plus en détail.
Cela sera probablement ce weekend mais sans garantie.

1 « J'aime »

C’est bien un problème de compatibilité avec les systèmes 32bits.
Cryptography, l’une des dépendances du plugins, n’est plus nativement supporté sur les système 32bits à partir de la version 43.0.0 hors la dernière version à l’heure actuelle est la 43.0.3.
Et je ne veux pas devoir gérer une compilation via le plugin.

Dans la beta dispo demain, j’ai limité à la version 42.x donc cela fonctionnera mais je ne pourrai pas laisser cette limite indéfiniment, je dois suivre les évolutions.
Donc la compatibilité avec les pi sous 32bits sera supprimée lors d’une version future (pas de date)

2 « J'aime »

Merci pour le retour, je devrai donc prévoir une nouvelle mise à jour de RPI en 64 bit.
J’attends la beta alors.

Nouvelle version beta téléchargée, elle fonctionne parfaitement, j’ai noté que la fin de la compatibilité 32 bit apparait dans la documentation maintenant.

Merci pour votre aide.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.