[Bug 275946] devel/py-pipx: cannot be run

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Jan 2024 17:31:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275946

Henry Schreiner <henryfs@princeton.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henryfs@princeton.edu

--- Comment #2 from Henry Schreiner <henryfs@princeton.edu> ---
The best fix would be to patch it to `from pipx.version import version as
__version__`, since older versions of setuptools_scm don't provide the
`__version__` alias; this was added in version 7, which for some reason seems
to be a separate package and not a dependency of hatch_vcs.

I've proposed an upstream fix at https://github.com/pypa/pipx/pull/1208, though
ideally setuptools_scm should be updated to version 7 or even version 8.

-- 
You are receiving this mail because:
You are the assignee for the bug.