Skip to content

Conversation

@Flamefire
Copy link
Contributor

It does not make sense for extensions to inherit source(-likes), patches or checksums from the parent easyconfig.

Especially the sources won't be used anyway, so reset those to the defaults to avoid confusion.
self.src is set by using ext['src'] set by collect_exts_file_info possibly based on options['sources']

I found this while handling the case where crates for a Cargo extension were found which is an error: They would be unused.
However they were not set for the extension but in the parent easyconfig.

More general: Most easyconfig parameters should not be inherited for extensions.
Do we actually want to inherit any parameters at all? If so which? Should we just annotate those and reset or remove the rest?

It does not make sense for extensions to inherit source(-likes), patches
or checksums from the parent easyconfig.
Especially the `sources` won't be used anyway, so reset those to the
defaults to avoid confusion.
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.

1 participant