Skip to content

Use PYPI_SOURCE as the default for source_urls of extensions of Python easyconfigs#2493

Merged
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:python-default-source-urls
Jun 28, 2021
Merged

Use PYPI_SOURCE as the default for source_urls of extensions of Python easyconfigs#2493
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:python-default-source-urls

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Jun 28, 2021

This is to simplify Python ECs a bit and does basically the same as the PythonPackage itself does.
See easybuilders/easybuild-easyconfigs#13253

Why this didn't work before is because the PythonPackage (likely) gets the source_urls from the parent EC (in this case Python) and hence doesn't use the new default

This fixes this by defaulting the source-urls to PYPI_SOURCE

@boegel boegel added this to the next release (4.4.1) milestone Jun 28, 2021
@boegel boegel changed the title Use PYPI_SOURCE as the default for source_urls of extensions of Python ECs Use PYPI_SOURCE as the default for source_urls of extensions of Python easyconfigs Jun 28, 2021
Copy link
Copy Markdown
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.

lgtm

@boegel
Copy link
Copy Markdown
Member

boegel commented Jun 28, 2021

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS Python-3.9.5-GCCcore-10.3.0.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
node3615.doduo.os - Linux RHEL 8.2, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.6.8
See https://gist.github.com/20831b1c8563d85619b2373f3a21840f for a full test report.

edit: tested with eb --fetch and alternate source path after removing 'source_urls': [PYPI_SOURCE] from exts_default_options

@boegel boegel merged commit 6f8199d into easybuilders:develop Jun 28, 2021
@Flamefire Flamefire deleted the python-default-source-urls branch June 28, 2021 14:37
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