sanji
Juin 17, 2024, 12:40
1
Bonjour à tous, et surtout à @Mips
J’ai un problème avec le pluging Gardena dont les dépendances ne démarrent plus.
Page santé :
Impossible de démarrer les dépendances :
Les versions de Python3
Python 3.7.3
et de pip3
pip 24.0 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
semblent à jour.
Voici le log Gardena_update qui semble indiquer le problème :
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 31% ] : Init python3 & prerequisites : [ OK ]
[ 32% ] : Init pyEnv...
** PyEnv required: 3.7.3 < 3.9 **
[ 43% ] : Init pyEnv : [ OK ]
[ 44% ] : install or update PyEnv...
[ 55% ] : install or update PyEnv : [ OK ]
[ 56% ] : Install Python 3.9 with PyEnv...
[ 99% ] : Install Python 3.9 with PyEnv : ERROR
[100% ] : Finished !
======================================================================
==KO== Installation Error
======================================================================
== ANALYSING ERRORS...
== NO KNOWN ERROR DETECTED
== Error in step : Install Python 3.9 with PyEnv
== Line 221
== Command `installPython3WithPyEnv' have an issue
== Return code is 1
== Error message :
current version is ok 3.9.19
/var/www/html/plugins/gardena/resources/pyenv.lib: line 120: /opt/pyenv/versions/3.9.19/bin/python3: No such file or directory
Problem to install requested python version
======================================================================
Je ne comprends pas, quelle version de Python devrait être installée ?
Merci pour toute idée,
sanji
Bonjour,
C’est une autre version qui devrait être installée par le plugin via pyenv. Mais ça se passe mal. La version de debian y est peut-être pour quelque chose. Debian10 n’est en effet très bientôt plus supportée.
A+
Michel
Mips
Juin 17, 2024, 12:49
3
Salut,
Peux-tu me donner le résultat de cette commande?:
ls /opt/pyenv/versions
et s’il y a un répertoire 3.9.19 me dire ce qu’il y a dans celui-ci?
ls /opt/pyenv/versions/3.9.19/bin
Salut
Le plugin installe python dans un environnement virtuel.
Cela peut être long selon la machine surtout quand je vois la charge de ton pi3. L’installation est peut-être encore en cours.
sanji
Juin 17, 2024, 12:55
5
Salut @Mips ,
ls /opt/pyenv/versions
3.9.19
ls /opt/pyenv/versions/3.9.19/bin
python3.9
sanji
Juin 17, 2024, 12:56
6
Cela fait plusieurs jours que l’installation n’aboutit pas…
Mips
Juin 17, 2024, 1:03
7
étrange qu’il n’y ai qu’un seul fichier, ca ne présage rien de bon
la version « cowboy », essayes ceci
sudo ln -s /opt/pyenv/versions/3.9.19/bin/python3.9 /opt/pyenv/versions/3.9.19/bin/python3
ensuite relances les dépendances.
sinon faudra nettoyer:
sudo rm -rf /opt/pyenv/versions/3.9.19
et relancer les dépendances
mais vu que tu es sous buster et que cet os n’est plus supporté dans 2 semaines, je t’encourage vivement à réinstaller ton pi avec bullseye
tu gagneras du temps à l’installation des dépendances en plus car python3.9 sera pré-installé.
Si l’installation est en cours, ça va lui couper l’herbe sous le pied.
Je lui conseillerais plutôt de vérifier (et éventuellement tuer) le process d’installation. Mais tu connais mieux ton plugin
Mips
Juin 17, 2024, 1:44
9
l’installation n’est pas en cours, rien n’a été fait lors de ce run et rajouter un lien symbolique ne risque pas grand chose
1 « J'aime »
Je pensais à la commande rm -rf ...
. Un ps axf
juste pour vérifier ne prendrait pas trop de temps et vue la charge, la compilation est peut-être en cours
sanji
Juin 17, 2024, 8:50
11
Un peu de temps pour répondre, car jeedom est tombé et j’étais à l’extérieur…
Le répertoire « /opt/pyenv/versions/3.9.19 » a bien été effacé,
mais la relance des dépendances ne fonctionne pas, le processus s’arrête toujours vers 56% :
======================================================================
== 17/06/2024 22:42:14 == Dependencies installation for gardena
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 31% ] : Init python3 & prerequisites : [ OK ]
[ 32% ] : Init pyEnv...
** PyEnv required: 3.7.3 < 3.9 **
[ 43% ] : Init pyEnv : [ OK ]
[ 44% ] : install or update PyEnv...
[ 55% ] : install or update PyEnv : [ OK ]
[ 56% ] : Install Python 3.9 with PyEnv...
Si je relance encore une fois j’arrive au même résultat.
Le log du plugin indique quelque chose de similaire :
[2024-06-17 22:46:07] ERROR : Attention : l'installation des dépendances a dépassé le temps maximum autorisé : 0min
Mips
Juin 17, 2024, 8:52
12
Voilà maintenant on sait pourquoi il manquait des fichiers…
Ca aurait bien de le dire dès le début.
Donc non l’installation ne s’arrête pas à 56%, il n’est pas écrit que c’est fini. Il faut juste attendre, encore attendre, et encore
Edit: ou alors installer debian11 bullseye car buster est obsolète
1 « J'aime »
Bonsoir,
En fait cela ne s’arrête pas, c’est juste que c’est très très long cette partie là, sur un Pi 3 cela peut prendre entre 40 min et 1h.
Donc il ne faut surtout pas relancer une nouvelle installation tant que la dernière semble bloquée à 56%, sinon c’est là que cela casse tout et qu’ensuite les dépendances ne peuvent s’installer.
Il faut effacer à nouveau le répertoire cité plus haut, rebooter le pi et ensuite lancer l’installation des dépendances et surtout laisser tourner, jusqu’à ce que cela atteigne 100%
Edit : @Mips nos messages se sont croisés
TiTidom.
1 « J'aime »
Mips
Juin 18, 2024, 7:02
14
j’ai vérifié et il y avait une erreur de config dans le plugin, le temps max d’installation était défini sur « 0 » (un « 6 » est probablement resté dans mon clavier), ce qui pouvait faire penser que les dépendances s’arrêtaient car c’est ce que l’affichage laissait penser.
ca sera modifié dans une prochaine version… mais ca sera inutile puisque tout le monde sera sous bullseye car buster est obsolète (qui a dit que je radote?)
2 « J'aime »
sanji
Juin 18, 2024, 8:30
15
Merci pour le support jusqu’à ici. En fait l’installation s’arrêtait régulièrement avec une plantée du jeedom, et recommençait automatiquement lors du reboot. C’est un peu inhabituel pour moi.
J’ai supprimé la gestion automatique des dépendances, effacé le répertoire problématique, rebooté jeedom et relancé les dépendances.
Un nouveau problème maintenant dans les logs :
running build_ext
running build_rust
error: Rust 1.41.1 does not match extension requirement >=1.63.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
Je suis bien conscient de la nécessité de migrer sur Bullseye, mais j’espère encore tenir 1.5 mois (je serai absent plusieurs semaines et j’ai peur de me lancer dans une mise à jour avant mon départ - je pense aussi migrer sur une VM pour plus de stabilité)
Mips
Juin 18, 2024, 8:32
16
je ne sais pas ce que c’est ce log mais ca ne ressemble pas au log du plugin
sanji
Juin 18, 2024, 8:50
17
J’ai juste mis les dernières lignes avec l’erreur, c’est les logs du gardena_update.
Voici les logs complets. Désolé pour le manque de clareté.
======================================================================
== 18/06/2024 09:43:17 == Dependencies installation for gardena
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 31% ] : Init python3 & prerequisites : [ OK ]
[ 32% ] : Init pyEnv...
** PyEnv required: 3.7.3 < 3.9 **
[ 43% ] : Init pyEnv : [ OK ]
[ 44% ] : install or update PyEnv...
[ 55% ] : install or update PyEnv : [ OK ]
[ 56% ] : Install Python 3.9 with PyEnv...
** python3 path: /opt/pyenv/versions/3.9.19/bin/python3 **
[ 67% ] : Install Python 3.9 with PyEnv : [ OK ]
[ 68% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.9.19
[ 79% ] : Setting up virtual environment : [ OK ]
[ 80% ] : Install the required python packages...
[ 89% ] : Install the required python packages : ERROR
[ 90% ] : Summary of installed packages...
[ 99% ] : Summary of installed packages : [ OK ]
[100% ] : Finished !
======================================================================
==KO== Installation Error
======================================================================
== ANALYSING ERRORS...
== NO KNOWN ERROR DETECTED
== Error in step : Install the required python packages
== Line 209
== Command `/var/www/html/plugins/gardena/resources/venv/bin/python3 -m pip install --upgrade -r /var/www/html/plugins/gardena/resources/requirements.txt' have an issue
== Return code is 1
== Error message :
Collecting oauthlib>=3.2.2 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 1))
Using cached oauthlib-3.2.2-py3-none-any.whl.metadata (7.5 kB)
Collecting websockets~=12.0 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 2))
Using cached websockets-12.0-py3-none-any.whl.metadata (6.6 kB)
Collecting jeedomdaemon~=0.9.8 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached jeedomdaemon-0.9.8-py3-none-any.whl.metadata (5.0 kB)
Collecting Authlib==1.3.1 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached Authlib-1.3.1-py2.py3-none-any.whl.metadata (3.8 kB)
Collecting httpx==0.27.0 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)
Collecting cryptography (from Authlib==1.3.1->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached cryptography-42.0.8.tar.gz (671 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 'done'
Collecting anyio (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting certifi (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached certifi-2024.6.2-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore==1.* (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)
Collecting idna (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting sniffio (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting aiohttp (from jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached aiohttp-3.9.5-cp39-cp39-linux_armv7l.whl
Collecting aiosignal>=1.1.2 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached frozenlist-1.4.1-py3-none-any.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached multidict-6.0.5-py3-none-any.whl.metadata (4.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached yarl-1.9.4-py3-none-any.whl.metadata (31 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting exceptiongroup>=1.0.2 (from anyio->httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached exceptiongroup-1.2.1-py3-none-any.whl.metadata (6.6 kB)
Collecting typing-extensions>=4.1 (from anyio->httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting cffi>=1.12 (from cryptography->Authlib==1.3.1->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached cffi-1.16.0-cp39-cp39-linux_armv7l.whl
Collecting pycparser (from cffi>=1.12->cryptography->Authlib==1.3.1->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached Authlib-1.3.1-py2.py3-none-any.whl (223 kB)
Using cached httpx-0.27.0-py3-none-any.whl (75 kB)
Using cached httpcore-1.0.5-py3-none-any.whl (77 kB)
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Using cached websockets-12.0-py3-none-any.whl (118 kB)
Using cached jeedomdaemon-0.9.8-py3-none-any.whl (12 kB)
Using cached anyio-4.4.0-py3-none-any.whl (86 kB)
Using cached idna-3.7-py3-none-any.whl (66 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached certifi-2024.6.2-py3-none-any.whl (164 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Using cached exceptiongroup-1.2.1-py3-none-any.whl (16 kB)
Using cached frozenlist-1.4.1-py3-none-any.whl (11 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached multidict-6.0.5-py3-none-any.whl (9.7 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached yarl-1.9.4-py3-none-any.whl (31 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml): started
Building wheel for cryptography (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [139 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-39/cryptography
creating build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/verification.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'src/_cffi_src'
warning: no files found matching '*.h' under directory 'src/_cffi_src'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files found matching 'src/rust/target'
warning: no previously-included files matching '*' found under directory 'src/rust/target'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'ci-constraints-requirements.txt'
warning: no previously-included files found matching 'mypy.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-39/cryptography
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/exceptions.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
running build_ext
running build_rust
error: Rust 1.41.1 does not match extension requirement >=1.63.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
======================================================================
Mips
Juin 18, 2024, 9:48
18
le système est à jour? (apt update && upgrade?)
je pense que c’est lié au fait que le système soit juste trop vieux
sinon il faut essayer la solution proposée ici: [RTEX] installation dépendances plugin-zigbee Raspberry Pi OS 32-bit armhf – Rust Cryptography
en résumé
$ sudo su -
# curl -o rustup.sh -sSf https://sh.rustup.rs
# chmod +x rustup.sh
# ./rustup.sh
et relancer les dépendances
sanji
Juin 19, 2024, 8:36
19
Malheureusement, après de nombreux essais, j’ai toujours les mêmes erreurs :
======================================================================
== 19/06/2024 09:40:56 == Dependencies installation for gardena
======================================================================
[ 5% ] : Clean apt...
[ 9% ] : Clean apt : [ OK ]
[ 10% ] : Update apt...
[ 19% ] : Update apt : [ OK ]
[ 20% ] : Init python3 & prerequisites...
[ 31% ] : Init python3 & prerequisites : [ OK ]
[ 32% ] : Init pyEnv...
** PyEnv required: 3.7.3 < 3.9 **
[ 43% ] : Init pyEnv : [ OK ]
[ 44% ] : install or update PyEnv...
[ 55% ] : install or update PyEnv : [ OK ]
[ 56% ] : Install Python 3.9 with PyEnv...
** python3 path: /opt/pyenv/versions/3.9.19/bin/python3 **
[ 67% ] : Install Python 3.9 with PyEnv : [ OK ]
[ 68% ] : Setting up virtual environment...
** Version of python in VENV: Python 3.9.19
[ 79% ] : Setting up virtual environment : [ OK ]
[ 80% ] : Install the required python packages...
[ 89% ] : Install the required python packages : ERROR
[ 90% ] : Summary of installed packages...
[ 99% ] : Summary of installed packages : [ OK ]
[100% ] : Finished !
======================================================================
==KO== Installation Error
======================================================================
== ANALYSING ERRORS...
== NO KNOWN ERROR DETECTED
== Error in step : Install the required python packages
== Line 209
== Command `/var/www/html/plugins/gardena/resources/venv/bin/python3 -m pip install --upgrade -r /var/www/html/plugins/gardena/resources/requirements.txt' have an issue
== Return code is 1
== Error message :
Collecting oauthlib>=3.2.2 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 1))
Using cached oauthlib-3.2.2-py3-none-any.whl.metadata (7.5 kB)
Collecting websockets~=12.0 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 2))
Using cached websockets-12.0-py3-none-any.whl.metadata (6.6 kB)
Collecting jeedomdaemon~=0.9.8 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached jeedomdaemon-0.9.8-py3-none-any.whl.metadata (5.0 kB)
Collecting Authlib==1.3.1 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached Authlib-1.3.1-py2.py3-none-any.whl.metadata (3.8 kB)
Collecting httpx==0.27.0 (from -r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)
Collecting cryptography (from Authlib==1.3.1->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached cryptography-42.0.8.tar.gz (671 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 'done'
Collecting anyio (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting certifi (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached certifi-2024.6.2-py3-none-any.whl.metadata (2.2 kB)
Collecting httpcore==1.* (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)
Collecting idna (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting sniffio (from httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting aiohttp (from jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached aiohttp-3.9.5-cp39-cp39-linux_armv7l.whl
Collecting aiosignal>=1.1.2 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting attrs>=17.3.0 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached frozenlist-1.4.1-py3-none-any.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached multidict-6.0.5-py3-none-any.whl.metadata (4.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached yarl-1.9.4-py3-none-any.whl.metadata (31 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp->jeedomdaemon~=0.9.8->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 3))
Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting exceptiongroup>=1.0.2 (from anyio->httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached exceptiongroup-1.2.1-py3-none-any.whl.metadata (6.6 kB)
Collecting typing-extensions>=4.1 (from anyio->httpx==0.27.0->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 5))
Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting cffi>=1.12 (from cryptography->Authlib==1.3.1->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached cffi-1.16.0-cp39-cp39-linux_armv7l.whl
Collecting pycparser (from cffi>=1.12->cryptography->Authlib==1.3.1->-r /var/www/html/plugins/gardena/resources/requirements.txt (line 4))
Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Using cached Authlib-1.3.1-py2.py3-none-any.whl (223 kB)
Using cached httpx-0.27.0-py3-none-any.whl (75 kB)
Using cached httpcore-1.0.5-py3-none-any.whl (77 kB)
Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Using cached websockets-12.0-py3-none-any.whl (118 kB)
Using cached jeedomdaemon-0.9.8-py3-none-any.whl (12 kB)
Using cached anyio-4.4.0-py3-none-any.whl (86 kB)
Using cached idna-3.7-py3-none-any.whl (66 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Using cached certifi-2024.6.2-py3-none-any.whl (164 kB)
Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Using cached exceptiongroup-1.2.1-py3-none-any.whl (16 kB)
Using cached frozenlist-1.4.1-py3-none-any.whl (11 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached multidict-6.0.5-py3-none-any.whl (9.7 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached yarl-1.9.4-py3-none-any.whl (31 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml): started
Building wheel for cryptography (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for cryptography (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [139 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/fernet.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography
copying src/cryptography/__about__.py -> build/lib.linux-armv7l-cpython-39/cryptography
creating build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/verification.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/x509
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/openssl
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/backends/openssl
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/asymmetric
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/twofactor
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/serialization
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/ciphers
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/primitives/kdf
running egg_info
writing src/cryptography.egg-info/PKG-INFO
writing dependency_links to src/cryptography.egg-info/dependency_links.txt
writing requirements to src/cryptography.egg-info/requires.txt
writing top-level names to src/cryptography.egg-info/top_level.txt
reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'src/_cffi_src'
warning: no files found matching '*.h' under directory 'src/_cffi_src'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '*' found under directory 'vectors'
warning: no previously-included files found matching 'src/rust/target'
warning: no previously-included files matching '*' found under directory 'src/rust/target'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'ci-constraints-requirements.txt'
warning: no previously-included files found matching 'mypy.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
copying src/cryptography/py.typed -> build/lib.linux-armv7l-cpython-39/cryptography
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/exceptions.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust
creating build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/aead.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/cmac.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dh.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/dsa.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ec.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed25519.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/ed448.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hashes.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/hmac.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/kdf.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/keys.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/poly1305.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/rsa.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
copying src/cryptography/hazmat/bindings/_rust/openssl/x448.pyi -> build/lib.linux-armv7l-cpython-39/cryptography/hazmat/bindings/_rust/openssl
running build_ext
running build_rust
error: Rust 1.41.1 does not match extension requirement >=1.63.0
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
======================================================================
Ce que j’ai fait :
Mettre à jour le système
Exécuter les commandes, sans problème particulier
$ sudo su -
# curl -o rustup.sh -sSf https://sh.rustup.rs
# chmod +x rustup.sh
# ./rustup.sh
Mips
Juin 19, 2024, 8:46
20
moi je n’ai plus d’idée, à part abandonner buster.
manifestement la version de rust dispo n’est pas la suffisante et pour l’instant j’ignore comment faire pour l’obtenir sous buster
c’est peut-etre egalement dû à un swap trop faible et/ou plus de mémoire dispo sans certitude.