Skip to content

Possibility to change the default CONAN_SYSREQUIRES_MODE for SystemPackageTool - #6677

Merged
memsharded merged 7 commits into
conan-io:developfrom
czoido:feature/sys_requires_default_mode
Mar 19, 2020
Merged

memsharded merged 7 commits into
conan-io:developfrom
czoido:feature/sys_requires_default_mode

Conversation

@czoido

@czoido czoido commented Mar 13, 2020

Copy link
Copy Markdown
Contributor

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
@czoido
czoido requested review from danimtb and memsharded March 16, 2020 10:41
Comment thread conans/client/tools/system_pm.py Outdated
Comment thread conans/client/tools/system_pm.py Outdated
Comment thread conans/client/tools/system_pm.py
@memsharded
memsharded merged commit f35c0c2 into conan-io:develop Mar 19, 2020
@memsharded

Copy link
Copy Markdown
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.

3 participants