Skip to content

enhance PythonPackage easyblock to deal with posix_local installation scheme used by Python in recent Debian/Ubuntu versions#2977

Merged
jfgrimm merged 2 commits intoeasybuilders:developfrom
boegel:python_local
Aug 24, 2023
Merged

enhance PythonPackage easyblock to deal with posix_local installation scheme used by Python in recent Debian/Ubuntu versions#2977
jfgrimm merged 2 commits intoeasybuilders:developfrom
boegel:python_local

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Aug 4, 2023

fixes #2976

…on scheme used by Python in recent Debian/Ubuntu versions
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Aug 4, 2023

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS EasyBuild-4.8.0.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
node4012.donphan.os - Linux Ubuntu 22.04.1 LTS (Jammy Jellyfish), x86_64, Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (cascadelake), Python 3.10.6
See https://gist.github.com/boegel/0bbe4047ad6d144046c282740c93d802 for a full test report.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Aug 4, 2023

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS EasyBuild-4.8.0.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
vpnz200.ugent.be - Darwin UNKNOWN UNKNOWN, AArch64, Apple M1 (m1), Python 3.9.6
See https://gist.github.com/boegel/7dfc46cfb795d3e1d5ed413711b8f0ea for a full test report.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Aug 4, 2023

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS EasyBuild-4.8.0.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
node3106.skitty.os - Linux RHEL 8.6, x86_64, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (skylake_avx512), Python 3.6.8
See https://gist.github.com/boegel/a668b898634f0bbf5da4e0a032d86721 for a full test report.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Aug 4, 2023

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS Python-3.11.3-GCCcore-12.3.0.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
node4012.donphan.os - Linux Ubuntu 22.04.1 LTS (Jammy Jellyfish), x86_64, Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz (cascadelake), Python 3.10.6
See https://gist.github.com/boegel/a2fa138d863eb40989cb6e4cd4962cc5 for a full test report.

@boegel boegel added the bug fix label Aug 15, 2023
@boegel boegel requested a review from jfgrimm August 16, 2023 10:08
@boegel boegel removed the request for review from jfgrimm August 24, 2023 07:20
Comment thread easybuild/easyblocks/generic/pythonpackage.py Outdated
Comment thread easybuild/easyblocks/generic/pythonpackage.py Outdated
Copy link
Copy Markdown
Member

@jfgrimm jfgrimm left a comment

Choose a reason for hiding this comment

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

lgtm

@jfgrimm
Copy link
Copy Markdown
Member

jfgrimm commented Aug 24, 2023

Going in, thanks @boegel!

@jfgrimm jfgrimm merged commit 0d0c7e2 into easybuilders:develop Aug 24, 2023
@akesandgren
Copy link
Copy Markdown
Contributor

akesandgren commented Aug 24, 2023

Test report by @akesandgren

Overview of tested easyconfigs (in order)

Build succeeded for 0 out of 1 (1 easyconfigs in total)
skalman.hpc2n.umu.se - Linux Ubuntu 22.04, x86_64, Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, Python 3.10.12
See https://gist.github.com/akesandgren/4d628d11ff3fd6a1df0875b9adf60f4a for a full test report.

eb --install-latest-eb-release --prefix /scratch/ebtest4 --include-easyblocks-from-pr 2977 -u

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.

Python packages are being installed to local/lib/python*/dist-packages due to tweaks to sysconfig.py in OS (Ubuntu 22.04)

3 participants