-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Add missing importlib.util import #278
base: main
Are you sure you want to change the base?
fix: Add missing importlib.util import #278
Conversation
603640b
to
64c4766
Compare
@jackaraz this is ready for review. |
Hi @ matthewfeickert. This is actually already included in the upcoming release. Cheers, Benj |
@BFuks How so? This isn't on any of the [non-stale] branches. Do you not do open development? |
This is part of [ma5_restframes](https://github.com/MadAnalysis/madanalysis5/blob/ma5_restframes/bin/ma5), that is the next branch to be merged.
Cheers,
Benj
… On 3 Dec 2024, at 20:05, Matthew Feickert ***@***.***> wrote:
This is actually already included in the upcoming release.
@BFuks <https://github.com/BFuks> How so? This isn't on any of the branches. Do you not do open development?
—
Reply to this email directly, view it on GitHub <#278 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJZFVAOVUXCGJ3QWDAD2DX6HJAVCNFSM6AAAAABS6L6RWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVGM3DGNZYGY>.
You are receiving this because you were mentioned.
|
* Without first importing importlib.util an AttributeError will be raised ``` Traceback (most recent call last): File "/madanalysis5/./bin/ma5", line 51, in <module> if not importlib.util.find_spec("six"): ^^^^^^^^^^^^^^ AttributeError: module 'importlib' has no attribute 'util' ```
64c4766
to
e42a7fd
Compare
Thanks @BFuks. Sorry I was only checking the branches that GitHub labels "active" (https://github.com/MadAnalysis/madanalysis5/branches/active) so I didn't see c9d1de8 as there is no associated PR for its branch. Is there a projected timeline for a I'm also not sure if you'd be open to getting a removal of |
We are currently finalising it, with a paper planned within the next 2-3 months. I still need to implement a couple of functionalities (mostly automatic download from hepdata for some recast codes) and we are ready to go. In fact you are correct, let's get rid of six entirely. I will add that in the next commit! Thanks! |
Resolves #237
Context:
importlib.util
anAttributeError
will be raisedReproducer
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues: