Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-29 Thread Maurits van Rees
Op 25/08/16 om 13:57 schreef Donald Stufft: On Aug 25, 2016, at 7:30 AM, Nick Coghlan wrote: On 25 August 2016 at 06:48, Donald Stufft wrote: Ok, I’ve updated the PEP. You can see a diff at https://github.com/python/peps/pull/74/files or the entire

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-27 Thread Fernando Perez
Same here, having both is purely historical artifact, dating back almost 15 years to the days of windows xp and somewhat awkward zip support on Linux. No problem with modernizing this as needed. Sent from a mobile device. . On Aug 26, 2016 13:58, "Ralf Gommers" wrote:

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-26 Thread Ralf Gommers
On Fri, Aug 26, 2016 at 7:08 PM, Thomas Kluyver wrote: > On Thu, Aug 25, 2016, at 05:29 PM, Nick Coghlan wrote: > > Could you give a bit more detail on how you came to be publishing > > both? The main thing we're trying to avoid is missing a practical use > > case for the

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-26 Thread Thomas Kluyver
On Thu, Aug 25, 2016, at 05:29 PM, Nick Coghlan wrote: > Could you give a bit more detail on how you came to be publishing > both? The main thing we're trying to avoid is missing a practical use > case for the status quo where folks can upload both - if it's just an > artifact of Windows and *nix

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Donald Stufft
> On Aug 25, 2016, at 12:43 PM, M.-A. Lemburg wrote: > > Aside: If pip is considered the only user of PyPI, I do wonder, > why we bother having a user readable download index at all ;-) > It’s not considered the *only* user, but it is the primary user of the files that get

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Daniel Holth
The funny thing about a feature like the manual download link is that no, 99.99% of the time it is not useful, but when you need it, you probably really need it. Probably to debug an issue with pip, or to grab a package pip would not normally download for your platform, or to make sure something

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Nick Coghlan
On 26 August 2016 at 02:43, M.-A. Lemburg wrote: > Aside: If pip is considered the only user of PyPI, I do wonder, > why we bother having a user readable download index at all ;-) I see the smiley, but this actually has a real answer :) The manual download links aren't

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Daniel Holth
Wheels have a sort order depending on the tag that is independent of the order present in pypi. Sdists don't have anything like that. On Thu, Aug 25, 2016, 12:15 Wes Turner wrote: > On Thu, Aug 25, 2016 at 11:11 AM, Donald Stufft wrote: > >> >> > On Aug

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Nick Coghlan
On 25 August 2016 at 21:46, Thomas Kluyver wrote: > On Thu, Aug 25, 2016, at 12:30 PM, Nick Coghlan wrote: >> My one remaining question would be whether or not we have any projects >> that are in the habit of uploading both .zip and .tar.gz for the same >> release - if there

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Wes Turner
On Thu, Aug 25, 2016 at 11:11 AM, Donald Stufft wrote: > > > On Aug 25, 2016, at 11:46 AM, M.-A. Lemburg wrote: > > > > You may not be aware, but developers that work on both Windows > > and Unix often have two sets of source code packages: one using > >

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Donald Stufft
> On Aug 25, 2016, at 11:46 AM, M.-A. Lemburg wrote: > > You may not be aware, but developers that work on both Windows > and Unix often have two sets of source code packages: one using > Windows line ends, the other using Unix ones. > > The Windows ones can also include code

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Donald Stufft
> On Aug 25, 2016, at 11:46 AM, M.-A. Lemburg wrote: > > You may not be aware, but developers that work on both Windows > and Unix often have two sets of source code packages: one using > Windows line ends, the other using Unix ones. > > The Windows ones can also include code

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Antoine Pitrou
On Thu, 25 Aug 2016 17:46:03 +0200 "M.-A. Lemburg" wrote: > +sources of truth for a single version. Having multiple sdists often > times can > +account for strange bugs that only expose themselves based on which > sdist that > +the person used. > > You may not be aware, but

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Paul Moore
On 25 August 2016 at 16:46, M.-A. Lemburg wrote: > The Windows ones can also include code which is only relevant > on Windows while the Unix one includes parts that are only used > on Unix, so having two sets (ZIP for Windows and .tar.gz for Unix) > is a natural way to distribute

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Donald Stufft
> On Aug 25, 2016, at 7:30 AM, Nick Coghlan wrote: > > On 25 August 2016 at 06:48, Donald Stufft wrote: >> Ok, I’ve updated the PEP. You can see a diff at >> https://github.com/python/peps/pull/74/files or the entire PEP at >>

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Thomas Kluyver
On Thu, Aug 25, 2016, at 12:30 PM, Nick Coghlan wrote: > My one remaining question would be whether or not we have any projects > that are in the habit of uploading both .zip and .tar.gz for the same > release - if there are, the restriction to only one sdist per release IPython's release script

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-25 Thread Nick Coghlan
On 25 August 2016 at 06:48, Donald Stufft wrote: > Ok, I’ve updated the PEP. You can see a diff at > https://github.com/python/peps/pull/74/files or the entire PEP at > https://www.python.org/dev/peps/pep-0527/ once that updated. However the > primary differences are: > > *

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-24 Thread Donald Stufft
Ok, I’ve updated the PEP. You can see a diff at https://github.com/python/peps/pull/74/files or the entire PEP at https://www.python.org/dev/peps/pep-0527/ once that updated. However the primary differences are: * Added Nick Coghlan as the BDFL Delegate (Thanks Nick!). * Expanded upon

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-24 Thread Anna Ravenscroft
On Wed, Aug 24, 2016 at 12:06 AM, Nick Coghlan wrote: > On 24 August 2016 at 02:46, Donald Stufft wrote: > > Abstract > > > > > > This PEP recommends deprecating, and ultimately removing, support for > uploading > > certain unused or under used

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-24 Thread Philippe Ombredanne
On Tue, Aug 23, 2016 at 10:08 PM, Glyph Lefkowitz wrote: > In particular, bdist_wininst and bdist_msi (which Twisted supported for a > long time, and still builds, so it's not like I don't understand their > benefits and history!) are incompatible with virtualenvs, and

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-24 Thread Reinout van Rees
Op 24-08-16 om 09:06 schreef Nick Coghlan: I think in this case, campaigning to remove ".zip" support will prove to be a false economy, as anything you'd gain from simplifying the toolchain implementation you'll lose arguing with folks that would prefer for .zip to be the default instead of

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-24 Thread Nick Coghlan
On 24 August 2016 at 02:46, Donald Stufft wrote: > Abstract > > > This PEP recommends deprecating, and ultimately removing, support for > uploading > certain unused or under used file types and extensions to PyPI. In particular > it recommends disallowing further

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Wes Turner
On Tuesday, August 23, 2016, Nathaniel Smith wrote: > On Aug 23, 2016 12:57 PM, "Donald Stufft" > wrote: > > > [...] > > However, PyPI does need > > to do work when a file is uploaded to PyPI. For instance, it

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Donald Stufft
> On Aug 23, 2016, at 7:54 PM, Nathaniel Smith wrote: > > On Aug 23, 2016 12:57 PM, "Donald Stufft" > wrote: > > > [...] > > However, PyPI does need > > to do work when a file is uploaded to PyPI. For instance, it needs > > to verify

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Nathaniel Smith
On Aug 23, 2016 12:57 PM, "Donald Stufft" wrote: > [...] > However, PyPI does need > to do work when a file is uploaded to PyPI. For instance, it needs > to verify that the file being uploaded is valid, it needs to ensure > that it’s for the project it claims to be for, etc. To

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Donald Stufft
> On Aug 23, 2016, at 5:05 PM, Daniel Holth wrote: > > I would be sad to see .zip go. I would rather the rule be '0 or 1 sdists'. > For my own selfish reasons I am trying to generate sdists with SCons, and it > happens to expect the tar command but can already generate zips

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Daniel Holth
I would be sad to see .zip go. I would rather the rule be '0 or 1 sdists'. For my own selfish reasons I am trying to generate sdists with SCons, and it happens to expect the tar command but can already generate zips cross platform, so I will need to patch SCons' archiver to comply with the PEP.

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread tritium-list
I am gung ho on everything in this pep except the sdist format section. Yes, tar, tar.bz2, tar.xz, tar.Z, .tgz, and tbz can probably go without much contest. I agree with some of the arguments in the inspiring thread that brought this up, though, that if there is one, and only one, sdist

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Glyph Lefkowitz
> On Aug 23, 2016, at 1:08 PM, Glyph Lefkowitz wrote: > > ... especially as compared to binary eggs ... Wheels. especially as compared to binary wheels. -g___ Distutils-SIG maillist - Distutils-SIG@python.org

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Ian Cordasco
On Tue, Aug 23, 2016 at 2:03 PM, M.-A. Lemburg wrote: > On 23.08.2016 18:46, Donald Stufft wrote: >> Since it seemed like there was enough here for a proper PEP I went ahead and >> write one up, which is now PEP 527. The tl;dr of it is that: >> >> * Everything but sdist,

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Glyph Lefkowitz
> On Aug 23, 2016, at 12:03 PM, M.-A. Lemburg wrote: > > On 23.08.2016 18:46, Donald Stufft wrote: >> Since it seemed like there was enough here for a proper PEP I went ahead and >> write one up, which is now PEP 527. The tl;dr of it is that: >> >> * Everything but sdist,

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Donald Stufft
> On Aug 23, 2016, at 3:03 PM, M.-A. Lemburg wrote: > > On 23.08.2016 18:46, Donald Stufft wrote: >> Since it seemed like there was enough here for a proper PEP I went ahead and >> write one up, which is now PEP 527. The tl;dr of it is that: >> >> * Everything but sdist,

Re: [Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread M.-A. Lemburg
On 23.08.2016 18:46, Donald Stufft wrote: > Since it seemed like there was enough here for a proper PEP I went ahead and > write one up, which is now PEP 527. The tl;dr of it is that: > > * Everything but sdist, bdist_wheel, and bdist_egg get deprecated. -1 on removing bdist_wininst and

[Distutils] PEP 527 - Removing Un(der)used file types/extensions on PyPI

2016-08-23 Thread Donald Stufft
Since it seemed like there was enough here for a proper PEP I went ahead and write one up, which is now PEP 527. The tl;dr of it is that: * Everything but sdist, bdist_wheel, and bdist_egg get deprecated. * The only allowed extension for sdist is ``.tar.gz``. * Phased in Deprecation. I've