Uh oh!
There was an error while loading. Please reload this page.
Fix structured arrays that contain objects #806 - #813
Conversation
* Ensures that the fill value of structured arrays that contain objects is encoded using object_codec.
joshmoore
commented
Aug 20, 2021
abergou
commented
Aug 20, 2021
Sure! Thanks! will take a look tomorrow morning hopefully that's quick enough. |
joshmoore
commented
Aug 21, 2021
Definitely! Cheers. |
abergou
commented
Aug 21, 2021
Thanks @joshmoore! Indeed this pull request is a more complete version of #702 . The latter fixes part of the problem, but the fill_value still needs to be encoded by the object_codec to fix the issue for structured arrays. |
Don't specify protocol: makes unit tests pass in python3.7 N5 doesn't support object codecs
abergou
commented
Aug 21, 2021
The last patch fixes up some failing unit tests; the remaining unit test failures are not due to this patch. They also appear against the master branch. |
joshmoore
commented
Aug 23, 2021
Failures were due to fsspec/s3fs#513 ; ready for retesting with #812 merged. |
Codecov Report
@@ Coverage Diff @@## master #813 +/- ##
=======================================
Coverage 99.94% 99.94% =======================================
Files 31 31 Lines 10609 10680 +71 =======================================
+ Hits 10603 10674 +71
Misses 6 6
|
abergou
commented
Aug 23, 2021
@joshmoore there is a linting error that is due to this pr; it's purely cosmetic though (i.e. it's an error condition that will not show up unless encode_fill_value/decode_fill_value are called directly), but I'll quickly get together a fix. |
Explicitly handle an error condition that can only happen if encode_fill_value or decode_fill_value are directly called.
joshmoore
commented
Aug 25, 2021
Pushed an attempted codecov fix. Feel free to adapt. |
abergou
commented
Aug 25, 2021
Thanks @joshmoore your changes look good. I'm confused about the linting reported by the test suite above: |
joshmoore
commented
Aug 25, 2021
Pushed a suggested fix. (Really need to turn on pre-commit for this repo.) |
joshmoore
commented
Aug 25, 2021
Green! Is there anyone familiar with object codec'ing that would like to take a look at this? |
With thanks to @ombschervister
joshmoore
commented
Aug 26, 2021
abergou
commented
Aug 26, 2021
All green! Thanks @joshmoore! Do you know when this might be merged? |
joshmoore
commented
Aug 27, 2021
Bumped the release notes to point to the (imminent!) 2.9.4. Any last thoughts from the community? |
joshmoore
commented
Aug 30, 2021
Didn't receive any objections over the weekend. Releasing. |
is encoded using object_codec.
TODO: