forked from python/peps
-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
I don't want to derail #44, so here's a way things I've noticed while looking at it:
- The spec doesn't really seem to say what we do with
version_operators. Perhaps including some versions in the command call examples would help. - It is said that "Empty strings can be used as a value if that particular operator is not supported." What should happen then? Makes me wonder if we should try to reduce the number of supported operators, since Python version syntax is quite baroque compared to other package managers, and this may lead to things like
=~being dropped while roughly equivalent>=,<would work. - I'm guessing this assumes infix operators. Gentoo uses prefix operators, i.e.
{op}{package}-{version}. Might be fixable by using templates rather than just operators. - Do we allow multiple version specifiers per package? Again, these might not be trivially mapped to other ecosystems. In Gentoo, you can only use one operator per package dependency. You can technically do ranges by specifying multiple dependency specifiers (and AND-ing result of multiple
querycommands), but this won't yield correct results when packages are slotted (i.e. permit multiple versions being installed simultaneously).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels