Skip to content

Conversation

@andresailer
Copy link
Contributor

@andresailer andresailer commented Dec 4, 2025

BEGINRELEASENOTES

  • pyLCIO: make things compatible with ROOT 6.38

ENDRELEASENOTES

cf. root-project/root#20287

(I haven't really tested this)
PS: but the unit tests here hopefully cover this part somehow?

Copy link
Contributor

@tmadlener tmadlener left a comment

Choose a reason for hiding this comment

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

PS: but the unit tests here hopefully cover this part somehow?

I suppose this already fails at from pyLCIO import ... in case it fails? Or do we have to trigger this in a more specific way?

# Cope with API change with ROOT version >= 6.21
if ROOT.gROOT.GetVersionCode() >= (6<<16) + (21<<8) :
elif ROOT.gROOT.GetVersionCode() >= (6<<16) + (21<<8) :
from libcppyy import CPPOverload
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a comment here that this is removed with ROOT 6.36, so that we have a chance to remove this without having to do git archeology?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, I added a comment.

Copy link
Contributor

Choose a reason for hiding this comment

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

thanks :)

libcppyy was moved to a non-importable location in root 6.38
@tmadlener tmadlener enabled auto-merge (squash) December 16, 2025 12:31
@tmadlener tmadlener merged commit 47560ad into iLCSoft:master Dec 16, 2025
9 checks passed
@andresailer andresailer changed the title pyLCIO: adapt to changes in ROOT regarding licppyy pyLCIO: adapt to changes in ROOT regarding libppyy Dec 16, 2025
@andresailer andresailer changed the title pyLCIO: adapt to changes in ROOT regarding libppyy pyLCIO: adapt to changes in ROOT regarding libcppyy Dec 16, 2025
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.

2 participants