Re: git: a0265e10800f - main - devel/py-platformdirs: Update to 2.5.2
Date: Thu, 28 Apr 2022 00:51:09 UTC
On 4/26/22 08:04, Po-Chuan Hsieh wrote: > The branch main has been updated by sunpoet: > > URL:https://cgit.FreeBSD.org/ports/commit/?id=fac720575b2e7101cb806f638aefabf14c49df26 > > commit fac720575b2e7101cb806f638aefabf14c49df26 > Author: Po-Chuan Hsieh<sunpoet@FreeBSD.org> > AuthorDate: 2022-04-26 14:51:52 +0000 > Commit: Po-Chuan Hsieh<sunpoet@FreeBSD.org> > CommitDate: 2022-04-26 15:01:13 +0000 > > devel/pylint: Update to 2.13.7 On 4/26/22 08:05, Po-Chuan Hsieh wrote: > The branch main has been updated by sunpoet: > > URL:https://cgit.FreeBSD.org/ports/commit/?id=a0265e10800f0b041679529eec3b106c6f7ca07a > > commit a0265e10800f0b041679529eec3b106c6f7ca07a > Author: Po-Chuan Hsieh<sunpoet@FreeBSD.org> > AuthorDate: 2022-04-26 14:53:38 +0000 > Commit: Po-Chuan Hsieh<sunpoet@FreeBSD.org> > CommitDate: 2022-04-26 15:01:25 +0000 > > devel/py-platformdirs: Update to 2.5.2 pylint doesn't work for me anymore and I suspect it's because something is wrong with the way py-platformdirs gets installed... lns 57 % pylint [...] lblcache.py [...] from pylint import utils File "/usr/local/lib/python3.9/site-packages/pylint/utils/__init__.py", line 10, in <module> from pylint.utils.docs import print_full_documentation File "/usr/local/lib/python3.9/site-packages/pylint/utils/docs.py", line 10, in <module> from pylint.constants import MAIN_CHECKER_NAME File "/usr/local/lib/python3.9/site-packages/pylint/constants.py", line 10, in <module> import platformdirs ModuleNotFoundError: No module named 'platformdirs' I found the expected RUN_DEPENDS for py-platformdirs but "pkg info -l py39-platformdirs" shows the module is installed in: /usr/local/lib/python3.9/site-packages/src/platformdirs instead of: /usr/local/lib/python3.9/site-packages/platformdirs I cannot import platformdirs in ipython either. Nothing else is in the site-packages/src directory so I'm pretty confident that's the problem. I see the platformdirs commit is adding a setup.py from scratch so my guess is it's the problem? Craig