From owner-freebsd-python@FreeBSD.ORG Sat Jul 5 15:04:51 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2838923D; Sat, 5 Jul 2014 15:04:51 +0000 (UTC) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E393A21E5; Sat, 5 Jul 2014 15:04:50 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id y13so3118960pdi.41 for ; Sat, 05 Jul 2014 08:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=37HJ57aDcsdPmIFYu2mjZo6y9WdbCcCiY+oo1fjyvZM=; b=zcwabuk3SdPHcirRzaM2ZbqsOEE9Kx4ttJpQ6Ghcxccdbs4AAEnpDJuI41qV1qRDXj TLL0Q5wYA8kwgi08P5z45isBeivClg47b+KM2V9Bl5LV92f+RMToPkl2jZ3fEW06NmN0 M9epGoGhYnkhEg76FQxtLoaxkyzyv+shIhdOp5sbWRykdpXZkcc3BXPoTPKJJd+owniB j+M4V+B8xo5pW2N95xS0mRDEcIgJW+YG/YkF97k96QdYjiuErzIFGDv4ng05mVK/i+mz 6ZaoMGA70UpO+8UiukGpYCEIEd5l7V4+b/HRWsfrZEKoxoyNJCPS7eNSoZDGorkuNmg2 2v7Q== X-Received: by 10.66.163.164 with SMTP id yj4mr17105624pab.91.1404572690379; Sat, 05 Jul 2014 08:04:50 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id y12sm13138750pdk.21.2014.07.05.08.04.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jul 2014 08:04:49 -0700 (PDT) Sender: Kubilay Kocak Message-ID: <53B81409.6030600@FreeBSD.org> Date: Sun, 06 Jul 2014 01:04:41 +1000 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Jeffrey Bouquet , freebsd-python@freebsd.org Subject: Re: Way to debug/fix errors with python ports such as these [py-paragrep] References: <1404572065.15340.YahooMailBasic@web140905.mail.bf1.yahoo.com> In-Reply-To: <1404572065.15340.YahooMailBasic@web140905.mail.bf1.yahoo.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Wen Heping , freebsd-ports@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2014 15:04:51 -0000 On 6/07/2014 12:54 AM, Jeffrey Bouquet via freebsd-ports wrote: > > Traceback (most recent call last): > File "/usr/local/bin/paragrep", line 5, in > from pkg_resources import load_entry_point > File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2837, in > working_set = WorkingSet._build_master() > File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 449, in _build_master > ws.require(__requires__) > File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 742, in require > needed = self.resolve(parse_requirements(requirements)) > File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 639, in resolve > raise DistributionNotFound(req) > pkg_resources.DistributionNotFound: grizzled-python>=1.0 > > Methodology or wrapper program or clue as to what to reinstall ??? > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > the py-paragrep port is dependent on : http://www.freshports.org/devel/py-grizzled/ py-grizzled is currently 0.9.4 paragrep setup.py contains this entry: https://github.com/bmc/paragrep/blob/master/setup.py#L59 paragrep complains at runtime since its grizzled >= 1.0 dependency isnt satisfied :) paragrep and grizzled are maintained by wen@ (cc'd) Two things are needed: 1) py-grizzled needs to be updated to to >= 1.0 2) The paragrep port RUN_DEPENDS should match the version requirements outlined in setup.py so that these version mismatches are more obvious to see in the future. tldr; we'd rather a port/package be uninstallable due to unsatisfied dependencies, than installed and broken. Hope that helps Jeffrey :) -- Koobs