Open lupino3 opened 1 year ago
Note: I can reproduce the issue in the following environments:
Note that currently the CI
GitHub action is failing because of this problem: https://github.com/hassio-addons/addon-prometheus/actions/workflows/ci.yaml.
It would be useful to run CI
on a daily or weekly basis to catch these conflicts as they crop up.
Problem/Motivation
Running
docker build
on the currentmain
branch generates the following errors:Trying to install the add-on also generates the same errors, since
docker build
is part of the installation process.The key part seems to be:
There is a Python version conflict.
Expected behavior
The docker container image should be built.
Actual behavior
The image is not built.
Steps to reproduce
Clone the repository and run
docker build
.Proposed changes
I got it to build by patching the Python version in the
Dockerfile
, and I'll send a PR with this change:Not sure if there is a systemic fix there: why do we have such a conflict here and how can it be avoided?