-
Notifications
You must be signed in to change notification settings - Fork 3
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
MRG: update zip crate to 2.0 #385
Conversation
Zip writing worked, but zip writing is not happening correctly. Decided to try simplifying now that we have manifest writing in sourmash core, and don't need to pass extra manifest info in separately.
...still not writing zips properly. Might be a file option issue? Same error after simplification: Checking zip outside of python (to avoid questions of sourmash compatibility):
Signatures look good upon viewing with
Manifest looks ok at first, then has some extra data that is not right. Also seems like a compression issue ...
|
Switchin Compression Method from "Stored" to "Deflated" allows us to
Still having the same error when looking at the zipfile with sourmash, though
I tried compiling with luiz's |
I can read the file just fine with python zipfile looking at manifest:
looking at a sigfile:
|
If i remove the large file requires zip64 support,
|
Ok, we're actually facing two separate issues here, only one of which is a real issue:
I've rolled back to |
ok @ctb ready for review |
quick question - will tests fail properly if the zip 2.1+ bug is introduced in a version upgrade? |
Yep- tests were failing with the bug. I set dependabot to ignore zip for now though. |
Required changes for zip crate:
FileOptions
to reflect altered structure in 2.xSimplifications: