[Bug 260670] pkg built from devel/py-importlib-resources installs as v0.0..0, not 5.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Dec 2021 22:58:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260670 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 - 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 = 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>=1.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 = 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 = 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>=1.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!** -- You are receiving this mail because: You are the assignee for the bug.