Summary: | devel/py-pipdeptree: update to 2.13.0 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Vedran Miletic <vedran> |
Component: | Individual Port(s) | Assignee: | Muhammad Moinur Rahman <bofh> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | grahamperrin |
Priority: | --- | Keywords: | needs-patch |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(bofh) |
Hardware: | Any | ||
OS: | Any | ||
URL: | https://github.com/tox-dev/pipdeptree/compare/0.13.2...2.13.0 | ||
See Also: | https://github.com/tox-dev/pipdeptree/issues/155 |
Description
Vedran Miletic
2023-09-26 07:46:37 UTC
<https://github.com/tox-dev/pipdeptree/releases/tag/1.0.0> … <https://github.com/tox-dev/pipdeptree/releases/tag/2.13.0> I am not sure why portscout never catch it. I will push an update on my next batch of commit. I installed the latest version: % pkg info py39-pipdeptree py39-pipdeptree-2.13.0 Name : py39-pipdeptree Version : 2.13.0 Installed on : Wed Oct 11 08:29:48 2023 CEST Origin : devel/py-pipdeptree Architecture : FreeBSD:14:* Prefix : /usr/local Categories : python devel Licenses : MIT Maintainer : bofh@FreeBSD.org WWW : https://github.com/naiquevin/pipdeptree Comment : Command line utility to show dependency tree of packages Annotations : flavor : py39 repo_type : binary repository : FreeBSD Flat size : 156KiB Description : pipdeptree is a command line utility for displaying the installed python packages in form of a dependency tree. It works for packages installed globally on a machine as well as in a virtualenv. But it fails to run with ImportError: % pipdeptree Traceback (most recent call last): File "/usr/local/bin/pipdeptree", line 5, in <module> from pipdeptree.__main__ import main File "/usr/local/lib/python3.9/site-packages/pipdeptree/__main__.py", line 6, in <module> from pipdeptree._cli import get_options File "/usr/local/lib/python3.9/site-packages/pipdeptree/_cli.py", line 7, in <module> from .version import __version__ ImportError: cannot import name '__version__' from 'pipdeptree.version' (/usr/local/lib/python3.9/site-packages/pipdeptree/version.py) Any ideas why? Reopening per comment #4. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=935065c7f7b49fc512df152f12859fcdd3ba476d commit 935065c7f7b49fc512df152f12859fcdd3ba476d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-10-18 20:47:30 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-10-18 21:15:32 +0000 devel/py-pipdeptree: Fix runtime At runtime the program crashes due to an error like the following: ImportError: cannot import name '__version__' from 'pipdeptree.version' Which is caused due to the new template format of the setuptools_scm. Currently this is just a dirty hack to support older(<7) setuptools_scm format. PR: 274101 Reported by: vedran@miletic.net devel/py-pipdeptree/Makefile | 5 +++++ 1 file changed, 5 insertions(+) Works great, thank you! |