Date: Wed, 29 Jan 2020 10:57:15 +0100 From: Andrea Venturoli <ml@netfence.it> To: freebsd-ports@freebsd.org Cc: sunpoet@FreeBSD.org Subject: mail/py-mail-parser and ipaddress Message-ID: <01346d5b-fa12-434e-29ae-833825d6e1a9@netfence.it>
next in thread | raw e-mail | index | archive | help
Hello. I'm trying to port a Python software that uses mail-parser, but I'm stuck with a problem. I build py37-mail-parser with Poudriere and install it in a 11.3 jail. However, I'm getting the following error: > # mailparser > Traceback (most recent call last): > File "/usr/local/bin/mailparser", line 6, in <module> > from pkg_resources import load_entry_point > File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3250, in <module> > @_call_aside > File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside > f(*args, **kwargs) > File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set > working_set = WorkingSet._build_master() > File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master > ws.require(__requires__) > File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require > needed = self.resolve(parse_requirements(requirements)) > File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve > raise DistributionNotFound(req, requirers) > pkg_resources.DistributionNotFound: The 'ipaddress>=1.0.23' distribution was not found and is required by mail-parser AFAICY there is no py37-ipaddress (it should already be included in Python 3.7 itself). I have no idea whether this is a fault of mine or what. Any help appreciated. bye av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01346d5b-fa12-434e-29ae-833825d6e1a9>