relative path includes with markers generate incorrect Requires-Dist in PKG-INFO #3872
Closed
3 tasks done
Labels
kind/bug
Something isn't working as expected
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 (
-vvv
option).OS version and name: ubuntu 20.04
Poetry version: 1.1.5
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/ossareh/2e4e4ec211536239f064511e04e802b1
Discord discussion (with myself!): https://discord.com/channels/487711540787675139/487711540787675143/827241500891021363
Issue
I have a case very similar to #2802 where I am installing a vendored wheel file and it the code that generates PKG-INFO is producing an invalid line.
results in pyproject's dependencies having:
and during a
tox
run the following error:Inside the bundle created by poetry I have:
According to the #2802 (linked above) I think there is meant to be a space prior to the ";". I have checked that the output of
poetry build
produces the samePKG-INFO
entries.I am about to submit a PR; I'm opening this issue for the context for that PR.
The text was updated successfully, but these errors were encountered: