From nobody Sat Oct 23 14:36:08 2021 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 10D86181426C for ; Sat, 23 Oct 2021 14:36:09 +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 4Hc3gD7086z4qRd for ; Sat, 23 Oct 2021 14:36:08 +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 CD9C624001 for ; Sat, 23 Oct 2021 14:36:08 +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 19NEa8hR031497 for ; Sat, 23 Oct 2021 14:36:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19NEa8df031496 for ports-bugs@FreeBSD.org; Sat, 23 Oct 2021 14:36:08 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 259381] py-platformdirs does not build Date: Sat, 23 Oct 2021 14:36:08 +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 Some People X-Bugzilla-Who: xavier@groumpf.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259381 Bug ID: 259381 Summary: py-platformdirs does not build Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: xavier@groumpf.org CC: kai@FreeBSD.org, python@FreeBSD.org CC: kai@FreeBSD.org, python@FreeBSD.org As mentioned in a thread in ports@freebsd.org, the problem seems to be rela= ted with outdated versions of py-setuptools/py-setuptools_scm On Mon, 18 Oct 2021 12:51:05 +0200, Xavier Humbert wrote: > [root@numenor ~]# cd /usr/ports/devel/py-platformdirs/ > [root@numenor py-platformdirs]# make > =3D=3D=3D> py38-platformdirs-2.4.0 depends on package: py38-setuptools>= 0 - > found > =3D=3D=3D> py38-platformdirs-2.4.0 depends on file: > /usr/local/bin/python3.8 - found > =3D=3D=3D> Configuring for py38-platformdirs-2.4.0 > Traceback (most recent call last): > File "", line 1, in > File "setup.py", line 3, in > setup() > File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", > line 153, in setup > return distutils.core.setup(**attrs) > File "/usr/local/lib/python3.8/distutils/core.py", line 108, in setup > _setup_distribution =3D dist =3D klass(attrs) > File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line > 455, in __init__ > _Distribution.__init__(self, { > File "/usr/local/lib/python3.8/distutils/dist.py", line 292, in __init__ > self.finalize_options() > File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line > 801, in finalize_options > ep(self) > File > "/usr/local/lib/python3.8/site-packages/setuptools_scm/integration.py", > line 48, in infer_version > dist.metadata.version =3D _get_version(config) > File > "/usr/local/lib/python3.8/site-packages/setuptools_scm/__init__.py", > line 156, in _get_version > dump_version( > File > "/usr/local/lib/python3.8/site-packages/setuptools_scm/__init__.py", > line 84, in dump_version > fp.write(template.format(version=3Dversion)) > KeyError: 'version_tuple' OK, the build error is caused by devel/py-setuptools_scm. It works if I - update devel/py-setuptools to version 58.2.0 - update devel/py-setuptools_scm to version 6.3.2 - install texproc/py-tomli Tested with python39 only and it possibly will break other ports. Can you open a PR at https://bugs.freebsd.org? Maybe python@ or sunpoet@ can help. Regards, Xavier --=20 You are receiving this mail because: You are the assignee for the bug.=