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

Fix transitive python requires #8604

Merged
merged 4 commits into from Mar 16, 2021
Merged

Conversation

danimtb
Copy link
Member

@danimtb danimtb commented Mar 4, 2021

Changelog: Bugfix: Fix: Transitive python requires not working with the new syntax.
Docs: omit

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.

@@ -54,7 +54,12 @@ def __getitem__(self, item):
try:
return self._pyrequires[item]
except KeyError:
raise ConanException("'%s' is not a python_require" % item)
# https://github.com/conan-io/conan/issues/8546
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like this class could get a refactor, but lets wait until moving this forward first, if we think it is correct.

@memsharded memsharded added this to the 1.35 milestone Mar 4, 2021
@danimtb danimtb changed the title test transitive python requires Fix transitive python requires Mar 8, 2021
@danimtb danimtb requested a review from memsharded March 8, 2021 09:41
@czoido czoido merged commit 12fdc0b into conan-io:develop Mar 16, 2021
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] Unclear how to use transitive python_requires
3 participants