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

Possibility to change the default CONAN_SYSREQUIRES_MODE for SystemPackageTool #6677

Merged
merged 7 commits into from Mar 19, 2020

Conversation

czoido
Copy link
Contributor

@czoido czoido commented Mar 13, 2020

Changelog: Feature: Modify the default behaviour in SystemPackageTool to be able to create a recipe that does not install system requirements by default if the CONAN_SYSREQUIRES_MODE is not set.
Docs: conan-io/docs#1613

The purpose of this feature is to have the option to add a recipe for example to c3i where this variable should be set to enabled but if someone is requiring this dependency not forcing to install the system requirements if the CONAN_SYSREQUIRES_MODE environment variable is not set.

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.

@czoido czoido added this to the 1.24 milestone Mar 13, 2020
@memsharded memsharded self-assigned this Mar 16, 2020
conans/client/tools/system_pm.py Outdated Show resolved Hide resolved
conans/client/tools/system_pm.py Outdated Show resolved Hide resolved
@memsharded memsharded merged commit f35c0c2 into conan-io:develop Mar 19, 2020
@memsharded
Copy link
Member

Please do the PR to the docs.

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.

None yet

3 participants