[08:26:36] <StevenK> lifeless: Hi. I'm having more problems with pyparsing WRT parsing out versions, do you have time to look?
[08:29:08] <lifeless> StevenK: I can help; I'm in a social context right now, so expect a little latency as we do it.
[08:30:47] <StevenK> lifeless: Starting with packaging 16.3, it will parse both PEP 440 compliant specifiers and legacy ones. However, it no longer accepts "name (==4)" as a valid requirement.
[08:31:24] <StevenK> lifeless: Based on my playing around, I can get the grammar to either parse the above requirement, or requirements involving legacy versions, but not both.
[09:05:52] <lifeless> basically we need to poke at that regex to make sure its not ambiguous
[09:06:25] <lifeless> brain fail for me right now, but have a look up the layers looking for other things that the rest of the grammar would loook for that aren't allowed in pep-440, and make sure they are also excluded
[09:06:30] <StevenK> VERSION_ONE = VERSION_PEP440 | VERSION_LEGACY doesn't actually deal, which is sad.
[09:07:09] <StevenK> VERSION_ONE = VERSION_PEP440 ^ VERSION_LEGACY *does*, but that works by computing them both and picking whichever one matched more characters.
[09:07:30] <StevenK> And choosing the left one, in the case that they both matched the same
[09:08:59] <StevenK> With VERSION_PEP440 | VERSION_LEGACY, 2 test failures, output of one is InvalidRequirement: Invalid requirement, parse error at "'.org1'"
[09:10:45] <lifeless> so that says to me that VERSION_PEP440 parsed up to the .org1 successfully
[17:38:54] <rZ_> hi all, i have two PRs open for pip and they haven't had any comments for a few weeks, travis passes on both, what's up with them? https://github.com/pypa/pip/pull/3411 https://github.com/pypa/pip/pull/3357
[20:32:20] <dstufft> I was just suggesitng why | would be MatchFirst instead of Or
[21:47:26] <njs> I think I have a patch for https://github.com/pypa/pip/issues/3486 -- any pip developers able to help me figure out how to write a test?