Add support for capturing strings from factor variants (eg versions of deps) #333
Labels
area:configuration
feature:new
something does not exist yet, but should
level:hard
rought estimate that this might be quite hard to implement
needs:discussion
It's not quite clear if and how this should be done
For projects that use tox to test against multiple versions of deps, it's common to see this type of version repetition in
deps
:It would be great if instead the version component of the factor could be captured (almost regex group style) and re-used as part of the pip install command. ie:
Where
{0}
denotes the first group matched on the left (though I'm fine with just allowing only one match per line if that's easier).This would also require supporting periods in the envlist strings, since tox currently strips out the non-alphanumeric characters (in the example above,
tox -l
listspy26-pip062
rather than the expectedpy26-pip0.6.2
).Apologies if this is filed already (or in fact possible with the current syntax), I've read the docs and search the tracker, but it's hard to know what search terms to use.
The text was updated successfully, but these errors were encountered: