[Bug 277080] devel/py-pipx@py39 broken: ImportError: cannot import name '__version__' from 'pipx.version'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Feb 2024 00:31:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277080 Bug ID: 277080 Summary: devel/py-pipx@py39 broken: ImportError: cannot import name '__version__' from 'pipx.version' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: ngie@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org I tried using pipx on a recently built version of 15.0-CURRENT and ran into the following issue: ``` $ pipx ensurepath 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) $ python3.9 -m pip --version pip 23.3.2 from /usr/local/lib/python3.9/site-packages/pip (python 3.9) $ python3.9 -c 'import setuptools; print(setuptools.__version__)' 63.1.0 $ pkg query "%n %v" py39-pip py39-setuptools py39-pipx py39-pip 23.3.2 py39-setuptools 63.1.0_1 py39-pipx 1.3.3 $ uname -a FreeBSD fbsd-current.envy.local 15.0-CURRENT FreeBSD 15.0-CURRENT #4 main-n268212-bd45bbe440f1: Mon Feb 12 18:19:05 PST 2024 ngie@fbsd-current.envy.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 ``` This also repros on a 13.2-RELEASE-p4 host: ``` $ pipx --version 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) $ pkg query "%n %v" py39-pip py39-setuptools py39-pipx py39-pip 23.3.2 py39-setuptools 63.1.0_1 py39-pipx 1.3.3 $ uname -a FreeBSD gilot.local 13.2-RELEASE-p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64 ``` -- You are receiving this mail because: You are the assignee for the bug.