You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to call the uproot.extras.awkward() function from uproot 4.3.7 with an up-to-date version of setuptools (>=71) I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/nfs/dust/cms/user/stafford/tmp/uproot_tests/lib/python3.9/site-packages/uproot/extras.py", line 36, in awkward
if parse_version("1") < parse_version(awkward.__version__) < parse_version("2"):
File "/nfs/dust/cms/user/stafford/tmp/uproot_tests/lib/python3.9/site-packages/uproot/_util.py", line 99, in parse_version
return setuptools.extern.packaging.version.parse(version)
AttributeError: module 'setuptools' has no attribute 'extern'
It seems the setuptools.extern module has been dropped. I don't get this error with uproot 5.3.10, however we're currently running a medium-sized framework based on coffea 0.7, and haven't managed to make the jump to coffea 2024/dask awkward. Would it be possible to have a new uproot 4.3 release fixing this bug, please?
The text was updated successfully, but these errors were encountered:
I asked @jpivarski over slack about pinning setuptools<71 for a new uproot release. He indicated that it would be significant work to deploy a new release for this and asked if coffea users could just pin it themselves.
I'm going to leave this open so that others with the same problem can find it. If self-pinning is a significant issue, then I'll see about making a new Uproot 4.x release.
When attempting to call the
uproot.extras.awkward()
function from uproot 4.3.7 with an up-to-date version of setuptools (>=71) I get the following error:It seems the
setuptools.extern
module has been dropped. I don't get this error with uproot 5.3.10, however we're currently running a medium-sized framework based on coffea 0.7, and haven't managed to make the jump to coffea 2024/dask awkward. Would it be possible to have a new uproot 4.3 release fixing this bug, please?The text was updated successfully, but these errors were encountered: