Coder Social home page Coder Social logo

Comments (63)

valleedelisle avatar valleedelisle commented on June 3, 2024 5

Good.

Donc ça semble être les restrictions trop précises que @dependabot nous met lorsqu'il fait ses PRs. Surement qu'une des libs dans celles-là ne fonctionne pas avec websocket>11 ou quelques chose du genre.

Désolé pour le délai, j'suis un noob en packaging. TIL.

C'est donc ce commit qui a fixé.

Et voici le diff:

[dvd@dvd-mbp:~]$ diff python_hilo-2023.4.2/pyproject.toml python_hilo-2023.4.4/pyproject.toml
43c43
< version = "2023.04.02"
---
> version = "2023.04.04"
75c75
< websockets = ">=8.1,<11.0"
---
> websockets = ">=8.1,<12.0"

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024 3

C'est possible que j'aille brisé quelques chose, je check ca plus tard.

from hilo.

crazedmodder avatar crazedmodder commented on June 3, 2024 3

I rolled this Hilo integration back to 2023.3.2 and it didn't fix the issue. This started after upgrading Home Assistant to 2023.4.2 so I downgraded to Home Assistant 2023.4.1 and the Hilo integration is working again (2023.3.2 and 2023.4.1).

I see a lot of comments in the Home Assistant change log for people having issues with python in their integrations.

For anyone that needs to downgrade their Home Assistant version for the time being, you can use an SSH console (or the Terminal add-on for HA) and run the following command:
ha core update --version=2023.4.1

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024 2

Je viens d'essayer sur mon ordi et en regardant le pipdeptree de python-hilo 2.4.3 j'ai ceci image Le required est <11.0 ce qui va l'empêcher d'install le 11.0.1 requis par aioambient.
Je suis pt dans le champ, je suis pas tant habitué avec pip vu que je suis un developpeur firmware sweat_smile

Par contre on a ça dans le .toml de python hilo:

[tool.poetry.dependencies]
aiohttp = ">=3.8.0"
aiosignal = ">=1.2.0"
async-timeout = ">=4.0.0"
attrs = ">=21.2.0"
backoff = ">=1.11.1"
python-dateutil = ">=2.8.2"
ruyaml = ">=0.91.0"
python = "^3.9.0"
voluptuous = ">=0.13.1"
websockets = ">=8.1,<12.0"

Donc techniquement on est déjà correct à moins qu'il y ait quelque chose de corrompu quelque part?
https://github.com/dvd-dev/python-hilo/blob/a36865b76456a55f219924f4e7ac33829b6845d5/pyproject.toml#L65-L75

https://pypi.org/project/python-hilo/#files lorsque tu download le .tar.gz sur pip et tu regarde le .toml il ne concorde pas avec celui sur le git!

Nice catch. Je suis pas dev pour 2 cennes vous m’en faites apprendre à tous les jours

from hilo.

zadori avatar zadori commented on June 3, 2024 2

Je viens d'essayer sur mon ordi et en regardant le pipdeptree de python-hilo 2.4.3 j'ai ceci image Le required est <11.0 ce qui va l'empêcher d'install le 11.0.1 requis par aioambient.
Je suis pt dans le champ, je suis pas tant habitué avec pip vu que je suis un developpeur firmware sweat_smile

Par contre on a ça dans le .toml de python hilo:

[tool.poetry.dependencies]
aiohttp = ">=3.8.0"
aiosignal = ">=1.2.0"
async-timeout = ">=4.0.0"
attrs = ">=21.2.0"
backoff = ">=1.11.1"
python-dateutil = ">=2.8.2"
ruyaml = ">=0.91.0"
python = "^3.9.0"
voluptuous = ">=0.13.1"
websockets = ">=8.1,<12.0"

Donc techniquement on est déjà correct à moins qu'il y ait quelque chose de corrompu quelque part?
https://github.com/dvd-dev/python-hilo/blob/a36865b76456a55f219924f4e7ac33829b6845d5/pyproject.toml#L65-L75

https://pypi.org/project/python-hilo/#files lorsque tu download le .tar.gz sur pip et tu regarde le .toml il ne concorde pas avec celui sur le git!

Nice catch. Je suis pas dev pour 2 cennes vous m’en faites apprendre à tous les jours

Je reste loin du Python normalement 😅 Je connais 0 pip et I guess que c'est @valleedelisle qui doit update le package sur pypi

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024 2

Je confirme que ça fonctionne de mon bord aussi, update frais sur 2023.4.5 sans aucun trouble.

from hilo.

leo-na-rd avatar leo-na-rd commented on June 3, 2024 1

C'est possible que j'aille brisé quelques chose, je check ca plus tard.

the hero !

from hilo.

sachafournier avatar sachafournier commented on June 3, 2024 1

Mon HA est en 2023.4.2 et l'intégration hilo ne fonctionne pas. Voici ce que j'ai fait:

// connecter au HAOS
login

// s'assurer que tous les containers sont en coirs d'exécution
docker ps -a

// se connecter au container de HA
docker exec -it homeassistant bash

// naviger aux dépendances
cd /usr/local/lib/python3.10/site-packages

// effacer python-hilo (comme suggéré par valleedelisle
rm -rf pyhilo python_hilo-*

//// Redémarrage complet de HA ////

En me connectant sur le container homeassistant en cours de démarrage, je vois que pip essaie de télécharger python-hilo à nouveau (fichier dan /tmp/pip....) mais ne semble pas aboutir car les dépendances n'apparaissent pas dans "/usr/local/lib/python3.10/site-packages" après le démarrage. J'ai donc installé "manuellement" la dépendance python-hilo en me connectant sur le container homeassistant (voir plus haut):

pip install python-hilo

La dépendance semble maintenant bien s'installer même si je vois des erreurs de versions conflictuelles pour websocket ?!

Après un dernier redémarrage (oufff), ça fonctionne !

from hilo.

skimaniac avatar skimaniac commented on June 3, 2024 1

Mon HA est en 2023.4.2 et l'intégration hilo ne fonctionne pas. Voici ce que j'ai fait:

// connecter au HAOS login

// s'assurer que tous les containers sont en coirs d'exécution docker ps -a

// se connecter au container de HA docker exec -it homeassistant bash

// naviger aux dépendances cd /usr/local/lib/python3.10/site-packages

// effacer python-hilo (comme suggéré par valleedelisle rm -rf pyhilo python_hilo-*

//// Redémarrage complet de HA ////

En me connectant sur le container homeassistant en cours de démarrage, je vois que pip essaie de télécharger python-hilo à nouveau (fichier dan /tmp/pip....) mais ne semble pas aboutir car les dépendances n'apparaissent pas dans "/usr/local/lib/python3.10/site-packages" après le démarrage. J'ai donc installé "manuellement" la dépendance python-hilo en me connectant sur le container homeassistant (voir plus haut):

pip install python-hilo

La dépendance semble maintenant bien s'installer même si je vois des erreurs de versions conflictuelles pour websocket ?!

Après un dernier redémarrage (oufff), ça fonctionne !

Avec ça j'ai réussi a faire fonctionner mon installation sous Docker,🥳
mais je sais pas comment le reproduire sur mon installation sur HASOS :(

from hilo.

skimaniac avatar skimaniac commented on June 3, 2024 1

pour ceux comme moi qui roule HomeAssistant sur HAOS et qui comprennent vite quand on leur explique longtemps 🤣

1- si vous avez pas déjà SSH installer dans les modules complémentaire, ça prend ça (Parametre->Modules complémentaires->boutique module->SSH & Web Terminal->Installer. puis désactiver mode protéger)
2-cliquer sur OUVRIR L'INTERFACE UTILISATEUR WEB
3- Faire comme @sachafournier l'a expliquer ici[ https://github.com//issues/250#issuecomment-1505968845 ]

docker exec -it homeassistant bash

// naviger aux dépendances
cd /usr/local/lib/python3.10/site-packages

// effacer python-hilo (comme suggéré par valleedelisle
rm -rf pyhilo python_hilo-*

//// Redémarrage complet de HA ////

retourner dans le web terminal

pip install python-hilo

après avoir redémarrer HomeAssistant tou devrait être ok comme chez moi ;)

Comme @valleedelisle l'a dit ça règle pas le fond du problème, mais ça règle en attendant .
merci à tout ceux qui travail fort pour régler le fond du problème :)

from hilo.

marc3k18 avatar marc3k18 commented on June 3, 2024 1

from hilo.

marc3k18 avatar marc3k18 commented on June 3, 2024 1

from hilo.

marc3k18 avatar marc3k18 commented on June 3, 2024 1

from hilo.

FrancoLoco avatar FrancoLoco commented on June 3, 2024 1

Merci pour vos trucs @skimaniac @valleedelisle et @marc3k18 j'ai appris des choses, je ne savais pas qu'on pouvait faire ca avec la version HAOS

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

J'update mon container live là voir si je peux reproduire.

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Confirmé, voici l'erreur complète

`Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 11:04:34 AM (1 occurrences)
Last logged: 11:04:34 AM

Unable to install package python-hilo>=2023.4.1: ERROR: Cannot install python-hilo==2023.4.1 and python-hilo==2023.4.2 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: pip install --upgrade pip`

from hilo.

FrancoLoco avatar FrancoLoco commented on June 3, 2024

J’ai aussi ce problème @valleedelisle il y a un problème avec le release je crois

from hilo.

leo-na-rd avatar leo-na-rd commented on June 3, 2024

je seonde, problème est apparu après la maj 2023.4.2

même log que @ic-dev21

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Biz que revenir à 2023.4.1 règle le trouble

from hilo.

julien-berthelot avatar julien-berthelot commented on June 3, 2024

Bonjour, j'ai la même erreur, je tente d'initialiser le configuration wizard et ça recharge sans arrêt. J'ai tenté 2023.4.1 et 2023.3.2.

Unable to install package python-hilo>=2023.3.1: ERROR: Cannot install python-hilo==2023.3.1, python-hilo==2023.4.1 and python-hilo==2023.4.2 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: pip install --upgrade pip

from hilo.

skimaniac avatar skimaniac commented on June 3, 2024

Reviens à Homeassistant 2023.4.1 et ça va fonctionner de nouveau comme il faut.

from hilo.

marc3k18 avatar marc3k18 commented on June 3, 2024

Meme probleme ici :)

from hilo.

sachafournier avatar sachafournier commented on June 3, 2024

Même problème de mon côté. Il semble avoir eu une mise à jour pour la version 2023.4.2 (2023-04-12) de cette intégration mais le problème persiste toujours. Revenir à 2023.4.1 fonctionne bien.

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

J'ai pas le problème ici avec la dernière version (2023.4.2).

Quelle version avez-vous dans votre dossier deps?

# ls -tlra deps/lib/python3.10/site-packages/ | grep hilo
drwxr-xr-x.  5 root root  4096 Apr 12 01:38 pyhilo
drwxr-xr-x.  2 root root  4096 Apr 12 01:38 python_hilo-2023.4.2.dist-info

Si vous essayez de supprimer les dossier pyhilo et python_hilo* de votre dossier deps suivi d'un restart?

rm -rf deps/lib/python3.10/site-packages/pyhilo deps/lib/python3.10/site-packages/python_hilo-*

from hilo.

macgaver avatar macgaver commented on June 3, 2024

Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: pip install --upgrade pip

from hilo.

FrancoLoco avatar FrancoLoco commented on June 3, 2024

J'ai essayé d'aller voir, mais de mon côté j'utilise HAOS (comme probablement plusieurs autres ici) et donc on ne peut pas vraiment aller voir ces dossiers de dépendances.. Pour ma part je suis présentement sur haos 10.0.rc3.

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Docker sur raspberry pi pour ma part

from hilo.

bigbenqc avatar bigbenqc commented on June 3, 2024

Je suis aussi sur HAOS et je ne peux pas accéder au répertoire REPS (sauf si quelqu'un a une recette). On dirait que la version python-hilo ne s'installe pas. J'ai vérifié et ma version Python est la 3.10.

Un retrofit à 2023.4.1 à fonctionné pour moi

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

J'ai pas le problème ici avec la dernière version (2023.4.2).

Quelle version avez-vous dans votre dossier deps?

# ls -tlra deps/lib/python3.10/site-packages/ | grep hilo
drwxr-xr-x.  5 root root  4096 Apr 12 01:38 pyhilo
drwxr-xr-x.  2 root root  4096 Apr 12 01:38 python_hilo-2023.4.2.dist-info

Si vous essayez de supprimer les dossier pyhilo et python_hilo* de votre dossier deps suivi d'un restart?

rm -rf deps/lib/python3.10/site-packages/pyhilo deps/lib/python3.10/site-packages/python_hilo-*

Essayé la commande via portainer, no such file or directory.

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

Nice job @sachafournier, merci!

J'suis pas sur que ca soit a la porter de tlm. Je vais essayer de refaire une nouvelle release vide pour voir si ca aide les gens.

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

Laissez moi savoir si ca aide (or not)

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Je t'essaye ça d'ici quelques minutes. Will report back.

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024
Logger: homeassistant.util.package
Source: util/package.py:107 
First occurred: 6:43:48 PM (1 occurrences) 
Last logged: 6:43:48 PM

Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: pip install --upgrade pip

Nope :(

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

De mon côté j'ai fait un upgrade pip dans le container voir si ça pouvait aider. Pas de chance de ce bord-là.

Le message d'erreur me fourrait vraiment, c'est comme s'il essayait absolument de tout installer.

J'ai donc changé mon manifest.json pour fixer (==) la version plutôt qu'avoir un >=, l'intégration load mais me sort une exception au setup (je peux fournir le log si besoin @valleedelisle ?) Je me rends donc un peu plus loin, mais pas assez pour décoller.

J'ai fait un rollback vers 2023.4.1 pour le moment.

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

Je ne suis pas sur de comprendre pourquoi HACS install avec == au lieu de >=. Quand j'install la lib manuellement dans une venv, ca fonctionne, meme chose quand j'essaie d'installer directement python-hilo==2023.4.3 ou meme le .2, ca fonctionne toujours.

[19:16:23] [dvd@dvd-mbp:~]$ python3 -m venv .venvtest
[19:16:34] [dvd@dvd-mbp:~]$ source .venvtest/bin/activate
(.venvtest) [19:16:36] [dvd@dvd-mbp:~]$ pip install "python-hilo>=2023.4.3"
Collecting python-hilo>=2023.4.3
  Downloading python_hilo-2023.4.3.tar.gz (23 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting voluptuous>=0.13.1
  Downloading voluptuous-0.13.1-py3-none-any.whl (29 kB)
Collecting ruyaml>=0.91.0
  Downloading ruyaml-0.91.0-py3-none-any.whl (108 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.9/108.9 kB 2.2 MB/s eta 0:00:00
Collecting websockets<11.0,>=8.1
  Downloading websockets-10.4-cp310-cp310-macosx_11_0_arm64.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 8.0 MB/s eta 0:00:00
Collecting async-timeout>=4.0.0
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting aiohttp>=3.8.0
  Downloading aiohttp-3.8.4-cp310-cp310-macosx_11_0_arm64.whl (336 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 336.9/336.9 kB 7.7 MB/s eta 0:00:00
Collecting python-dateutil>=2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting aiosignal>=1.2.0
  Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting backoff>=1.11.1
  Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
Collecting attrs>=21.2.0
  Downloading attrs-22.2.0-py3-none-any.whl (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.0/60.0 kB 6.0 MB/s eta 0:00:00
Collecting charset-normalizer<4.0,>=2.0
  Downloading charset_normalizer-3.1.0-cp310-cp310-macosx_11_0_arm64.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.0/123.0 kB 15.4 MB/s eta 0:00:00
Collecting frozenlist>=1.1.1
  Downloading frozenlist-1.3.3-cp310-cp310-macosx_11_0_arm64.whl (34 kB)
Collecting yarl<2.0,>=1.0
  Downloading yarl-1.8.2-cp310-cp310-macosx_11_0_arm64.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.9/57.9 kB 5.9 MB/s eta 0:00:00
Collecting multidict<7.0,>=4.5
  Downloading multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl (29 kB)
Collecting six>=1.5
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting distro>=1.3.0
  Downloading distro-1.8.0-py3-none-any.whl (20 kB)
Requirement already satisfied: setuptools>=39.0 in ./.venvtest/lib/python3.10/site-packages (from ruyaml>=0.91.0->python-hilo>=2023.4.3) (65.3.0)
Collecting idna>=2.0
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 8.8 MB/s eta 0:00:00
Building wheels for collected packages: python-hilo
  Building wheel for python-hilo (pyproject.toml) ... done
  Created wheel for python-hilo: filename=python_hilo-2023.4.3-py3-none-any.whl size=26874 sha256=9d7fe4068e5bbfd96e5953397f3c78e7a3dea5f78a055544a94fc89615c6c4f5
  Stored in directory: /Users/dvd/Library/Caches/pip/wheels/11/ce/b5/2530888b9915d335790aeace3d39f96b36d199d7ce4891cef9
Successfully built python-hilo
Installing collected packages: voluptuous, websockets, six, multidict, idna, frozenlist, distro, charset-normalizer, backoff, attrs, async-timeout, yarl, ruyaml, python-dateutil, aiosignal, aiohttp, python-hilo
Successfully installed aiohttp-3.8.4 aiosignal-1.3.1 async-timeout-4.0.2 attrs-22.2.0 backoff-2.2.1 charset-normalizer-3.1.0 distro-1.8.0 frozenlist-1.3.3 idna-3.4 multidict-6.0.4 python-dateutil-2.8.2 python-hilo-2023.4.3 ruyaml-0.91.0 six-1.16.0 voluptuous-0.13.1 websockets-10.4 yarl-1.8.2

[notice] A new release of pip available: 22.2.2 -> 23.0.1
[notice] To update, run: pip install --upgrade pip

Piste de solution, si vous exécutez ceci dans votre container home assistant:

pip uninstall python-hilo
pip install "python-hilo>=2023.4.3"

Ou sinon:

pip uninstall python-hilo
pip install python-hilo

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Workaround qui a fonctionné pour moi en me connectant au container (j'utilise portainer mais sinon docker exec -it homeassistant bash se rend à la même place)

pip install python-hilo

Après j'ai éssayé un restart, marche pas. Ensuite j'ai fait:

pip install --upgrade pip

Et un restart. Tout marche.

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

C'est bien beau le patchage mais je crois qu'on va re-avoir le meme probleme au prochain upgrade si on ne trouve pas ce que c'est.

D'apres moi c'est une des PR de dependbot que j'ai merger dans python-hilo qui semble introduire une contrainte qui va à l'encontre des contraintes de homeassistant. Ou bien c'est une nouvelle contrainte de homeassistant introduite dans 2023.4.x.

Si y'en a un qui est capable de voir toute le output de la commande pip dans les logs de homeassistant, ca pourrait surement aider.

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Genre celle là? beac13d0fc16e49cb90e7de3e88ba8281ddb430b

Tu veux l'output complet de l'install de python hilo par pip si je te comprends bien? J'ai un peu de temps devant moi je peux te le faire

Here you go:

pip install python-hilo
Requirement already satisfied: python-hilo in /usr/local/lib/python3.10/site-packages (2023.4.3)
Requirement already satisfied: async-timeout>=4.0.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (4.0.2)
Requirement already satisfied: voluptuous>=0.13.1 in /usr/local/lib/python3.10/site-packages (from python-hilo) (0.13.1)
Requirement already satisfied: aiohttp>=3.8.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (3.8.4)
Requirement already satisfied: aiosignal>=1.2.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (1.3.1)
Requirement already satisfied: ruyaml>=0.91.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (0.91.0)
Requirement already satisfied: attrs>=21.2.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (22.2.0)
Requirement already satisfied: websockets<11.0,>=8.1 in /usr/local/lib/python3.10/site-packages (from python-hilo) (10.4)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/site-packages (from python-hilo) (2.8.2)
Requirement already satisfied: backoff>=1.11.1 in /usr/local/lib/python3.10/site-packages (from python-hilo) (2.2.1)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (3.1.0)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (1.3.3)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (1.8.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (6.0.4)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/site-packages (from python-dateutil>=2.8.2->python-hilo) (1.16.0)
Requirement already satisfied: distro>=1.3.0 in /usr/local/lib/python3.10/site-packages (from ruyaml>=0.91.0->python-hilo) (1.8.0)
Requirement already satisfied: setuptools>=39.0 in /usr/local/lib/python3.10/site-packages (from ruyaml>=0.91.0->python-hilo) (67.3.1)
Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.10/site-packages (from yarl<2.0,>=1.0->aiohttp>=3.8.0->python-hilo) (3.4)

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

Je cherchais plus la façon dont homeassistant le faisait, mais merci quand même.

20:19 $ git blame requirements.txt
8a1b5748 (David Vallee Delisle 2021-12-22 20:12:58 -0500  1) aiohttp>=3.8.0
8a1b5748 (David Vallee Delisle 2021-12-22 20:12:58 -0500  2) aiosignal>=1.1.0
8a1b5748 (David Vallee Delisle 2021-12-22 20:12:58 -0500  3) async-timeout>=4.0.0
44d9c185 (dependabot[bot]      2023-04-10 10:06:46 +0000  4) attrs==22.2.0
8ca930c6 (dependabot[bot]      2023-02-10 10:09:04 +0000  5) backoff==2.2.1
d0a91c5e (dependabot[bot]      2023-04-10 10:07:12 +0000  6) charset-normalizer==3.1.0
a6d381a0 (dependabot[bot]      2022-10-21 10:45:57 +0000  7) distro==1.8.0
7c8595e0 (dependabot[bot]      2022-12-21 14:26:19 +0000  8) frozenlist==1.3.3
b1dc7a79 (dependabot[bot]      2023-01-27 09:14:22 +0000  9) idna==3.4
89e96718 (dependabot[bot]      2023-01-26 17:44:59 +0000 10) multidict==6.0.4
^d1d7577 (David Vallee Delisle 2021-12-19 07:46:13 -0500 11) python-dateutil==2.8.2
^d1d7577 (David Vallee Delisle 2021-12-19 07:46:13 -0500 12) ruyaml==0.91.0
^d1d7577 (David Vallee Delisle 2021-12-19 07:46:13 -0500 13) six==1.16.0
0c5c6525 (dependabot[bot]      2023-04-10 10:08:20 +0000 14) typing_extensions==4.5.0
3d580876 (dependabot[bot]      2022-12-22 09:17:26 +0000 15) yarl==1.8.2
git log -p requirements.txt

from hilo.

nmezheri avatar nmezheri commented on June 3, 2024

could this help ?


This behaviour is the source of the following dependency conflicts.
aioambient 2023.4.0 requires websockets>=11.0.1, but you have websockets 10.4 which is incompatible.

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

Possiblement que ca aide, mais cette restriction n'est pas de python-hilo (enfin je crois).

Belle trouvaille, on est peut-etre sur une piste.

Chez moi j'ai ceci a l’intérieur de mon container homeassistant:

# pip freeze  | grep websoc
jsonrpc-websocket==3.1.4
plexwebsocket==0.0.13
vallox-websocket-api==3.2.1
websocket-client==1.5.1
websockets==11.0.1

Ensuite, la seule restriction que python-hilo impose est celle-ci:
">=8.1,<12.0"

from hilo.

nmezheri avatar nmezheri commented on June 3, 2024

here what I get when it's not working

bash-5.1# pip freeze | grep websoc
jsonrpc-websocket==3.1.4
plexwebsocket==0.0.13
vallox-websocket-api==3.2.1
websocket-client==1.5.1
websockets==11.0.1

doing:

pip install python-hilo>=2023.4.3
pip install python-hilo>=2023.4.3 (yes twice)
pip install --upgrade pip

make it work, then

#pip freeze | grep websoc
jsonrpc-websocket==3.1.4
plexwebsocket==0.0.13
vallox-websocket-api==3.2.1
websocket-client==1.5.1
websockets==10.4

See
websockets==10.4 moved from websockets==11.0.1

Basically
websockets==10.4 ---------------> Working
websockets==11.0.1 ---------------> Not Working

from hilo.

sachafournier avatar sachafournier commented on June 3, 2024

Je sais pas si ça peut aider mais seulement pour garder une trace:

Ce matin avec la nouvelle version 2023.4.3 j'ai eu le même problème (voir erreur plus bas). Mais en forcant la mise a jour de la dépendance phyton-hilo manuellement avec "pip install ...." et un redémarrage, ça fonctionne (toujours avec les messages d'erreur pip de versions conflictuelles avec websocket). "aioambient 2023.4.0 requires websockets>=11.0.1, but you have websockets 10.4 which is incompatible."

Erreur lors de la mise a jour:

Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.0 -> 23.0.1 [notice] To update, run: pip install --upgrade pip

from hilo.

davignola avatar davignola commented on June 3, 2024

Est-ce que ça aide ?
Latest HASS dans container.

2023-04-13 10:15:42.364 INFO (SyncWorker_8) [homeassistant.util.package] Attempting install of python-hilo>=2023.4.2
2023-04-13 10:15:42.365 DEBUG (SyncWorker_8) [homeassistant.util.package] Running pip command: args=['/usr/local/bin/python3', '-m', 'pip', 'install', '--quiet', 'python-hilo>=2023.4.2', '--timeout', '60', '--no-cache-dir', '--upgrade', '--constraint', '/usr/src/homeassistant/homeassistant/package_constraints.txt', '--find-links', 'https://wheels.home-assistant.io/musllinux/', '--prefer-binary']
2023-04-13 10:16:05.667 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: default_config
2023-04-13 10:16:13.214 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: pip install --upgrade pip

package_constraints.txt :
package_constraints.txt

Aussi on dirrait qu'il essaie d'installer python-hilo==2023.4.2 et 2023.4.3 en même temps... normal ?

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Est-ce que ça aide ? Latest HASS dans container.

2023-04-13 10:15:42.364 INFO (SyncWorker_8) [homeassistant.util.package] Attempting install of python-hilo>=2023.4.2
2023-04-13 10:15:42.365 DEBUG (SyncWorker_8) [homeassistant.util.package] Running pip command: args=['/usr/local/bin/python3', '-m', 'pip', 'install', '--quiet', 'python-hilo>=2023.4.2', '--timeout', '60', '--no-cache-dir', '--upgrade', '--constraint', '/usr/src/homeassistant/homeassistant/package_constraints.txt', '--find-links', 'https://wheels.home-assistant.io/musllinux/', '--prefer-binary']
2023-04-13 10:16:05.667 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: default_config
2023-04-13 10:16:13.214 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: pip install --upgrade pip

package_constraints.txt : package_constraints.txt

Aussi on dirrait qu'il essaie d'installer python-hilo==2023.4.2 et 2023.4.3 en même temps... normal ?

J'avais le même comportement dans les logs mais je les avais plus car j'ai recréée mon container, good job!

from hilo.

davignola avatar davignola commented on June 3, 2024

Est-ce que ça aide ? Latest HASS dans container.

2023-04-13 10:15:42.364 INFO (SyncWorker_8) [homeassistant.util.package] Attempting install of python-hilo>=2023.4.2
2023-04-13 10:15:42.365 DEBUG (SyncWorker_8) [homeassistant.util.package] Running pip command: args=['/usr/local/bin/python3', '-m', 'pip', 'install', '--quiet', 'python-hilo>=2023.4.2', '--timeout', '60', '--no-cache-dir', '--upgrade', '--constraint', '/usr/src/homeassistant/homeassistant/package_constraints.txt', '--find-links', 'https://wheels.home-assistant.io/musllinux/', '--prefer-binary']
2023-04-13 10:16:05.667 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: default_config
2023-04-13 10:16:13.214 ERROR (SyncWorker_8) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.0.1
[notice] To update, run: pip install --upgrade pip

package_constraints.txt : package_constraints.txt
Aussi on dirrait qu'il essaie d'installer python-hilo==2023.4.2 et 2023.4.3 en même temps... normal ?

J'avais le même comportement dans les logs mais je les avais plus car j'ai recréée mon container, good job!

Si tu as besoin d'extraire d'autre infos fait moi signe, je vais garder mon container dans ce state là jusqu'au fix officiel !

from hilo.

FrancoLoco avatar FrancoLoco commented on June 3, 2024

Bon bien j'étais content d'avoir updaté mon HA Core, mais finalement Environnement Canada est brisé dans les nouvelles versions, donc je retourne à l'ancienne quand même pour le moment.. :(

from hilo.

skimaniac avatar skimaniac commented on June 3, 2024

Merci pour vos trucs @skimaniac @valleedelisle et @marc3k18 j'ai appris des choses, je ne savais pas qu'on pouvait faire ca avec la version HAOS

moi non-plus... :)

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Je viens d'éssayer d'updater core à 2023.4.4 ce matin, je voulais tester les choses.

Première affaire, changé manifest.json pour demander python-hilo>=2023.4.3 histoire que ça essaye pas d'installer 2 versions en même temps.

Recréé le container, en zieutant le log, voici ce qui se passe:

2023-04-15 10:58:42.442 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.3: ERROR: Cannot install python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.1
[notice] To update, run: pip install --upgrade pip
2023-04-15 10:59:05.784 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: default_config
2023-04-15 10:59:10.694 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.3: ERROR: Cannot install python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.1
[notice] To update, run: pip install --upgrade pip
2023-04-15 10:59:39.218 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.3: ERROR: Cannot install python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[notice] A new release of pip is available: 23.0 -> 23.1
[notice] To update, run: pip install --upgrade pip
2023-04-15 10:59:39.220 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration hilo: Requirements for hilo not found: ['python-hilo>=2023.4.3'].

HomeAssistant part, mais Hilo non.

Je laisse le tout tourner et sans toucher à rien, pip -V me donne 23.0

J'ai ensuite roulé la commande manuellement par commande line:

pip install python-hilo

J'obtiens:

bash-5.1# pip install python-hilo
Collecting python-hilo
  Downloading python_hilo-2023.4.3.tar.gz (23 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: async-timeout>=4.0.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (4.0.2)
Requirement already satisfied: aiohttp>=3.8.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (3.8.4)
Requirement already satisfied: attrs>=21.2.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (22.2.0)
Requirement already satisfied: aiosignal>=1.2.0 in /usr/local/lib/python3.10/site-packages (from python-hilo) (1.3.1)
Collecting websockets<11.0,>=8.1
  Downloading websockets-10.4-cp310-cp310-musllinux_1_1_aarch64.whl (111 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.5/111.5 kB 2.7 MB/s eta 0:00:00
Requirement already satisfied: voluptuous>=0.13.1 in /usr/local/lib/python3.10/site-packages (from python-hilo) (0.13.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/site-packages (from python-hilo) (2.8.2)
Collecting ruyaml>=0.91.0
  Downloading ruyaml-0.91.0-py3-none-any.whl (108 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.9/108.9 kB 7.6 MB/s eta 0:00:00
Requirement already satisfied: backoff>=1.11.1 in /usr/local/lib/python3.10/site-packages (from python-hilo) (2.2.1)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (1.3.3)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (6.0.4)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (1.8.1)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/lib/python3.10/site-packages (from aiohttp>=3.8.0->python-hilo) (3.1.0)
Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/site-packages (from python-dateutil>=2.8.2->python-hilo) (1.16.0)
Collecting distro>=1.3.0
  Downloading distro-1.8.0-py3-none-any.whl (20 kB)
Requirement already satisfied: setuptools>=39.0 in /usr/local/lib/python3.10/site-packages (from ruyaml>=0.91.0->python-hilo) (67.3.1)
Requirement already satisfied: idna>=2.0 in /usr/local/lib/python3.10/site-packages (from yarl<2.0,>=1.0->aiohttp>=3.8.0->python-hilo) (3.4)
Building wheels for collected packages: python-hilo
  Building wheel for python-hilo (pyproject.toml) ... done
  Created wheel for python-hilo: filename=python_hilo-2023.4.3-py3-none-any.whl size=26874 sha256=9d7fe4068e5bbfd96e5953397f3c78e7a3dea5f78a055544a94fc89615c6c4f5
  Stored in directory: /root/.cache/pip/wheels/11/ce/b5/2530888b9915d335790aeace3d39f96b36d199d7ce4891cef9
Successfully built python-hilo
Installing collected packages: websockets, distro, ruyaml, python-hilo
  Attempting uninstall: websockets
    Found existing installation: websockets 11.0.1
    Uninstalling websockets-11.0.1:
      Successfully uninstalled websockets-11.0.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aioambient 2023.4.0 requires websockets>=11.0.1, but you have websockets 10.4 which is incompatible.
Successfully installed distro-1.8.0 python-hilo-2023.4.3 ruyaml-0.91.0 websockets-10.4

Puis fait un restart via le GUI de HomeAssistant.

Tout marche.

Le problème se produit donc vraiment à l'installation automatisée de python-hilo, y'a dequoi qui rote juste à ce moment-là.

L'erreur de websocket pourrait se faire régler dans pyproject.toml mais ça me surprendrait qu'il y ait un liens.

from hilo.

Moustachauve avatar Moustachauve commented on June 3, 2024

La dernière mise à jour n'a pas réglé le problème. J'attendais une mise à jour pour aider à vérifier si un fix fonctionne.

from hilo.

zadori avatar zadori commented on June 3, 2024

Je viens d'essayer l'installation sur mon HAOS que je viens d'updater à 10.0 avec Core 2023.4.5.
J'ai tenté d'installer la dernière version de l'intégration mais j'ai le log suivant:

2023-04-18 13:16:58.606 INFO (SyncWorker_7) [homeassistant.util.package] Attempting install of python-hilo>=2023.4.2
2023-04-18 13:17:14.514 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 23.0 -> 23.1
[notice] To update, run: pip install --upgrade pip
2023-04-18 13:17:14.515 INFO (SyncWorker_7) [homeassistant.util.package] Attempting install of python-hilo>=2023.4.2
2023-04-18 13:17:30.476 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 23.0 -> 23.1
[notice] To update, run: pip install --upgrade pip
2023-04-18 13:17:30.477 INFO (SyncWorker_7) [homeassistant.util.package] Attempting install of python-hilo>=2023.4.2
2023-04-18 13:17:46.305 ERROR (SyncWorker_7) [homeassistant.util.package] Unable to install package python-hilo>=2023.4.2: ERROR: Cannot install python-hilo==2023.4.2 and python-hilo==2023.4.3 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts`

Je viens tout juste de partir mon Home Assistant et Hilo s'est fait installé aujourd'hui donc je suis tout nouveau.

De ce que je vois de vos logs pip manuel c'est que l'installation automatique plante à cause de lerreur avec le websockets 10.0.4 qui n'est pas compatible avec ce que aioambient (qui a été bump à 2023.4.0 et requiert maintenant websockets 11.0.1 depuis HA Core 2023.4.2.

from hilo.

zadori avatar zadori commented on June 3, 2024

Je viens d'essayer sur mon ordi et en regardant le pipdeptree de python-hilo 2.4.3 j'ai ceci
image
Le required est <11.0 ce qui va l'empêcher d'install le 11.0.1 requis par aioambient.

Je suis pt dans le champ, je suis pas tant habitué avec pip vu que je suis un developpeur firmware 😅

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Je viens d'essayer sur mon ordi et en regardant le pipdeptree de python-hilo 2.4.3 j'ai ceci image Le required est <11.0 ce qui va l'empêcher d'install le 11.0.1 requis par aioambient.

Je suis pt dans le champ, je suis pas tant habitué avec pip vu que je suis un developpeur firmware 😅

Par contre on a ça dans le .toml de python hilo:

[tool.poetry.dependencies]
aiohttp = ">=3.8.0"
aiosignal = ">=1.2.0"
async-timeout = ">=4.0.0"
attrs = ">=21.2.0"
backoff = ">=1.11.1"
python-dateutil = ">=2.8.2"
ruyaml = ">=0.91.0"
python = "^3.9.0"
voluptuous = ">=0.13.1"
websockets = ">=8.1,<12.0"

Donc techniquement on est déjà correct à moins qu'il y ait quelque chose de corrompu quelque part?

https://github.com/dvd-dev/python-hilo/blob/a36865b76456a55f219924f4e7ac33829b6845d5/pyproject.toml#L65-L75

from hilo.

zadori avatar zadori commented on June 3, 2024

C'est ce que je viens de voir aussi. Par contre, je viens d'essayer sur un clean linux et encore une fois la python-hilo downloaded par pip install python-hilo a le même dep tree qui est <11 🤔

from hilo.

zadori avatar zadori commented on June 3, 2024

Je viens d'essayer sur mon ordi et en regardant le pipdeptree de python-hilo 2.4.3 j'ai ceci image Le required est <11.0 ce qui va l'empêcher d'install le 11.0.1 requis par aioambient.
Je suis pt dans le champ, je suis pas tant habitué avec pip vu que je suis un developpeur firmware sweat_smile

Par contre on a ça dans le .toml de python hilo:

[tool.poetry.dependencies]
aiohttp = ">=3.8.0"
aiosignal = ">=1.2.0"
async-timeout = ">=4.0.0"
attrs = ">=21.2.0"
backoff = ">=1.11.1"
python-dateutil = ">=2.8.2"
ruyaml = ">=0.91.0"
python = "^3.9.0"
voluptuous = ">=0.13.1"
websockets = ">=8.1,<12.0"

Donc techniquement on est déjà correct à moins qu'il y ait quelque chose de corrompu quelque part?

https://github.com/dvd-dev/python-hilo/blob/a36865b76456a55f219924f4e7ac33829b6845d5/pyproject.toml#L65-L75

https://pypi.org/project/python-hilo/#files lorsque tu download le .tar.gz sur pip et tu regarde le .toml il ne concorde pas avec celui sur le git!

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Je viens d'essayer sur mon ordi et en regardant le pipdeptree de python-hilo 2.4.3 j'ai ceci image Le required est <11.0 ce qui va l'empêcher d'install le 11.0.1 requis par aioambient.
Je suis pt dans le champ, je suis pas tant habitué avec pip vu que je suis un developpeur firmware sweat_smile

Par contre on a ça dans le .toml de python hilo:

[tool.poetry.dependencies]
aiohttp = ">=3.8.0"
aiosignal = ">=1.2.0"
async-timeout = ">=4.0.0"
attrs = ">=21.2.0"
backoff = ">=1.11.1"
python-dateutil = ">=2.8.2"
ruyaml = ">=0.91.0"
python = "^3.9.0"
voluptuous = ">=0.13.1"
websockets = ">=8.1,<12.0"

Donc techniquement on est déjà correct à moins qu'il y ait quelque chose de corrompu quelque part?
https://github.com/dvd-dev/python-hilo/blob/a36865b76456a55f219924f4e7ac33829b6845d5/pyproject.toml#L65-L75

https://pypi.org/project/python-hilo/#files lorsque tu download le .tar.gz sur pip et tu regarde le .toml il ne concorde pas avec celui sur le git!

Nice catch. Je suis pas dev pour 2 cennes vous m’en faites apprendre à tous les jours

Je reste loin du Python normalement 😅 Je connais 0 pip et I guess que c'est @valleedelisle qui doit update le package sur pypi

Ça enlève les chialage sur websocket dans le log mais je suis pas sûr que le problème source du issue vient de là, malheureusement.

Peut-être en élargissant la dependency de pip dans pyhilo?

from hilo.

valleedelisle avatar valleedelisle commented on June 3, 2024

Je viens de pousser une nouvelle release, en esperant que ca regle le probleme:

https://github.com/dvd-dev/hilo/releases/tag/v2023.4.4

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Je viens de pousser une nouvelle release, en esperant que ca regle le probleme:

https://github.com/dvd-dev/hilo/releases/tag/v2023.4.4

Je t'essaye ça live.

from hilo.

zadori avatar zadori commented on June 3, 2024

Ca fonctionne!
image
Je vois que le pip file a maintenant <12 pour websockets aussi.

from hilo.

Fox350 avatar Fox350 commented on June 3, 2024

Bravo tout le monde!

from hilo.

FrancoLoco avatar FrancoLoco commented on June 3, 2024

Booyah!!! Merci!!

from hilo.

skimaniac avatar skimaniac commented on June 3, 2024

Cool, tout marche!!!
Merci 🤙🏻

from hilo.

ic-dev21 avatar ic-dev21 commented on June 3, 2024

Merci @valleedelisle

from hilo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.