Skip to content

Conversation

Flamefire
Copy link
Contributor

So just remove this code.

- The easyconfig parser doesn't allow this key
- The documentation doesn't mention it
- No useage in easyblocks or framework are found
- `finalpath` of all but the first source is `builddir`

So just remove this code.
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

Makes sense, since trying to use source key in patches entry leads to clear error:

For example with:

patches = [{'source': 0, 'name': 'test.patch'}]

we get:

ERROR: ... Wrong patch spec '{'source': 0, 'name': 'test.patch'}', use of unknown key source in dict (valid keys are ['name', 'copy', 'level', 'sourcepath', 'alt_location', 'opts'])

@boegel boegel added this to the next release (5.1.1?) milestone Jun 18, 2025
@boegel boegel merged commit 171de9b into easybuilders:develop Jun 18, 2025
37 checks passed
@Flamefire Flamefire deleted the patch-source-key branch June 18, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants