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

Change the default check=False in conan.tools.system.package_manager.Apt to True #14728

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

czoido
Copy link
Contributor

@czoido czoido commented Sep 13, 2023

Changelog: Bugfix: Change the default check=False in conan.tools.system.package_manager.Apt to True as the other package manager tools.
Docs: conan-io/docs#3380

Closes: #14708

This PR is just to discuss the idea of changing the default in Apt for check, after the issue in #14708

I can't find any historical reasons for that change in the default, so it can probably be considered a bug. Apparently, the risk of breaking users who relied on the bug wouldn't be significant, as all existing uses of these tools in the Conan Center Index set the 'check' argument to 'True' explicitly.

@czoido czoido added this to the 2.0.11 milestone Sep 13, 2023
@memsharded memsharded merged commit 3430ad5 into conan-io:release/2.0 Sep 14, 2023
NoWiseMan pushed a commit to NoWiseMan/conan that referenced this pull request Sep 19, 2023
…Apt to True (conan-io#14728)

* check if we can change default

* fix arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[question] Apt.install() check kwarg has different default than _SystemPackageManagerTool
2 participants