You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packaging.requirements.InvalidRequirement: Expected package name at the start of dependency specifier
<5
It seems that it is treating the requires content as a comma delimited list. If instead I use:
[tox]
requires =
tox>=4.6.4,<5
tox>=4.6.4,<5
tox runs normally because now it is treating the entry as a newline delimited list and not interpreting the commas. Is there a way to make a one item list with a comma in it without having the comma interpreted?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In tox.ini, if I put the following:
I get a parsing error:
It seems that it is treating the
requires
content as a comma delimited list. If instead I use:tox runs normally because now it is treating the entry as a newline delimited list and not interpreting the commas. Is there a way to make a one item list with a comma in it without having the comma interpreted?
Beta Was this translation helpful? Give feedback.
All reactions