-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Local path in wheel metadata seems wrong #4709
Comments
Additional info : Finally, URI should be the same as in poetry export, full path : |
This is a definitive bug via:
In fact, if attempting to publish wheels to PyPI for others to use, the file:// url presented in |
duplicate #5273 (Per #5273 (comment) it should be an easy fix to use an absolute path. Though I still don't understand the use case for a wheel that points at a local path, it's not as though you can distribute that wheel and expect anyone else to be able install it) |
@dimbleby you absolutely can in a corporate environment with consistent network mounts via, say, NFS. So no PyPI involved here and folks can assume the mount. |
pull request is invited |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
We have a pyproject.toml with deps towards local non-poetry python project, declared in subfolder.
Everything is working fine (install, lockfile, and so on), except when creating a package.
I built the wheel using
poetry build
, and when trying to install the package with pip afterwards, I got an errorI tried the
poetry export
function (worked fine), and noticed the local deps are written asvaedataset @ file:///full/path/to/subfolder/local_package
I checked the inside of the wheel and it's written in the metadata
Requires-Dist: local_package @ subfolder/local_package
I think the error comes from here, shouldn't it be something similar, like an URI
file://./subfolder/local_package
or something like this ?The text was updated successfully, but these errors were encountered: