-
Notifications
You must be signed in to change notification settings - Fork 249
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
Relative import error related to the importlib_metadata/__init__.py file #844
Comments
Thanks for your report. Is there a reproducible case? |
Could you please provide the logs as well? |
@atos-ghassen-bchir Could you please provide the full logs? |
@arcivanov sorry for the delay. Unfortunately, I still have not found a simple case to reproduce. So far, it seems that the error appears in the following case:
Here are the full logs. I still have untangled this on my side. The only ways I found to get rid of that error are:
|
Have you tried removing the dependency? |
Unfortunately, the importlib_metadata dependency is an artifact of the virtualenv being integrated and vendored. Since importlib_metadata is now part of PyBuilder you no longer need to depend on it separately. This is quite a unique case. Could you share your |
You could import the |
After upgrading from v0.12.10 to v0.13.3, we noticed a new error:
`
File "/ws/.venv/lib/python3.8/site-packages/pybuilder/_vendor/importlib_metadata/init.py", line 6, in
from .. import zipp
ValueError: attempted relative import beyond top-level package
--------------------------------------------------------------------------------`
This importlib_metadata seems to have been added in v0.13.0
The text was updated successfully, but these errors were encountered: