From patchwork Mon Apr 22 20:49:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= X-Patchwork-Id: 42769 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE3FBC4345F for ; Mon, 22 Apr 2024 20:50:17 +0000 (UTC) Received: from usb-smtp-delivery-118.mimecast.com (usb-smtp-delivery-118.mimecast.com [170.10.151.118]) by mx.groups.io with SMTP id smtpd.web11.3302.1713819013206347226 for ; Mon, 22 Apr 2024 13:50:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@noxmedical.com header.s=mimecast20231107 header.b=fc1iwhlG; spf=pass (domain: noxmedical.com, ip: 170.10.151.118, mailfrom: gudnimar@noxmedical.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noxmedical.com; s=mimecast20231107; t=1713819012; 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; bh=Hlh0ayPDqb/28RmJKpI80eOLU0ev5L5yKkn3Bbx5xkQ=; b=fc1iwhlGolYVo+YRiORK/XEygfzePKjhPwTfu/rcGpC26sCLY2b3+uh9vBIMA4gPe+2Vj3 qzNu0rfuKp/KfIysLdyUCFiJJC2xOX1Sl5eCRB2PcaVB8SUTu2i5Z48ZOLLoU5Dec+UGZR YaOxS28+XnI0TrEoOPF+9nTWrcDv7NA= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id usb-mta-13-m8DWSdOuNIS2rIynTPSbBQ-1; Mon, 22 Apr 2024 13:50:07 -0700 X-MC-Unique: m8DWSdOuNIS2rIynTPSbBQ-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-518c3c6e757so3975168e87.0 for ; Mon, 22 Apr 2024 13:50:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713819005; x=1714423805; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ng/1sD2/stkZWiFpXpFBYIj+gMRwtCUnk/1Kw7sXsMY=; b=eOLC4RZ3VL7aqHPr3tIGARvptC1HufOzLIz06CTFNGBR/z5/YYAPgcVieUUkn3kUw3 it2j/wkRknkRMZNfrPvEBbnMtMqqIzZRmAF8UUjlZmHCUgeib/9i7FgXZ/DOyCGj8q/p G05nxxcQW2VqszUWxKvZTkeW3gfldoOJUPSvU0g4T0oV5s318AtZxjj7in3gvf2EjAmp 74zwkOSszkoQgx7n6LpnyPA5rWQFzr8Y4OnbpzP5lLFW7mYT789n6XjrM0ixY5C6LuxM jAkmiG2J1zdtCY/nvIDnsBVB3pGMgYG0kiwnzezestleAHi62/4Yc9bmdZd+Xwrw65pE D8rA== X-Gm-Message-State: AOJu0YwkO4IZ7RB9sXSK3Ub5ntR4yLdoDKwNxKArRrP0gKS7o/CwYHKd LJkBXNXT7exDMVDV59ljbyAr+84pfz/xzsjZzUpSXXl2nVe2qZPL0YfeLp4gg5Ys4kBXKdl5edt ylHoc8hZ9qmCrlZPS3ZfD0epD2/egNs/p4BdoYLQ8KBxk+8SeKurWLiTWy2XTgZJktK2fOs500i 1OJtF3EmqSkBy85uZ0EJKNPv0P8XMZ3lNacXUJ4bT3Je2mL3lQiAEHjko+WALe5L1Ciz/t X-Received: by 2002:a05:6512:3054:b0:516:e8b1:177d with SMTP id b20-20020a056512305400b00516e8b1177dmr8989663lfb.65.1713819004918; Mon, 22 Apr 2024 13:50:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5tAIGtCMdKcPqijdCrO13o3X4D/qMvfOBIeahY23do5RoHkN7sS5/w24D1IwJ29j+y2IrmA== X-Received: by 2002:a05:6512:3054:b0:516:e8b1:177d with SMTP id b20-20020a056512305400b00516e8b1177dmr8989646lfb.65.1713819004241; Mon, 22 Apr 2024 13:50:04 -0700 (PDT) Received: from gudni-virtual-machine.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id x21-20020a170906299500b00a5875dd74c2sm282446eje.131.2024.04.22.13.50.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 13:50:03 -0700 (PDT) From: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= To: openembedded-devel@lists.openembedded.org Cc: =?utf-8?q?Gu=C3=B0ni_M=C3=A1r_Gilbert?= Subject: [meta-python][PATCHv2] python3-twisted: upgrade 22.10.0 -> 24.3.0 Date: Mon, 22 Apr 2024 20:49:50 +0000 Message-Id: <20240422204950.1619661-1-gudnimar@noxmedical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: noxmedical.com List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 22 Apr 2024 20:50:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110107 Summary of changes relevant for the Yocto build: - Brings official support for Python 3.11 and 3.12, only Python 3.8 and above supported. - python3-twisted-conch: python3-pyasn1 is no longer a runtime dependency (23.8.0) - build backend changed from setuptools.build_meta to hatchling.build Signed-off-by: Guðni Már Gilbert --- ...d_22.10.0.bb => python3-twisted_24.3.0.bb} | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) rename meta-python/recipes-devtools/python/{python3-twisted_22.10.0.bb => python3-twisted_24.3.0.bb} (91%) diff --git a/meta-python/recipes-devtools/python/python3-twisted_22.10.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb similarity index 91% rename from meta-python/recipes-devtools/python/python3-twisted_22.10.0.bb rename to meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb index 20b9ce254..e5223ccd6 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_22.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb @@ -1,16 +1,14 @@ DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." -HOMEPAGE = "http://www.twistedmatrix.com" +HOMEPAGE = "https://twisted.org" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0f8d67f84b6e178c92d471011b2245fc" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5" -SRC_URI[sha256sum] = "32acbd40a94f5f46e7b42c109bfae2b302250945561783a8b7a059048f2d4d31" +SRC_URI[sha256sum] = "6b38b6ece7296b5e122c9eb17da2eeab3d98a198f50ca9efd00fb03e5b4fd4ae" -PYPI_PACKAGE = "Twisted" - -inherit pypi python_setuptools_build_meta +inherit pypi python_hatchling do_install:append() { # remove some useless files before packaging @@ -34,6 +32,7 @@ PACKAGES += "\ " DEPENDS += " \ + python3-hatch-fancy-pypi-readme-native \ python3-incremental-native \ " @@ -58,14 +57,13 @@ RDEPENDS:${PN}-core = "python3-appdirs \ python3-debugger \ python3-hyperlink \ python3-incremental \ - python3-pyhamcrest \ python3-pyserial \ python3-typing-extensions \ python3-unixadmin \ python3-zopeinterface \ " -RDEPENDS:${PN}-test = "${PN}" -RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pyasn1 python3-pickle" +RDEPENDS:${PN}-test = "${PN} python3-pyhamcrest" +RDEPENDS:${PN}-conch = "${PN}-core ${PN}-protocols python3-bcrypt python3-cryptography python3-pickle" RDEPENDS:${PN}-mail = "${PN}-core ${PN}-protocols" RDEPENDS:${PN}-names = "${PN}-core" RDEPENDS:${PN}-news = "${PN}-core ${PN}-protocols" @@ -75,8 +73,6 @@ RDEPENDS:${PN}-words += "${PN}-core" RDEPENDS:${PN}-flow += "${PN}-core" RDEPENDS:${PN}-pair += "${PN}-core" -FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/${PYPI_PACKAGE}-${PV}.dist-info/*" - FILES:${PN}-test = " \ ${PYTHON_SITEPACKAGES_DIR}/twisted/test \ ${PYTHON_SITEPACKAGES_DIR}/twisted/*/test \ @@ -85,8 +81,6 @@ FILES:${PN}-test = " \ FILES:${PN}-protocols = " \ ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/*.py* \ - ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/gps/ \ - ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/mice/ \ ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/haproxy \ ${PYTHON_SITEPACKAGES_DIR}/twisted/protocols/__pycache__/*pyc \ " @@ -124,7 +118,6 @@ FILES:${PN}-core = " \ ${PYTHON_SITEPACKAGES_DIR}/twisted/*.py* \ ${PYTHON_SITEPACKAGES_DIR}/twisted/python/*.py* \ ${PYTHON_SITEPACKAGES_DIR}/twisted/plugins/*.py* \ - ${PYTHON_SITEPACKAGES_DIR}/Twisted*egg-info \ ${PYTHON_SITEPACKAGES_DIR}/twisted/logger \ ${PYTHON_SITEPACKAGES_DIR}/twisted/_threads \ ${PYTHON_SITEPACKAGES_DIR}/twisted/positioning \