Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2022 22:42:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 263639] devel/py-platformdirs: Fails to run after 2.5.2 update: ModuleNotFoundError: No module named 'platformdirs' (breaks consumer: devel/pylint (at least))
Message-ID:  <bug-263639-21822-E0CdeiE0Zp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263639-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263639-21822@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=3D263639

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D24c7573559e508cc0fa0746cf5d4e21=
3cc79d127

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(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263639-21822-E0CdeiE0Zp>