Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2023 07:46:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274101] Please update devel/py-pipdeptree to 2.13.0
Message-ID:  <bug-274101-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274101

            Bug ID: 274101
           Summary: Please update devel/py-pipdeptree to 2.13.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: vedran@miletic.net
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

The latest stable upstream version is 2.13.0 and the current version in Por=
ts
is 0.13.2 (note the interesting reversal of the version numbers between the
two).

The version 0.13.2 installed from Ports fails with the latest pip, also from
Ports:

% pipdeptree
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pipdeptree.py", line 17, in
<module>
from pip._internal.utils.misc import get_installed_distributions
ImportError: cannot import name 'get_installed_distributions' from
'pip._internal.utils.misc'
(/usr/local/lib/python3.9/site-packages/pip/_internal/utils/misc.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/pipdeptree", line 33, in <module>
sys.exit(load_entry_point('pipdeptree=3D=3D0.13.2', 'console_scripts',
'pipdeptree')())
File "/usr/local/bin/pipdeptree", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load
module =3D import_module(match.group('module'))
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/local/lib/python3.9/site-packages/pipdeptree.py", line 20, in
<module>
from pip import get_installed_distributions, FrozenRequirement
ImportError: cannot import name 'get_installed_distributions' from 'pip'
(/usr/local/lib/python3.9/site-packages/pip/__init__.py)

This was fixed upstream more than a year ago:
https://github.com/tox-dev/pipdeptree/issues/155

--=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-274101-7788>