Re: Update PEP 508 to allow version specifiers

Xavier Fernandez <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <CAA4OSDDXJ6V9Ygb7KMpyoBuXZoeU0=dtCfGUXPEngqRXVaUL+w@mail.gmail.com>
On Tue, Jan 29, 2019 at 3:58 PM Donald Stufft <[email protected]> wrote:

> A version specifier is something like “>=10”. It doesn’t make any sense to
> say “I depend explicitly on the version of foo that exists at this URL, and
> also that URL has to be >= 10”. You’re already telling us that you depend
> on that URL, the version specifier is completely nonsensical. But lifting
> the *version* (as opposed to a version specifier) that is expected to be at
> that URL into the dependency declaration is fine, it’s just baking more
> information into the specifier to make it easier to handle.
>

I agree that such specifier would make little sense but why add a new
syntax "foo-1 @ url" when "foo==1 @ url" (where ==1 is a version specifier
as defined in PEP 508) would perfectly fit the bill ?

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/4DUTIHELHNAG4U63MS2GE7ZLXPTTDIYX/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.