From nobody Sun Feb 05 16:51:59 2023 X-Original-To: dev-commits-ports-all@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 4P8wRp1gS7z3kZgC for ; Sun, 5 Feb 2023 16:52:38 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P8wRp105fz42sd for ; Sun, 5 Feb 2023 16:52:38 +0000 (UTC) (envelope-from sunpoet@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675615958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=krMG3Pdc7IAhsOrvt0u54IRh7lXq/3WwmdMQSUqJVtw=; b=q6j6qZqKdJokYAW1OoAEr/fFbNhtzUnqRdW3dV1Yz6qqeq6gINzy4zdygYvZJl4Vey0VHK sZ2aPjddbsUMIV/oTA2ak76/JtuzLWr9o/0UxBwc2rjXuOnQNwx101TEHg0KhdKu6jApNC pXenrltbIK9TBa5r4lRmXTHzoy7QIey56r9Jy9rAMSxoT1Mxb0WU8RS/IFVnAxzYID/qFj nhsBjt5AOQxBQx373uYO6gJq8WUdkQjhnyIOfe8rQ/5N8/6CbcGdHPsEbt2gIICcbCMIHU viiw8ja3BvOqJWGhYsxgizCDS6bGcNV9lL8wfpmb9LPhpJ7+ZIl8QZosDxAvSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675615958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=krMG3Pdc7IAhsOrvt0u54IRh7lXq/3WwmdMQSUqJVtw=; b=WDVlnj2NLeJiv5RddJ7GXim+vCLPxDlMQUGVzOwULB27xM7fN4NP17cHf0ljOHQOHtMPp9 AKS2J4zCvwclVEEiKxvUaheRG2I703fsfWvmEIZITnqIQc9/wnjUcLnnaxFtQo25lORq67 QdBMUrOxW4N0QEavmmkTO9bJCe2+5+aS7dgeEeGDzQDK5JxK458WxvqrCLUOFfHYGbvNd5 3iTl5S9F14NRe15oOXTPjEIvxX75MMIPRVgjOa/5ghAeUTqQyVYqyPmHAqIZ3Ae1jrLB+N 8Ma7XB5tv3oOgI9TPJJN3HOX++PP/HrtRLH0Vg/4pRmAN/SrgziWNoL4H8w0SQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675615958; a=rsa-sha256; cv=none; b=EXIO9nDIDC3SHiUHXO5Jp03gTzDrxjt6x9gHmK83nCkpZ0f9lFqvIX4ddEn81jIcuGJVFC /i1oxj7A0VWZMel47At4RqnKXhZ687oUmV9cBZ4EKEHEwemsog2R0rU09WZ5arVorm1Jtm OYGCcVP4wVw5XOQI9Y6JMcgNC7ynE02uCU1+9n6Lst55lRsXT+h0F6g5wiKMDL79C9eZC7 Zggx0b0NuxhB2MiGecvj5GyRGApENkMWqoMBvoFc3s78ElxtEYC6HxzdITXZDvqs54xL9p 0yVyrMZyLAZpMOgeVRO+yOy2zLrEwhwXosLcbV9OZniYc6vwJbwN9+5SX9if3A== Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 4P8wRn74FszwPp for ; Sun, 5 Feb 2023 16:52:37 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-ej1-f48.google.com with SMTP id ml19so28236826ejb.0 for ; Sun, 05 Feb 2023 08:52:37 -0800 (PST) X-Gm-Message-State: AO0yUKX7hvo+NrSGPMD/i5xI46EGJB/eZ9MV6MgtF+uPsj4R+w5wYIw3 18a0HfMaAF2IYdC6BW4VHrGrrJ5rEXa0hIld9UEBjg== X-Google-Smtp-Source: AK7set9ibMMRlJNNyL38/YRTKAzuhg7xXCgUWsTmLiygxoB+ExA6O08FovJ3uTmgonL/FVh3YjslNptO+UHt6s6GifY= X-Received: by 2002:a17:906:c241:b0:7c0:b3a8:a5f9 with SMTP id bl1-20020a170906c24100b007c0b3a8a5f9mr4714575ejb.154.1675615956902; Sun, 05 Feb 2023 08:52:36 -0800 (PST) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 References: <202301301308.30UD8pf6056990@gitrepo.freebsd.org> In-Reply-To: From: Po-Chuan Hsieh Date: Mon, 6 Feb 2023 00:51:59 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: 8b6f38739d2f - main - devel/py-hatchling: Update to 1.12.2 To: Po-Chuan Hsieh Cc: Charlie Li , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e435f005f3f6bd4a" X-ThisMailContainsUnwantedMimeParts: N --000000000000e435f005f3f6bd4a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Feb 5, 2023 at 3:19 PM Po-Chuan Hsieh wrote: > On Tue, Jan 31, 2023 at 8:06 AM Charlie Li wrote: > >> Po-Chuan Hsieh wrote: >> > The branch main has been updated by sunpoet: >> > >> > URL: >> https://cgit.FreeBSD.org/ports/commit/?id=3D8b6f38739d2f582a2f8a0d3702e3= 5fbf1bb1b630 >> > >> > commit 8b6f38739d2f582a2f8a0d3702e35fbf1bb1b630 >> > Author: Po-Chuan Hsieh >> > AuthorDate: 2023-01-30 12:31:22 +0000 >> > Commit: Po-Chuan Hsieh >> > CommitDate: 2023-01-30 12:59:47 +0000 >> > >> > devel/py-hatchling: Update to 1.12.2 >> > >> > Changes: >> https://github.com/pypa/hatch/commits/master/backend >> > --- >> > devel/py-hatchling/Makefile | 5 +++-- >> > devel/py-hatchling/distinfo | 6 +++--- >> > devel/py-hatchling/files/setup.py | 23 +++++++++-------------- >> > 3 files changed, 15 insertions(+), 19 deletions(-) >> > >> This, along with other ports, are to have USE_PYTHON=3Dpep517 and setup.= py >> removed. >> > > Thanks for your work, > I'll check the pep517 implementation. If it's ready, I'll start convertin= g > my ports to it. > I've read the pep517 implementation. The first issue I noticed was about not installing the bytecode. It is failing poudriere builds with build_fs_violation. e.g. from py-sphinx log: =3D>> Checking for staging violations... done =3D>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}): extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__ =3D>> Cleaning up wrkdir I guess it was not noticed before because currently most of the ports using pep517 are leaf ports. But it is not the case after py-importlib-metadata converted to pep517. I've prepared a patch to fix this. Regards, sunpoet > >> -- >> Charlie Li >> =E2=80=A6nope, still don't have an exit line. >> >> >> --000000000000e435f005f3f6bd4a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Feb 5, 2023 at 3:19 PM Po-Chuan H= sieh <sunpoet@f= reebsd.org> wrote:
On T= ue, Jan 31, 2023 at 8:06 AM Charlie Li <vishwin@freebsd.org> wrote:
Po-C= huan Hsieh wrote:
> The branch main has been updated by sunpoet:
>
> URL: https:= //cgit.FreeBSD.org/ports/commit/?id=3D8b6f38739d2f582a2f8a0d3702e35fbf1bb1b= 630
>
> commit 8b6f38739d2f582a2f8a0d3702e35fbf1bb1b630
> Author:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh <sunpoet@FreeBSD.org><= br> > AuthorDate: 2023-01-30 12:31:22 +0000
> Commit:=C2=A0 =C2=A0 =C2=A0Po-Chuan Hsieh <sunpoet@FreeBSD.org><= br> > CommitDate: 2023-01-30 12:59:47 +0000
>
>=C2=A0 =C2=A0 =C2=A0 devel/py-hatchling: Update to 1.12.2
>=C2=A0 =C2=A0 =C2=A0
>=C2=A0 =C2=A0 =C2=A0 Changes:=C2=A0 =C2=A0 =C2=A0 =C2=A0 https://github.com/pypa/hatch/commits/master/backend
> ---
>=C2=A0 =C2=A0devel/py-hatchling/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2= =A0 5 +++--
>=C2=A0 =C2=A0devel/py-hatchling/distinfo=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2= =A0 6 +++---
>=C2=A0 =C2=A0devel/py-hatchling/files/setup.py | 23 +++++++++----------= ----
>=C2=A0 =C2=A03 files changed, 15 insertions(+), 19 deletions(-)
>
This, along with other ports, are to have USE_PYTHON=3Dpep517 and setup.py =
removed.

Thanks for your work,
I'll check the pep517 implementation. If it's ready, I'll sta= rt converting my ports to it.

I've read the pep517 implementation.
The first issue= I noticed was about not installing the=C2=A0bytecode.
It is fail= ing poudriere builds with build_fs_violation.
e.g.
= from py-sphinx log:
=3D>> Checking for staging violations... done<= br>=3D>> Error: Filesystem touched during stage (files must install t= o ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_m= etadata/__pycache__
=3D>> Cleaning up wrkdir

I guess it was not noticed before because currently most of the por= ts using pep517 are leaf ports.
But it is not the case after py-i= mportlib-metadata converted to pep517.

I've pr= epared a patch to fix this.

Regards,
sun= poet

=


--
Charlie Li
=E2=80=A6nope, still don't have an exit line.


--000000000000e435f005f3f6bd4a--