-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
String install_requires fails in parsing #511
Comments
|
Out of curiosity, is there a reason why you're using a multiline string here? Generally, the expected usage is a list of strings. My guess is that the code is doing a for-each over the string (as it might expect to loop over a list), and failing once it tries to evaluate |
Well, in part because setuptools allows it; if you think about it, it's not
far from a requirements.txt idiom.
On Mon, May 22, 2017 at 6:15 PM Ryan P Kilby ***@***.***> wrote:
Out of curiosity, is there a reason why you're using a multiline string
here? Generally, the expected usage is a list of strings.
My guess is that the code is doing a for-each over the string, and failing
once it tries to evaluate '>'.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#511 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AALFvfmleSDoYB_9ocZMdaT71FDTqDSqks5r8jNBgaJpZM4NhJXt>
.
--
--
Chris R
offby1 on Twitter, offbyone on github
Not to be taken literally, internally, or seriously
|
Tried to reproduce, here's a minimal reproduction case: setup.py:
Then, run pip-compile, which will parse the setup.py:
Note: This only happens if parsing the setup.py directly.
then it works. |
I'll close it because the bug seems fixed in setuptools and couldn't reproduce since |
My setup.py defines
install_requires
thusly:This is valid from setuptools' POV; it installs fine. However, when I run pip-compile in this directory I get a massive stack trace blowup:
The text was updated successfully, but these errors were encountered: