Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jul 2014 01:04:41 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Jeffrey Bouquet <jeffreybouquet@yahoo.com>,  freebsd-python@freebsd.org
Cc:        Wen Heping <wen@FreeBSD.org>, freebsd-ports@freebsd.org
Subject:   Re: Way to debug/fix errors with python ports such as these [py-paragrep]
Message-ID:  <53B81409.6030600@FreeBSD.org>
In-Reply-To: <1404572065.15340.YahooMailBasic@web140905.mail.bf1.yahoo.com>
References:  <1404572065.15340.YahooMailBasic@web140905.mail.bf1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <module>
>     from pkg_resources import load_entry_point
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2837, in <module>
>     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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53B81409.6030600>