From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sun, 27 Oct 2024 15:09:37 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1t53xY-001TCr-0z for lore@lore.pengutronix.de; Sun, 27 Oct 2024 15:09:37 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1t53xZ-0000HA-4Y; Sun, 27 Oct 2024 15:09:37 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t53x6-0000Gz-Kl; Sun, 27 Oct 2024 15:09:08 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1t53x6-000hOl-1S; Sun, 27 Oct 2024 15:09:08 +0100 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1t53x6-00GXek-1A; Sun, 27 Oct 2024 15:09:08 +0100 Date: Sun, 27 Oct 2024 15:09:08 +0100 From: Michael Olbrich To: Lars Pedersen Message-ID: Mail-Followup-To: Lars Pedersen , ptxdist@pengutronix.de References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode Subject: Re: [ptxdist] python3-urllib3 version 2.2.2 broken X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hi, On Sun, Oct 27, 2024 at 01:45:36PM +0100, Lars Pedersen wrote: > I have got patch set to get hatchling and python3-urllib working. I'll > try to send it on Tuesday. Right, I may revert the package for the November release instead. I'm not sure yet. It depends a bit in the timing. > On a side note. Can anyone explain the difference been "host" and > host-system" package definition? For Python packages that is a bit fuzzy. In general, 'host-system' means that PTXdist does not actually built the package, but simply check that the relevant stuff is available on the build host. The 'host' packages are actually built by PTXdist. For Python, things are a bit more complex. 'host-python3' and all 'host-python3-*' packages are there for one specific use-case: To build the target Python. 'host-system-python3' ensures that Python 3.x is available on the build host, so it can be used by build scripts written in Python. At some point, it also checked to ensure that all required Python modules are also available. But with the growing number of such required modules, that became unfeasible. So now, 'host-system-python3-*' are packages that use the Python from the build host but are built by PTXdist and installed into a virtualenv. Regards, Michael > On Fri, 25 Oct 2024 at 14:17, Lars Pedersen wrote: > > > > python3-urllib3 is broken after the 1.26.6 -> 2.2.2 version bump. > > Version 2.2.2 requires hatchling as build backend. > > > > ptxdist is still able to compile a half built package that could be > > imported in python on target, > > > > /Lars Pedersen > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |