jeedom / core

Software for home automation
https://www.jeedom.com
GNU General Public License v2.0
383 stars 312 forks source link

patch usage of pip list if non-standard version format #2700

Closed Mips2648 closed 2 weeks ago

Mips2648 commented 2 weeks ago

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