-
Notifications
You must be signed in to change notification settings - Fork 129
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
build: uproot 5.2.0 integration testing #930
Conversation
for more information, see https://pre-commit.ci
@lobis FYI - looks like things are OK here |
Glad to hear! I see you are manually specifing the fsspec handler, which is okay. However this will be the default behaviour from 5.2.0 on so I'm not sure if it's worth it. For instance (I think) explicitly specifying the handler as it's done here would cause it to break when trying to open file-like objects since this is the only case that cannot be handled by fsspec. The logic automatically selecting the appropiate file handler wouldn't be triggered. Perhaps it would make sense to just update the uproot version to the latest pre-release (currently 5.2.0rc1). I guess in this case you wouldn't be able to merge into main since this would involve generating a new release but atleast it would test the CI (in the pre-release there are other fsspec related tests that would be nice to test). |
@lobis that makes sense. I'll just leave this PR open so we can try different RCs as they come out, and make sure everything's good over here before you cut the full release. |
This uproot rc appears to break one of the nanoevents schemas (physlite): Is this to be expected? |
@jpivarski adding you here since something funny happened. |
Swapping out the low-level Source (how to supply bytes for later interpretation) shouldn't lead to an error like
which has something to do with the interpretation. Oddly enough, this is the data structure that Seth and I were working on with AwkwardForth last week, but that couldn't be relevant because it's in a draft PR. Also, AwkwardForth would only come up if this branch were not split. The error message above is saying that they're split in this file. I'm also surprised by the text of the error message: it's saying that a branch containing no data, but with subbranches that do contain data, should not be read directly. What happens in plain Uproot if you attempt to do that is that Uproot reads all of the subbranches and puts them together in an Awkward RecordArray, NumPy dict, or Pandas DataFrame, depending on But how could something have changed? That part doesn't make sense. @lobis, is this something that you can reproduce if you run Coffea's tests, toggling between Uproot's |
Update: This turned out to be a bug in uproot itself. It is now fixed and the pre-release version |
Co-authored-by: Luis Antonio Obis Aparicio <35803280+lobis@users.noreply.github.com>
@lobis weird typing errors in uproot:
|
Yeah this is on me, I forgot to rebase the Anyway I fixed it and rewrote history to keep it clean. Sorry @jpivarski but looks like you'll have to publish another pre-release from |
@lobis looks good now, thank you! Let me know when new RCs come out for uproot and I'll bump the version in this integration branch. |
I'll make commit suggestions and tag you if any further pre-releases are published! |
closing this since it's now in #949 as a re-pin to release candidates. |
No description provided.