Re: [Distutils] reproducible builds

2017-03-17 Thread David Wilson
Hey Robin, > What happens if other distros decide not to use this environment variable? > Do I really want distro specific code in the package? AFAIK this is seeing a great deal of use outside of Debian and even Linux, for instance GCC also supports this variable. > In short where does the

Re: [Distutils] The mypy package

2016-04-18 Thread David Wilson
On Mon, Apr 18, 2016 at 09:34:09AM -0700, Chris Barker wrote: > Namespaces seem like a great idea, then these problems disappear > entirely, > huh? as far as I can tell, namespaces greatly expand the pool of available > names, but other than that, we've got the same problem. They seem

Re: [Distutils] The mypy package

2016-04-18 Thread David Wilson
On Mon, Apr 18, 2016 at 08:18:37AM -0700, Chris Barker - NOAA Federal wrote: > We really should have SOME way to determine if a PyPi name has been > abandoned. Or even be proactive--PyPi names must be maintained in SOME > way, perhaps: +1 > Respond to some sort of "do you still want this"

Re: [Distutils] Where should I put tests when packaging python modules?

2015-10-09 Thread David Wilson
On Tue, Oct 06, 2015 at 09:51:01AM +0200, Antoine Pitrou wrote: > They should be inside the module. That way, you can check an installed > module is ok by running e.g. "python -m mypackage.tests". Any other > choice makes testing installed modules more cumbersome. As Donald mentioned, this

Re: [Distutils] [Python-ideas] PyPI search still broken

2015-09-10 Thread David Wilson
On Thu, Sep 10, 2015 at 09:31:13AM -0400, Donald Stufft wrote: > The old PostgreSQL based system has been gone for awhile, and we > already have ElasticSearch with a small cron job that runs every 3 > hours to index the data. That's awesome news. :) David

Re: [Distutils] does pypi or red-dove have a better firehose API than download all the packages?

2013-05-16 Thread David Wilson
Would something like http://pypi.h1.botanicus.net/static/dump.txt.gz be useful to you? (warning: 57mb expanding to 540mb). Each line is a JSON-encoded dict containing a single package release. for line in gzip.open('dump.txt.gz'): dct = json.loads(line) etc The code for it is very

Re: [Distutils] does pypi or red-dove have a better firehose API than download all the packages?

2013-05-16 Thread David Wilson
-mailing you shortly ;) On 17 May 2013 02:50, Daniel Holth dho...@gmail.com wrote: On Thu, May 16, 2013 at 3:46 PM, David Wilson d...@botanicus.net wrote: Would something like http://pypi.h1.botanicus.net/static/dump.txt.gz be useful to you? (warning: 57mb expanding to 540mb). Each line

Re: [Distutils] Fixing Cheese Shop search

2013-05-14 Thread David Wilson
Quasi-monthly ping :) I'm still happy to volunteer help. David On 23 April 2013 13:41, Nick Coghlan ncogh...@gmail.com wrote: On Mon, Apr 22, 2013 at 11:30 PM, David Wilson d...@botanicus.net wrote: Prototype code is here: https://bitbucket.org/dmw/pypi-search (note: relies on a pre-alpha

Re: [Distutils] Fixing Cheese Shop search

2013-04-22 Thread David Wilson
http://pypi.h1.botanicus.net/ is the same demo running behind Apache with mod_gzip on a Core i7 920. On 22 April 2013 02:11, David Wilson d...@botanicus.net wrote: Hi there, In a fit of madness caused by another 30 seconds-long PyPI search I decided to investigate the code, in the hopes

[Distutils] Fixing Cheese Shop search

2013-04-21 Thread David Wilson
Hi there, In a fit of madness caused by another 30 seconds-long PyPI search I decided to investigate the code, in the hopes of perhaps finding something simple that would alleviate the extremely long search time. I discovered what appears to be a function that makes 6 SQL queries for each term