chickenandpork / osbee

Utilities for OSBee-3.0 device from OpenSprinkler
MIT License
0 stars 0 forks source link

Unable to install package osbee>0.2.0 #20

Open chickenandpork opened 1 month ago

chickenandpork commented 1 month ago

As noted in chickenandpork/hass-osbee#9 the dependency resolution for osbee>0.2.0 fails, but there's no harvestable details as to why. Blocks install on hass-osbee > 1.1

chickenandpork commented 1 month ago

The log message collected from HomeAssistant doesn't show the actual error. The recommended repro is helpful:

  1. Terminal
  2. docker exec -it home assistant /bin/bash
  3. /usr/local/bin/python3 -m pip install 'osbee>0.2.0' --constraint /usr/src/homeassistant/homeassistant/package_constraints.txt

The error is that package_constraints.txt has typing==1000000000.0.0 meaning it's impossible to install any other version and be compatible. Looking further, this is their way of blocking any dependency ontyping but they don't indicate what to use instead. They've got from typing include ... in their code, so they're getting it from somewhere. Likely installed on their base image and silently assumed to be present thereafter.