voxpupuli / puppet-python

Puppet module for installing and managing Python, pip, virtualenvs and Gunicorn virtual hosts.
https://forge.puppetlabs.com/puppet/python
Apache License 2.0
200 stars 374 forks source link

simplify packages version detection #703

Closed maxadamo closed 1 month ago

maxadamo commented 1 month ago

Pull Request (PR) description

Simplify package version detection. The current implementation is too clever, as it tries to replace the logic built in the package manager. At the same time we may not be able to chase changes in the package manager and we better hand this task over to the package manager. In other words, if the version number is wrong, the package manager will detect it and fail and we do not need to fail upfront.

This Pull Request (PR) fixes the following issues

Use format: Fixes #617 Replaces #618