Skip to content

Conversation

@ellert
Copy link
Contributor

@ellert ellert commented Dec 18, 2025

This Pull request:

Changes or fixes:

The binary python modules were moved one directory level down into the ROOT and cppyy directories, so that they reside alongside the python files in the same directories. The install rule for the python files must therefore be extended to exclude the binary modules (PATTERN *.so EXCLUDE) so that these are not installed a second time overwriting the files installed by the install rule for the binary modules with another copy with the wrong file permissions.

Also use the no-version option for the cppyy binary module as is already done for the pythonization binary module, since it is now installed in the python directory. Before it was installed in the library directory with an unversioned symlink in the python directory.

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

The binary python modules were moved one directory level down into the
ROOT and cppyy directories, so that they reside alongside the python
files in the same directories. The install rule for the python files
must therefore be extended to exclude the binary modules (PATTERN *.so
EXCLUDE) so that these are not installed a second time overwriting the
files installed by the install rule for the binary modules with another
copy with the wrong file permissions.

Also use the no-version option for the cppyy binary module as is
already done for the pythonization binary module, since it is now
installed in the python directory. Before it was installed in the
library directory with an unversioned symlink in the python directory.
@ellert ellert requested a review from bellenot as a code owner December 18, 2025 10:51
@bellenot bellenot self-assigned this Dec 18, 2025
Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

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

Thank you, very nice!

@vepadulano vepadulano added the build-python-wheels Run the workflow to build Python wheels label Dec 18, 2025
@github-actions
Copy link

Test Results

    21 files      21 suites   3d 19h 25m 46s ⏱️
 3 790 tests  3 790 ✅ 0 💤 0 ❌
77 749 runs  77 749 ✅ 0 💤 0 ❌

Results for commit f09b4ce.

@guitargeek guitargeek merged commit 5b09965 into root-project:master Dec 18, 2025
49 of 50 checks passed
@ellert ellert deleted the dont-install-python-modules-twice branch December 18, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build-python-wheels Run the workflow to build Python wheels in:Python Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants