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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 09 Jan 2024 16:55:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275946

--- Comment #1 from Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> ---
Created attachment 247545
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247545&action=edit
pipx-1.4.1.patch

Description:

* Fix ImportError: cannot import name '__version__' from 'pipx.version'
  - pipx requires `__version__` to be defined, but hatch-vcs does not
    generate it when using the ports tree. To fix this, a template
    based on the default template [1] is used.

[1]
https://github.com/pypa/setuptools_scm/blob/v6.4.0/src/setuptools_scm/__init__.py#L30-L39

ChangeLog: https://pipx.pypa.io/latest/changelog/#141

* Set default logging level to WARNING, so debug log messages won't be shown
without passing additional flags such as --verbose.

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 14.0-RELEASE, amd64)

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