Since today, 2024-06-21, pip 24.1 is out and so jeedom core will upgrade pip to this version in case of new dependencies installation.
The problem with pip version 24.1 is that packages with non-standard version format are not supported anymore.
On Debian 11, the package gpg, installed via "python3-gpg" has the version '1.14.0-unknown' and so doing a pip list --format=json crashs with the consequence that the core consider that no pip3 packages are installed so considering that all dependencies are unmet.
There is no other version available for package gpg.
I see following possible actions:
do nothing and hope that a new version of pip will be released to fix issue with pip list
uninstall package python3-gpg and take the risk to break something else
block version of pip to 24.0 and hope that it will not cause any trouble in the futur
adapt dependencies check done by the core as a workaround <= this is what this PR does.
Suggested changelog entry
Patch sur la vérification des dépendances sous Debian11 et pip 24.1
Types of changes
[X] Bug fix (non-breaking change which fixes)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change is only breaking for integrators, not for external standards or end-users.
[ ] Documentation improvement
PR checklist
[X] I have checked there is no other PR open for the same change.
Description
Since today, 2024-06-21, pip 24.1 is out and so jeedom core will upgrade pip to this version in case of new dependencies installation. The problem with pip version 24.1 is that packages with non-standard version format are not supported anymore. On Debian 11, the package gpg, installed via "python3-gpg" has the version '1.14.0-unknown' and so doing a
pip list --format=json
crashs with the consequence that the core consider that no pip3 packages are installed so considering that all dependencies are unmet. There is no other version available for package gpg.I see following possible actions:
Suggested changelog entry
Types of changes
PR checklist