Way to debug/fix errors with python ports such as these [py-paragrep]

Kubilay Kocak koobs at FreeBSD.org
Sat Jul 5 15:04:51 UTC 2014


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at 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


More information about the freebsd-python mailing list