[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Steve Barnes
-Original Message- From: Chris Angelico Sent: 10 February 2020 18:16 To: python-ideas Subject: [Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires On Tue, Feb 11, 2020 at 5:00 AM Christopher Barker wrote: > > > there

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Chris Angelico
On Tue, Feb 11, 2020 at 5:00 AM Christopher Barker wrote: > > > there are many reasons to at least specify a minimum version > > Yes, but I think your proposal would encourage people to pin to the latest > version as a minimum, which would be unfortunate. > > I like the maxim: > “don’t pin a vers

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Soni L.
On 2020-02-10 2:59 p.m., Christopher Barker wrote: > there are many reasons to at least specify a minimum version Yes, but I think your proposal would encourage people to pin to the latest version as a minimum, which would be unfortunate. I like the maxim: “don’t pin a version unless you ha

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Christopher Barker
> there are many reasons to at least specify a minimum version Yes, but I think your proposal would encourage people to pin to the latest version as a minimum, which would be unfortunate. I like the maxim: “don’t pin a version unless you have a good reason, and you’ve thought about what version t

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Soni L.
On 2020-02-10 9:15 a.m., Soni L. wrote: [...] I think they mean that instead of e.g. https://pypi.org/project/six/ just showing `pip install six`, it should also show example install_requires values. E.g. `install_requires: ['six~=1.14.0']`. Or maybe a dropdown where you select the com

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Soni L.
On 2020-02-10 6:13 a.m., Cameron Simpson wrote: On 10Feb2020 18:26, Chris Angelico wrote: On Mon, Feb 10, 2020 at 6:09 PM Matthew Einhorn wrote: On Sun, Feb 9, 2020, 11:03 AM Paul Moore wrote: On Sun, 9 Feb 2020 at 14:39, Soni L. wrote: > Figuring out versioning is hard. PyPI should enc

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Ned Batchelder
On 2/10/20 2:26 AM, Chris Angelico wrote: On Mon, Feb 10, 2020 at 6:09 PM Matthew Einhorn wrote: On Sun, Feb 9, 2020, 11:03 AM Paul Moore wrote: On Sun, 9 Feb 2020 at 14:39, Soni L. wrote: Figuring out versioning is hard. PyPI should encourage semver by including PEP 440 version strings tha

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-10 Thread Cameron Simpson
On 10Feb2020 18:26, Chris Angelico wrote: On Mon, Feb 10, 2020 at 6:09 PM Matthew Einhorn wrote: On Sun, Feb 9, 2020, 11:03 AM Paul Moore wrote: On Sun, 9 Feb 2020 at 14:39, Soni L. wrote: > Figuring out versioning is hard. PyPI should encourage semver by > including PEP 440 version strings

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-09 Thread Chris Angelico
On Mon, Feb 10, 2020 at 6:09 PM Matthew Einhorn wrote: > > On Sun, Feb 9, 2020, 11:03 AM Paul Moore wrote: >> >> On Sun, 9 Feb 2020 at 14:39, Soni L. wrote: >> > >> > Figuring out versioning is hard. PyPI should encourage semver by >> > including PEP 440 version strings that you can copy and pas

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-09 Thread Matthew Einhorn
On Sun, Feb 9, 2020, 11:03 AM Paul Moore wrote: > On Sun, 9 Feb 2020 at 14:39, Soni L. wrote: > > > > Figuring out versioning is hard. PyPI should encourage semver by > > including PEP 440 version strings that you can copy and paste into > > install_requires. > > I don't understand what you mean

[Python-ideas] Re: PyPI should include PEP 440-compliant version strings for including in install_requires

2020-02-09 Thread Paul Moore
On Sun, 9 Feb 2020 at 14:39, Soni L. wrote: > > Figuring out versioning is hard. PyPI should encourage semver by > including PEP 440 version strings that you can copy and paste into > install_requires. I don't understand what you mean by **PyPI** including version strings. PyPI just publishes the