-
Notifications
You must be signed in to change notification settings - Fork 365
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
glob("*") still not returning any matches with ZipFileSystem #1448
Comments
Is the test case added in the PR not essentially the same? |
The different ways used to create the zip file appear to be the culprit. When I use the zip commandline tool to create the file, it not only lists the file, but also has an entry for the directory itself. Contents of zipfile created in the testcase (written to disk instead of memory):
Contents of zipfile created with the
The presence of the extra entry for the directory causes the glob function to fail. |
Thats for digging, that's good information. I'm not sure when I'll have a moment to work on this point again (unless you have plans). |
No worries, come back to it when you have the time. I'll just stick with 2023.10.0 for now. |
Python ZipFile only added mkdir() in 3.11 https://docs.python.org/3/library/zipfile.html#zipfile.ZipFile.mkdir :( |
PR #1445 did not fix the problem described in #1443.
The testcase provided in #1443 still does not return any matches with 2023.12.1:
The text was updated successfully, but these errors were encountered: