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
I can install a Python package with an arbitrary list of optional dependencies (extras) and it works just fine on a blank VM.
However, if I change the list of optional dependencies and run the agent again, the new dependencies are not installed.
We can see that some dependencies have been updated with more recent ones (e.g. msgpack and packaging, as the Agent hadn't run for a few days)… but more importantly, mysqlclient — required by the mysql extra dependency — is a new installed.
This means that the Agent hadn't installed it.
What behaviour did you expect instead
The agent should --force-reinstall the package if the list of extra dependencies changes — even if ensure => M.m.p hasn't changed.
Affected Puppet, Ruby, OS and module versions/distributions
d9c51a
.Problem
I can install a Python package with an arbitrary list of optional dependencies (
extras
) and it works just fine on a blank VM.However, if I change the list of optional dependencies and run the agent again, the new dependencies are not installed.
How to reproduce (e.g Puppet code you use)
mysqlclient>=2.1.0, <3
) required by the added'mysql'
extra dependency:What are you seeing
We can see that some dependencies have been updated with more recent ones (e.g.
msgpack
andpackaging
, as the Agent hadn't run for a few days)… but more importantly,mysqlclient
— required by themysql
extra dependency — is a new installed.This means that the Agent hadn't installed it.
What behaviour did you expect instead
The agent should
--force-reinstall
the package if the list of extra dependencies changes — even ifensure => M.m.p
hasn't changed.Any additional information you'd like to impart
In our real-life case,
apache-superset
has been installed via this part of our home-baked manifest.The text was updated successfully, but these errors were encountered: