You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package provider "pip" does not handle correctly the installation of python modules via network urls (e.g. "git+https://github.com/") on Ubuntu 22.04: this is because on newer pip versions the output of pip freeze --all (which is used by puppet to test if a python module is already installed) is generated in an unexpected format:
Describe the Bug
The
package
provider "pip" does not handle correctly the installation of python modules via network urls (e.g. "git+https://github.com/") on Ubuntu 22.04: this is because on newerpip
versions the output ofpip freeze --all
(which is used by puppet to test if a python module is already installed) is generated in an unexpected format:puppet/lib/puppet/provider/package/pip.rb
Lines 102 to 108 in f9bcd09
On Ubuntu 20.04 this issue does not happen:
Expected Behavior
puppet apply
should skip installing the python module when run a second time since it's already installedSteps to Reproduce
From an empty Docker container, image
ubuntu:22.04
:Environment
Additional Context
The package provider for "pip" should use
pip list --format=freeze
instead ofpip freeze --all
, when supported (sorry i don't know the exact version)The text was updated successfully, but these errors were encountered: