-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed as not planned
Labels
status/duplicateDuplicate issuesDuplicate issues
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: Docker container Ubuntu 18.04
- Poetry version: 1.1.11
- Link of a Gist with the contents of your pyproject.toml file:
Issue
We have a pyproject.toml with deps towards local non-poetry python project, declared in subfolder.
local_package = {path = "./subfolder/local_package", develop = true}
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 error
File "/poetry_cache/virtualenvs/hawk-AVX97199-py3.6/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3103, in __init__
raise RequirementParseError(str(e))
pip._vendor.pkg_resources.RequirementParseError: Invalid URL: subfolder/local_package
I tried the poetry export function (worked fine), and noticed the local deps are written as vaedataset @ 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 ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status/duplicateDuplicate issuesDuplicate issues