Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2023 11:49:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275946] devel/pipx: cannot be run
Message-ID:  <bug-275946-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 275946
           Summary: devel/pipx: cannot be run
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: alexey@ocaml.nl

pipx <whatever> =3D>
Traceback (most recent call last):
  File "/usr/local/bin/pipx", line 5, in <module>
    from pipx.main import cli
  File "/usr/local/lib/python3.9/site-packages/pipx/main.py", line 31, in
<module>
    from pipx.version import __version__
ImportError: cannot import name '__version__' from 'pipx.version'
(/usr/local/lib/python3.9/site-packages/pipx/version.py)


Indeed, there is no __version__ in pipx.version. Editing
/usr/local/lib/python3.9/site-packages/pipx/version.py to define __version__
(duplicating 'version' definition) fixes the things.

FreeBSD 14.0-p4, both the latest package and the port from the latest branch
=E2=9D=AF grep PORTVERSION /usr/ports/devel/py-pipx/Makefile
PORTVERSION=3D    1.3.3

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