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

interpreter: Fix dependency(..., modules: x) fallback #13122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oleavr
Copy link
Contributor

@oleavr oleavr commented Apr 21, 2024

Where the subproject got registered without modules, but is later looked up with modules specified.

We cannot do the filtering in get_dep_identifier(), as the list of modules matters in case of external dependencies.

Where the subproject got registered without modules, but is later looked
up with modules specified.

We cannot do the filtering in get_dep_identifier(), as the list of
modules matters in case of external dependencies.
@oleavr oleavr requested a review from jpakkane as a code owner April 21, 2024 21:14
@eli-schwartz
Copy link
Member

How does a subproject fallback with modules generally check the modules?

@oleavr
Copy link
Contributor Author

oleavr commented Apr 21, 2024

How does a subproject fallback with modules generally check the modules?

That's the part that had me stumped, so I went with assuming that a subproject fallback can satisfy all of them. That's a lie though -- the options could in theory disable features that impact the list of available modules.

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

2 participants