Return-Path: X-Original-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AAA61080E for ; Sat, 12 Oct 2013 07:53:20 +0000 (UTC) Received: (qmail 75499 invoked by uid 500); 12 Oct 2013 07:53:19 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 75482 invoked by uid 500); 12 Oct 2013 07:53:18 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 75474 invoked by uid 99); 12 Oct 2013 07:53:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Oct 2013 07:53:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [50.0.193.30] (HELO ovaltofu.org) (50.0.193.30) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Oct 2013 07:53:11 +0000 Received: from [192.168.0.34] ([192.168.0.34]) (authenticated bits=0) by ovaltofu.org (8.14.4/8.14.4) with ESMTP id r9C7qbZJ012074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Oct 2013 00:52:43 -0700 (PDT) Date: Sat, 12 Oct 2013 00:52:43 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: Steve Rowe cc: "pylucene-dev@lucene.apache.org" Subject: Re: [VOTE] Release PyLucene 4.5.0-1 In-Reply-To: <70744BA6-F7FD-4838-9FC8-A469E24C5790@gmail.com> Message-ID: References: <3142CFB6-4824-48DC-923B-0BB988245821@gmail.com> <916CB4C7-77DB-4657-BE3D-EA9879E09F85@gmail.com> <70744BA6-F7FD-4838-9FC8-A469E24C5790@gmail.com> User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Sat, 12 Oct 2013, Steve Rowe wrote: > Andi, TL;DR: success! installing setuptools 1.1.6 allowed the PyLucene 4.5 install to succeed. > > I have several Python versions on my laptop, each of which seems to have at least one setuptools installed with it. The one for Python 2.7.2 is here: > > /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/ > > and __init__.py in the above directory has this line: > > __version__ = '0.6c12' > > Is there some other way to determine the setuptools version? Yes, at the python prompt enter this: from pkg_resources import require require('setuptools')[0] The output includes the setuptools pedigree you have installed. For example, with setuptools 1.1.6, you get: setuptools 1.1.6 (/Users/vajda/apache/pylucene-st/_install/lib/python2.7/site-packages/setuptools-1.1.6-py2.7.egg) > I installed setuptools v1.1.6 using the instructions here: , > > (I see that the above-mentioned __init__.py still has the same __version__ - not sure what that means?) > > Anyway, this (apparently) allowed the installation process to succeed! > > Here's the output I get at the end after I re-unpacked the pylucene distribution and ran 'make && sudo make install': > > ----- > creating /Library/Python/2.7/site-packages/lucene-4.5.0-py2.7-macosx-10.8-intel.egg > Extracting lucene-4.5.0-py2.7-macosx-10.8-intel.egg to /Library/Python/2.7/site-packages > Removing lucene 4.5.0 from easy-install.pth file > Adding lucene 4.5.0 to easy-install.pth file > > Installed /Library/Python/2.7/site-packages/lucene-4.5.0-py2.7-macosx-10.8-intel.egg > Processing dependencies for lucene==4.5.0 > Finished processing dependencies for lucene==4.5.0 Great ! Does 'make test' pass all tests ? Andi.. > ----- > > Steve > > On Oct 11, 2013, at 3:30 PM, Andi Vajda wrote: >> On Fri, 11 Oct 2013, Steve Rowe wrote: >> >>> I really have no idea where to start looking to figure out what's happening - I'm not a big python user - any ideas? >>> >>> Would it be useful to package up my make'd directory and send it to you? >> >> I don't know yet. Do you know which version of setuptools you have >> installed ? >> >> I'm currently battling an issue with the "third generation" setuptools, >> v 1.1.6. >> If you don't have something like 0.6something or 0.7 installed, please try that (for lack of any better ideas, sorry). >> >> Andi.. >> >>> >>> Steve >>> >>> On Oct 10, 2013, at 7:34 PM, Andi Vajda wrote: >>> >>>> On Thu, 10 Oct 2013, Steve Rowe wrote: >>>> >>>>> Meant to send to the mailing lists: >>>>> >>>>> Begin forwarded message: >>>>> >>>>>> From: Steve Rowe >>>>>> Subject: Re: [VOTE] Release PyLucene 4.5.0-1 >>>>>> Date: October 10, 2013 3:18:50 AM EDT >>>>>> To: Andi Vajda >>>>>> >>>>>> Andi, >>>>>> >>>>>> I thought I'd run 'make' and 'sudo make install' in two steps, so I checked, and bash 'history' agreed: >>>>>> >>>>>> 586 vi Makefile >>>>>> 587 make >>>>>> 588 sudo make install >>>>>> >>>>>> I tried again, first rm -rf'ing the unpacked distribution, then unpacking, (skipping the jcc 'make' and 'sudo make install' this time), editing the Makefile, then running 'make', then 'sudo make install', and I got the same error - I suppose this is the most salient line: >>>> >>>> The problem is that I can't even reproduce the error. >>>> You're not the first one to report it but it usually "goes away" :-( >>>> Stuck. >>>> >>>> Andi.. >>>> >>>>>> >>>>>> ----- >>>>>> No local packages or download links found for lucene==4.5.0 >>>>>> ----- >>>>>> >>>>>> Steve >>>>>> >>>>>> On Oct 10, 2013, at 2:59 AM, Andi Vajda wrote: >>>>>>> Hi Steve, >>>>>>> >>>>>>> On Thu, 10 Oct 2013, Steve Rowe wrote: >>>>>>> >>>>>>>> After make'ing and installing jcc (no setup.py changes required); uncommenting the first Mac OS X 10.6 section in Makefile (I have OS X 10.8.5, with stock Python 2.7.2 and Oracle Java 1.7.0_25); and finally make'ing pylucene: 'sudo make install' fails - here's the tail end of the output: >>>>>>>> >>>>>>>> ----- >>>>>>>> writing build/bdist.macosx-10.8-x86_64/egg/EGG-INFO/native_libs.txt >>>>>>>> creating dist >>>>>>>> creating 'dist/lucene-4.5.0-py2.7-macosx-10.8-x86_64.egg' and adding 'build/bdist.macosx-10.8-x86_64/egg' to it >>>>>>>> removing 'build/bdist.macosx-10.8-x86_64/egg' (and everything under it) >>>>>>>> Processing lucene-4.5.0-py2.7-macosx-10.8-x86_64.egg >>>>>>>> creating /Library/Python/2.7/site-packages/lucene-4.5.0-py2.7-macosx-10.8-x86_64.egg >>>>>>>> Extracting lucene-4.5.0-py2.7-macosx-10.8-x86_64.egg to /Library/Python/2.7/site-packages >>>>>>>> Removing lucene 4.4.0 from easy-install.pth file >>>>>>>> Adding lucene 4.5.0 to easy-install.pth file >>>>>>>> >>>>>>>> Installed /Library/Python/2.7/site-packages/lucene-4.5.0-py2.7-macosx-10.8-x86_64.egg >>>>>>>> Processing dependencies for lucene==4.5.0 >>>>>>>> Searching for lucene==4.5.0 >>>>>>>> Reading http://pypi.python.org/simple/lucene/ >>>>>>>> Couldn't find index page for 'lucene' (maybe misspelled?) >>>>>>>> Scanning index of all packages (this may take a while) >>>>>>>> Reading http://pypi.python.org/simple/ >>>>>>>> No local packages or download links found for lucene==4.5.0 >>>>>>>> error: Could not find suitable distribution for Requirement.parse('lucene==4.5.0') >>>>>>> >>>>>>> This error has been a problem for a while. >>>>>>> You need to make, then make install, in two steps. >>>>>>> Otherwise, when 'make install' in pylucene from clean, this error seems to happen. I don't know of a fix. >>>>>>> >>>>>>> Andi.. >>>>>>> >>>>>>>> make: *** [install] Error 1 >>>>>>>> ----- >>>>>>>> >>>>>>>> I've included the entire 'sudo make install' output here: >>>>>>>> >>>>>>>> Steve >>>>>>>> >>>>>>>> On Oct 8, 2013, at 1:00 AM, Andi Vajda wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> The PyLucene 4.5.0-1 release tracking the recent release of Apache Lucene 4.5.0 is ready. >>>>>>>>> >>>>>>>>> A release candidate is available from: >>>>>>>>> http://people.apache.org/~vajda/staging_area/ >>>>>>>>> >>>>>>>>> A list of changes in this release can be seen at: >>>>>>>>> http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_4_5/CHANGES >>>>>>>>> >>>>>>>>> PyLucene 4.5.0 is built with JCC 2.17 included in these release artifacts: >>>>>>>>> http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES >>>>>>>>> >>>>>>>>> A list of Lucene Java changes can be seen at: >>>>>>>>> http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_5_0/lucene/CHANGES.txt >>>>>>>>> >>>>>>>>> Please vote to release these artifacts as PyLucene 4.5.0-1. >>>>>>>>> >>>>>>>>> Thanks ! >>>>>>>>> >>>>>>>>> Andi.. >>>>>>>>> >>>>>>>>> ps: the KEYS file for PyLucene release signing is at: >>>>>>>>> http://svn.apache.org/repos/asf/lucene/pylucene/dist/KEYS >>>>>>>>> http://people.apache.org/~vajda/staging_area/KEYS >>>>>>>>> >>>>>>>>> pps: here is my +1 >>>>>>>> >>>>>>>> >>>>>> >>>>> >>>>> >>> >>> > >