Chouffy/home_assistant_tgtg

Doesn't work anymore in 2022.2.3.0b1

Closed this issue · 5 comments

Log:

INFO:homeassistant.util.package:Attempting install of tgtg>=0.11.0
ERROR:homeassistant.util.package:Unable to install package tgtg>=0.11.0: warning: missing-index-doctype
× The package index page being used does not have a proper HTML doctype declaration.
╰─> Problematic URL: https://wheels.home-assistant.io/alpine-3.14/amd64/
note: This is an issue with the page at the URL mentioned above.
hint: You might need to reach out to the owner of that package index, to get this fixed. See https://github.com/pypa/pip/issues/10825 for context.
ERROR: Cannot install tgtg==0.11.0 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
INFO:homeassistant.util.package:Attempting install of tgtg>=0.11.0
ERROR:homeassistant.util.package:Unable to install package tgtg>=0.11.0: warning: missing-index-doctype
× The package index page being used does not have a proper HTML doctype declaration.
╰─> Problematic URL: https://wheels.home-assistant.io/alpine-3.14/amd64/
note: This is an issue with the page at the URL mentioned above.
hint: You might need to reach out to the owner of that package index, to get this fixed. See https://github.com/pypa/pip/issues/10825 for context.
ERROR: Cannot install tgtg==0.11.0 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
INFO:homeassistant.util.package:Attempting install of tgtg>=0.11.0
ERROR:homeassistant.util.package:Unable to install package tgtg>=0.11.0: warning: missing-index-doctype
× The package index page being used does not have a proper HTML doctype declaration.
╰─> Problematic URL: https://wheels.home-assistant.io/alpine-3.14/amd64/
note: This is an issue with the page at the URL mentioned above.
hint: You might need to reach out to the owner of that package index, to get this fixed. See https://github.com/pypa/pip/issues/10825 for context.
ERROR: Cannot install tgtg==0.11.0 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
Failed config
  General Errors: 
    - Platform error sensor.tgtg - Requirements for tgtg not found: ['tgtg>=0.11.0'].

Seems to be related, (and I quote, because it doesn't mean a lot lot to me) to hard pin on requests here: https://github.com/ahivert/tgtg-python/blob/master/pyproject.toml#L11

I have the same issue with beta version 3

Unable to install package tgtg>=0.11.0: ERROR: Cannot install tgtg==0.11.0 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

So probably this integration will break when the official HA release will come on coming Wednesday

Same problem here.

Hi everyone, thanks for the report.
I can reproduce this issue, and will look now how it can be resolved

Hi all,
Indeed requests was the culprit, thanks @TheFes !
I've created a related ticket on the tgtg module - as soon as it'll be merged and published, I'll update the dependency of this module and problem will be solved!
Hopefully this will be done soon.

Please update to 4.0.1 which should fix this issue!