Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jan 2024 16:55:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275946] devel/py-pipx: cannot be run
Message-ID:  <bug-275946-7788-8fLYywRDHp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275946-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275946-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Jes=C3=BAs Daniel Colmenares Oviedo <DtxdF@disroot.org>=
 ---
Created attachment 247545
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247545&action=
=3Dedit
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/__ini=
t__.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)

--=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-8fLYywRDHp>