[Bug 263639] devel/py-platformdirs: Fails to run after 2.5.2 update: ModuleNotFoundError: No module named 'platformdirs' (breaks consumer: devel/pylint (at least))
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Apr 2022 22:42:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263639 --- Comment #4 from commit-hook@FreeBSD.org --- 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(-) -- You are receiving this mail because: You are on the CC list for the bug.