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
Resources not found when nested in zip file #105
Comments
In GitLab by @jaraco on Jun 29, 2020, 12:34 mentioned in commit c970b2d331ac0282aeac49e8ce9f28d3b530bb81 |
In GitLab by @jaraco on Jun 29, 2020, 12:44 In 9403a94, I've created a unit test to capture the expectation. It fails only one test for Since the files API is not implicated, I'm going to recommend focusing our energy instead on migrating the legacy API to leverage the files API, such as in #80. |
Since the files API supports this, I'm not going to invest any additional energy on it. |
In GitLab by @jaraco on Jun 29, 2020, 12:30
In certifi/python-certifi#131, the user reports that creating a zipfile where the packages are in a subdirectory of the zipfile (e.g.
site-packages/pkg
), the resources fail to be found withFileNotFoundError('pkg/resource')
. It seems that although Python supports paths likelocal/file.zip/site-packages
onsys.path
, importlib-resources does not when using the legacy API. When using thefiles
API, those paths are supported.The text was updated successfully, but these errors were encountered: