From nobody Thu Apr 28 21:43:19 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B0E471AB09CB for ; Thu, 28 Apr 2022 21:43:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kq8Hq3xSpz4SVy for ; Thu, 28 Apr 2022 21:43:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 676422068C for ; Thu, 28 Apr 2022 21:43:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23SLhJA1016215 for ; Thu, 28 Apr 2022 21:43:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23SLhJMQ016214 for ports-bugs@FreeBSD.org; Thu, 28 Apr 2022 21:43:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263639] devel/py-platformdirs: Version 2.5.2 breaks pylint (at least) Date: Thu, 28 Apr 2022 21:43:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: leres@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651182199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tU7kvAv+UVZ6jJq1ZlVI5FOpprUrSzMzJotC7zPmZAs=; b=ACJ2JO9I9KRGEjPWRWaQpjEaD+i1lSBiLm2jLjSZkOMn4AM21ciyG4NnsiJi+od1C7fV/1 tlsh7TKtC8FkhjJRmqqGCdSdBmtTj9GecIlzYQrujT/p/2crgv8pTaxS6Um0/oK0U8ZV79 jhexxdf98SU2gkjjBa5pyecxGoO6a54C3bSKdGIgvpFAWdkh4KmhyeVGNveWcDNwr/a71b 49np0X9tGMwAPMj1K+XjHgi/VaLDhYXLyF2kwzHlLr8agI5w8CMu1aIlrDK1xDSbZD/+3x keI4e5TQBYHQbNM4yvzacsavD/UKGwRB72/nxnyH/MIXJGnmtmzV6WIgZsZHaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651182199; a=rsa-sha256; cv=none; b=Oa5HUtS3bupw1D9shakLylHhJS9GBmPgvWuOcwNSqZZpHNEIMxSrTYXOD/hcKJhrxX43aB hnobriiGqRa7vjWPipnWnZJ1Yuo5/exmEx7eqnahKrJ4wzy9Que1lySu6D4e7O0jSw/Ikq iU2L/UxlZTHv4e/gRzOdsO11aF+MCzawWbjHY7yoxVp1RgjlATzydna0W9v6H/Tq8Gf/Dt jI7cVs9Wf1WRHgRVTT9qKUgicO82eB9zqJsbVXD7Nl8FcpAzfJA2TACQJS4SY6Ffff0mdg kU9vQof1o0kw9i8h4OwJowzcPi8YIAx3Ws4ztT/bV7EXnz0AXCkmSUCbzbztDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263639 Bug ID: 263639 Summary: devel/py-platformdirs: Version 2.5.2 breaks pylint (at least) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: leres@freebsd.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) 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 [...] from pylint import utils File "/usr/local/lib/python3.9/site-packages/pylint/utils/__init__.py= ", line 10, in from pylint.utils.docs import print_full_documentation File "/usr/local/lib/python3.9/site-packages/pylint/utils/docs.py", l= ine 10, in from pylint.constants import MAIN_CHECKER_NAME File "/usr/local/lib/python3.9/site-packages/pylint/constants.py", li= ne 10, in import platformdirs ModuleNotFoundError: No module named 'platformdirs' Downgrading to 2.5.1 fixes this. The problem appears to be that the platformdirs module installs in: /usr/local/lib/python3.9/site-packages/src/platformdirs=20 (Note extra /src/ in the path.) Apparently 2.5.2 does not include setup.py = so the port now supplies one but it needs the tweak described here to adjust f= or the "src" subdir in the distribution: https://stackoverflow.com/a/36012825/2994620 The attached patch implements this change. --=20 You are receiving this mail because: You are the assignee for the bug.=