Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to skip management of python dev package #669

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

smortex
Copy link
Member

@smortex smortex commented Sep 15, 2023

Just like we can skip managing the pip and venv packages, allow to opt-out of managing the dev package.

Enforcing a state of these packages sometimes cause trouble if the user of the module does not care about them but they get installed as another package dependency (e.g. syslog-ng-mod-python depends on python-venv, by default python-venv is ensured absent, so on each run Puppet wants to install syslog-ng-mod-python (which install python-venv as a dependency) or remove python-venv (which remove syslog-ng-mod-python as a dependency)). This can be avoided using the corresponding manage_XXX_package paramater, but manage_dev_package was missing.

This is part 1/3 of #668

Just like we can skip managing the pip and venv packages, allow to
opt-out of managing the dev package.

Enforcing a state of these packages sometimes cause trouble if the user
of the module does not care about them but they get installed as another
package dependency (e.g. syslog-ng-mod-python depends on python-venv, by
default python-venv is ensured absent, so on each run Puppet wants to
install syslog-ng-mod-python (which install python-venv as a dependency)
or remove python-venv (which remove syslog-ng-mod-python as a
dependency)).  This can be avoided using the corresponding
`manage_XXX_package` paramater, but `manage_dev_package` was missing.
@kenyon kenyon added the enhancement New feature or request label Sep 15, 2023
@bastelfreak bastelfreak merged commit 4a4c467 into master Nov 27, 2023
17 checks passed
@bastelfreak bastelfreak deleted the rework-package-management branch November 27, 2023 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants