Date: Fri, 24 Dec 2021 22:58:51 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260670] pkg built from devel/py-importlib-resources installs as v0.0..0, not 5.4.0 Message-ID: <bug-260670-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260670 Bug ID: 260670 Summary: pkg built from devel/py-importlib-resources installs as v0.0..0, not 5.4.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: swills@FreeBSD.org Reporter: hartzell@alerce.com Flags: maintainer-feedback?(swills@FreeBSD.org) Assignee: swills@FreeBSD.org TL;DR -- I used pourdriere to build a bunch of packages and ended up with a package for py-importlib-resources that thinks it is v0.0.0 instead of v5.4= .0. Help? Thanks! --- I have a system that is=20 - built from packages that - I build using poudriere - and portshaker, which blends in my port for zettarepl I hadn't updated recently. Today I stood up a new pkg builder using 12.3 and ran my various ansible playbooks to set it up. I built all of my packages and used them to update my system. When I try to run zettarepl I get the following crash. ``` % /usr/local/bin/zettarepl Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 568, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 886, in require needed =3D self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 777, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (importlib-resources 0.0.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('importlib_resources>=3D1.4.0'), {'jsonschema'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/zettarepl", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 3243, in <module> def _initialize_master_working_set(): File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 3226, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 3255, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 570, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 583, in _build_from_requirements dists =3D ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", = line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'importlib_resources>=3D1.4.0' distribution was not found and is required by jsonschema ``` When I look in /usr/local/lib/python3.8/site-packages on the updated system= it seems that importlib_resources thinks that its version number is 0.0.0. importlib_resources-0.0.0-py3.8.egg-info I've poked around a bit but I'm not sure where my build went off the rails. I'd welcome solutions or clues for where to look. **Thanks!** --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260670-7788>