Summary: | devel/py-platformdirs: Fails to run after 2.5.2 update: ModuleNotFoundError: No module named 'platformdirs' (breaks consumer: devel/pylint (at least)) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Craig Leres <leres> | ||||
Component: | Individual Port(s) | Assignee: | Craig Leres <leres> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | python | ||||
Priority: | --- | Keywords: | regression | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(sunpoet) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Craig Leres
2022-04-28 21:43:19 UTC
Created attachment 233568 [details]
patch
@Craig Thanks for the report. Please commit (and merge if quarterly is affected) if it has been otherwise QA'd Comment on attachment 233568 [details]
patch
Approved by: portmgr (blanket: runtime bugfix)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=24c7573559e508cc0fa0746cf5d4e213cc79d127 commit 24c7573559e508cc0fa0746cf5d4e213cc79d127 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2022-04-28 22:41:36 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2022-04-28 22:41:36 +0000 devel/py-platformdirs: Unbreak after 2.5.2 update The upgrade of py-platformdirs to 2.5.2 breaks pylint (and most certainly anything else that uses the module): lns 57 % pylint [...] lblcache.py [...] ModuleNotFoundError: No module named 'platformdirs' Apply the tweak described here to adjust for the "src" subdir in the distribution: https://stackoverflow.com/a/36012825/2994620 PR: 263639 Approved by: koobs (portmgr blanket: runtime bugfix) devel/py-platformdirs/Makefile | 1 + devel/py-platformdirs/files/setup.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 2.5.2 was committed on April 28th so I don't think this impacts the quarterly. |