Re: [Distutils] rst not rendered on pypi

2015-10-14 Thread Nico Schlömer
Exactly what I needed. Thanks! --Nico On Wed, Oct 14, 2015 at 2:03 PM Eduardo Schettino wrote: > > On Wed, Oct 14, 2015 at 1:03 AM, Nico Schlömer > wrote: > >> Hi everyone, >> >> I'm trying to get my README.rst [1] display properly on my PyPy

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Nick Coghlan
On 14 October 2015 at 12:40, Robert Collins wrote: > On 14 October 2015 at 15:04, Wes Turner wrote: >> >> On Oct 13, 2015 7:50 PM, "Robert Collins" wrote: > >> * egg-info and dist-info should generate JSONLD > > The

Re: [Distutils] rst not rendered on pypi

2015-10-14 Thread Randy Syring
I've also found restview (https://pypi.python.org/pypi/restview) very easy to use. I believe it uses readme behind the scenes (at least, it's included as a dependency in restviews setup.py). *Randy Syring* Husband | Father | Redeemed Sinner /"For what does it profit a man to gain the whole

[Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Chris Barker
Hi all, PyPi does not allow duplicate file names -- this makes lots of sense, because you really don't want people to go to PyPi one day and grab a file, and then go there another day, grab a file with exactly the same name, and have it be a different file. However We are all too human, and

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Nathaniel Smith
On Oct 14, 2015 10:04 AM, "Ionel Cristian Mărieș" wrote: > > > On Wed, Oct 14, 2015 at 7:43 PM, Chris Barker wrote: >> >> some packages were unable to work with the postN suffix. > > > ​Can you elaborate a bit more here?​ > Apparently some packages

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Wes Turner
On Oct 14, 2015 3:33 AM, "Paul Moore" wrote: > > On 14 October 2015 at 01:46, Robert Collins wrote: > > On 14 October 2015 at 13:25, Marcus Smith wrote: > >> > >> > >> thanks for the summary! > > Agreed. > > >> > >>> * Things

Re: [Distutils] warning about potential problem for wheels

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 9:54 AM, Antoine Pitrou wrote: > > IS that the case: > > """ > > Note that my recently retired computer was 64 bit and had SSE but didn't > > have SSE2 (I'm fairly sure - CPU was some budget AMD model) > > """ > > > > granted, such machines are

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Robert Collins
On 15 October 2015 at 03:35, Nick Coghlan wrote: > On 14 October 2015 at 12:40, Robert Collins wrote: >> On 14 October 2015 at 15:04, Wes Turner wrote: >>> >>> On Oct 13, 2015 7:50 PM, "Robert Collins"

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Daniel Holth
> > I believe the '426 is draft' ship has sailed: metadata.json is present > in .dist-info in wheels and has been for some time. (e.g. see > > https://pypi.python.org/packages/2.7/r/reddit_bot/reddit_bot-0.1.2-py2.py3-none-any.whl#md5=86518fc20388c1d8e567cf2d4cfe1a03 > ). As such we're going to

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 2:25:31 PM, Nathaniel Smith (n...@pobox.com) wrote: > On Oct 14, 2015 11:12 AM, "Donald Stufft" wrote: > > > [...] > >> Apparently some packages were making assumptions about the format of the > numpy.__version__ string, and having .postN in there caused errors when > they

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Robert Collins
On 15 October 2015 at 07:22, Daniel Holth wrote: >> I believe the '426 is draft' ship has sailed: metadata.json is present >> in .dist-info in wheels and has been for some time. (e.g. see >> >>

Re: [Distutils] warning about potential problem for wheels

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 3:40 AM, Antoine Pitrou wrote: > On Tue, 13 Oct 2015 09:59:05 -0700 > Chris Barker wrote: > > > > So even is SSE2 provides little for Python itself, in the usual case, > we'll > > see performance hits n compiled extensions that

Re: [Distutils] warning about potential problem for wheels

2015-10-14 Thread Antoine Pitrou
On Wed, 14 Oct 2015 09:25:43 -0700 Chris Barker wrote: > On Wed, Oct 14, 2015 at 3:40 AM, Antoine Pitrou wrote: > > > On Tue, 13 Oct 2015 09:59:05 -0700 > > Chris Barker wrote: > > > > > > So even is SSE2 provides little for

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Nathaniel Smith
On Oct 14, 2015 11:12 AM, "Donald Stufft" wrote: > [...] >> Apparently some packages were making assumptions about the format of the numpy.__version__ string, and having .postN in there caused errors when they tried to process it. (It would be helpful if there were a little

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Jeremy Stanley
On 2015-10-14 09:43:25 -0700 (-0700), Chris Barker wrote: [...] > I propose that PyPi allow projects to replace existing files if > they REALLY REALLY want to. > > You should have to jump through all sorts of hoops, and make it > really clear that it is a BAD IDEA in the general case, but it'd >

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Ionel Cristian Mărieș
On Wed, Oct 14, 2015 at 7:43 PM, Chris Barker wrote: > some packages were unable to work with the postN suffix. ​Can you elaborate a bit more here?​ Thanks, -- Ionel Cristian Mărieș, http://blog.ionelmc.ro ___ Distutils-SIG

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Paul Moore
On 14 October 2015 at 19:27, Donald Stufft wrote: > I suspect it’d be trivial to relicense it. There’s a total of 6 contributors > and I think I know how to get ahold of all of them. I only contributed a tiny bit, but I'm happy for you to relicense if you want to. Paul

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Paul Moore
On 14 October 2015 at 01:46, Robert Collins wrote: > On 14 October 2015 at 13:25, Marcus Smith wrote: >> >> >> thanks for the summary! Agreed. >> >>> * Things that have reason to change (deps) are more reasonable to be >>> dynamic (even with

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Paul Moore
On 14 October 2015 at 09:50, Robert Collins wrote: > For illustration, consider a numpy extension, the version of numpy > present in the build environment determines some of the > install-requires. The sdist can build against a much wider range of > numpy versions than

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Robert Collins
On 14 October 2015 at 21:33, Paul Moore wrote: > On 14 October 2015 at 01:46, Robert Collins wrote: ... >> Concretely: >> {'build_requires': []} -> no build requirements >> {} -> get build requirements by running the build system > > One use case

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Robert Collins
On 15 October 2015 at 07:27, Donald Stufft wrote: > On October 14, 2015 at 2:25:31 PM, Nathaniel Smith (n...@pobox.com) wrote: >> On Oct 14, 2015 11:12 AM, "Donald Stufft" wrote: >> > >> [...] >> >> Apparently some packages were making assumptions about the format of the >>

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 3:05:57 PM, Robert Collins (robe...@robertcollins.net) wrote: > On 15 October 2015 at 07:27, Donald Stufft wrote: > > On October 14, 2015 at 2:25:31 PM, Nathaniel Smith (n...@pobox.com) wrote: > >> On Oct 14, 2015 11:12 AM, "Donald Stufft" wrote: > >> > > >> [...] > >> >>

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 9:56 AM, Dave Forgac wrote: > This was discussed recently here: > https://github.com/pypa/packaging-problems/issues/74 > and on this list at other times. Though the above issue was pretty focused on restoring a deleted file without any changes --

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 3:58:52 PM, Chris Barker (chris.bar...@noaa.gov) wrote: > On Wed, Oct 14, 2015 at 9:56 AM, Dave Forgac > wrote: > > > This was discussed recently here: > > https://github.com/pypa/packaging-problems/issues/74 > > > > and on this list at other times. Though the above

Re: [Distutils] warning about potential problem for wheels

2015-10-14 Thread Oscar Benjamin
On 14 Oct 2015 19:00, "Chris Barker" wrote: > > On Wed, Oct 14, 2015 at 9:54 AM, Antoine Pitrou wrote: >> >> > IS that the case: >> > """ >> > Note that my recently retired computer was 64 bit and had SSE but didn't >> > have SSE2 (I'm fairly sure -

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Ionel Cristian Mărieș
On Wed, Oct 14, 2015 at 11:04 PM, Donald Stufft wrote: > Generally within 60-120 seconds it’s available in mirrors (most of them > resync once a minute). If anyone has downloaded it then they will have > pretty much permanently cached the package, first in the download cache

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Robert Collins
On 15 October 2015 at 09:55, Glyph Lefkowitz wrote: > > On Oct 14, 2015, at 10:36 AM, Nathaniel Smith wrote: > > My feeling is that pypi is correct to disallow the mutation of releases once > they become public, but that the ergonomics around this could

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
> On Oct 14, 2015, at 4:55 PM, Glyph Lefkowitz wrote: > > >> On Oct 14, 2015, at 10:36 AM, Nathaniel Smith wrote: >> >> My feeling is that pypi is correct to disallow the mutation of releases once >> they become public, but that the ergonomics

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 5:17:42 PM, Nathaniel Smith (n...@pobox.com) wrote: > > @Donald: is there somewhere we should be filing these warehouse > wish list things so they don't get lost? :-) https://github.com/pypa/warehouse/issues - Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 1:04 PM, Donald Stufft wrote: > > And it just seems pedantic to say: hey -- you've already put that one > there > > -- maybe even two minutes ago, so there is NO WAY to fix your mistake. If > > it happens quickly, then no one has downloaded it, it hasn't

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 1:20 PM, Ionel Cristian Mărieș wrote: > ​This reminds me of Gmail's "unsend" feature where email would be delayed > 10 seconds or something, giving a window to press the unsend button. > FWIW, I am a big fan of that -- and use it with remarkably

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 6:24:55 PM, Chris Barker (chris.bar...@noaa.gov) wrote: > > another note-- conda has teh concetp of a "build" that's tacked > on teh release for conda pacakges. > > So if I updated somethign about how teh packge is buitl, but am > using teh same underllying version of

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Glyph Lefkowitz
> On Oct 14, 2015, at 1:04 PM, Donald Stufft wrote: > > Generally within 60-120 seconds it’s available in mirrors (most of them > resync once a minute). If anyone has downloaded it then they will have pretty > much permanently cached the package, first in the download cache

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Nathaniel Smith
On Oct 14, 2015 1:55 PM, "Glyph Lefkowitz" wrote: > > >> On Oct 14, 2015, at 10:36 AM, Nathaniel Smith wrote: >> >> My feeling is that pypi is correct to disallow the mutation of releases once they become public, but that the ergonomics around this could

Re: [Distutils] warning about potential problem for wheels

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 1:16 PM, Oscar Benjamin wrote: > Numpy's Windows installer bundles several BLAS binaries with different > levels of SSE and this was the initial reason for not providing Windows > wheels. > indeed -- but IIRC, SSE2 made a pretty big difference,

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 1:59 PM, David Cournapeau wrote: > But I'm talking about the cases of "whoops! I really wish I hadn't >> uploaded that one". We can improve the tooling (some discussion on this in >> this thread right now...), but people are people and some of us are

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread David Cournapeau
On Wed, Oct 14, 2015 at 8:52 PM, Chris Barker wrote: > > > On Wed, Oct 14, 2015 at 9:56 AM, Dave Forgac > wrote: > >> This was discussed recently here: >> https://github.com/pypa/packaging-problems/issues/74 >> > > and on this list at other times.

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Glyph Lefkowitz
> On Oct 14, 2015, at 10:36 AM, Nathaniel Smith wrote: > > My feeling is that pypi is correct to disallow the mutation of releases once > they become public, but that the ergonomics around this could probably be > improved :-). A more general solution that might be nice to

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 6:13:14 PM, Chris Barker (chris.bar...@noaa.gov) wrote: > On Wed, Oct 14, 2015 at 1:04 PM, Donald Stufft wrote: > > > > And it just seems pedantic to say: hey -- you've already put that one > > there > > > -- maybe even two minutes ago, so there is NO WAY to fix your

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Chris Barker
On Wed, Oct 14, 2015 at 3:26 PM, Donald Stufft wrote: > On October 14, 2015 at 6:24:55 PM, Chris Barker (chris.bar...@noaa.gov) > wrote: > > > another note-- conda has teh concetp of a "build" that's tacked > > on teh release for conda pacakges. > > > > So if I updated

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Robert Collins
On 15 October 2015 at 10:01, Glyph Lefkowitz wrote: > > On Oct 14, 2015, at 1:04 PM, Donald Stufft wrote: > > Generally within 60-120 seconds it’s available in mirrors (most of them > resync once a minute). If anyone has downloaded it then they will

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 5:01:49 PM, Glyph Lefkowitz (gl...@twistedmatrix.com) wrote: > > > On Oct 14, 2015, at 1:04 PM, Donald Stufft wrote: > > > > Generally within 60-120 seconds it’s available in mirrors (most of them > > resync once > a minute). If anyone has downloaded it then they

[Distutils] rst not rendered on pypi

2015-10-14 Thread Nico Schlömer
Hi everyone, I'm trying to get my README.rst [1] display properly on my PyPy project [2], but for some reason it's displayed as raw text. The file was created from a README.md [3] via ``` pandoc README.md -o README.rst ``` Any hints on what may have been going wrong? Cheers, Nico [1]

Re: [Distutils] rst not rendered on pypi

2015-10-14 Thread Ionel Cristian Mărieș
This looks suspicious: *A twice-folded Möbius strip, created with VoroPy's ``moebius_tri -i 2 out.e``. Visualization with `ParaView `__.* Regardless, you should use https://pypi.python.org/pypi/readme to check it (that's what PyPI uses for rendering). Thanks, --

Re: [Distutils] rst not rendered on pypi

2015-10-14 Thread Eduardo Schettino
On Wed, Oct 14, 2015 at 1:03 AM, Nico Schlömer wrote: > Hi everyone, > > I'm trying to get my README.rst [1] display properly on my PyPy project > [2], but for some reason it's displayed as raw text. The file was created > from a README.md [3] via > ``` > pandoc

Re: [Distutils] warning about potential problem for wheels

2015-10-14 Thread Antoine Pitrou
On Tue, 13 Oct 2015 09:59:05 -0700 Chris Barker wrote: > > So even is SSE2 provides little for Python itself, in the usual case, we'll > see performance hits n compiled extensions that are not compiled by > particularly smart people. Since the question is only for 32-bit

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread David Cournapeau
On Wed, Oct 14, 2015 at 11:23 PM, Chris Barker wrote: > On Wed, Oct 14, 2015 at 1:59 PM, David Cournapeau > wrote: > >> But I'm talking about the cases of "whoops! I really wish I hadn't >>> uploaded that one". We can improve the tooling (some

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Wes Turner
On Oct 14, 2015 12:05 PM, "Ionel Cristian Mărieș" wrote: > > > On Wed, Oct 14, 2015 at 7:43 PM, Chris Barker wrote: >> >> some packages were unable to work with the postN suffix. > > > ​Can you elaborate a bit more here?​ AFAIU, the community best

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 1:37:05 PM, Nathaniel Smith (n...@pobox.com) wrote: On Oct 14, 2015 10:04 AM, "Ionel Cristian Mărieș" wrote: > > > On Wed, Oct 14, 2015 at 7:43 PM, Chris Barker wrote: >> >> some packages were unable to work with the postN suffix.

Re: [Distutils] Meeting info re: sdists

2015-10-14 Thread Robert Collins
On 15 October 2015 at 06:06, Wes Turner wrote: > > On Oct 14, 2015 3:33 AM, "Paul Moore" wrote: >> >> On 14 October 2015 at 01:46, Robert Collins >> wrote: >> > On 14 October 2015 at 13:25, Marcus Smith

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Donald Stufft
On October 14, 2015 at 2:27:40 PM, Donald Stufft (don...@stufft.io) wrote: > On October 14, 2015 at 2:25:31 PM, Nathaniel Smith (n...@pobox.com) wrote: > > On Oct 14, 2015 11:12 AM, "Donald Stufft" wrote: > > > > > [...] > > >> Apparently some packages were making assumptions about the format of

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Ben Finney
Nathaniel Smith writes: > That's under Apache 2, so it can't be used by GPLv2 packages, or any > package that might be used by GPLv2 packages. I'm not sure what the claim is here, but it seems false to me. Apache License 2.0 permits a derived work to be released under a

Re: [Distutils] PyPi not allowing duplicate filenames

2015-10-14 Thread Nathaniel Smith
On Oct 14, 2015 10:02 PM, "Ben Finney" wrote: > > Nathaniel Smith writes: > > > That's under Apache 2, so it can't be used by GPLv2 packages, or any > > package that might be used by GPLv2 packages. > > I'm not sure what the claim is here, but it seems