From patchwork Mon Apr 22 21:00:12 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: 42770 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 BD6EDC4345F for ; Mon, 22 Apr 2024 21:00:57 +0000 (UTC) Received: from usb-smtp-delivery-118.mimecast.com (usb-smtp-delivery-118.mimecast.com [170.10.153.118]) by mx.groups.io with SMTP id smtpd.web11.3559.1713819649826539927 for ; Mon, 22 Apr 2024 14:00:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@noxmedical.com header.s=mimecast20231107 header.b=Gai0tW1N; spf=pass (domain: noxmedical.com, ip: 170.10.153.118, mailfrom: gudnimar@noxmedical.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noxmedical.com; s=mimecast20231107; t=1713819649; 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=0ndncfHmdrcjrnIHL+dDE5CGFX68vNYjnKmx+gDHd0w=; b=Gai0tW1NyOYmGOLl6n/EdrJGpOZKgKE1QqqUcFfx++E7o0Fp1t/kB6ov9qacnLin5MDlnx ztJmgYHooIT4HJp2F5T1DYb6eBUCk0g9zmXco6haFFbkpxhVRGs4UH8Ma97yExPnfe49Zc oKNHoCphOMVQkuEd2ergCLFO3OetjcQ= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id usb-mta-24-0c98KXpMO1ae2j4mKd9TiA-1; Mon, 22 Apr 2024 14:00:43 -0700 X-MC-Unique: 0c98KXpMO1ae2j4mKd9TiA-1 Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-a5199cc13b2so459017466b.0 for ; Mon, 22 Apr 2024 14:00:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713819641; x=1714424441; 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=qny8bdVF6C/iI+o2Bs+yaBWIHLl7DLi9DrjkNN8wsi4=; b=ayCEBXF584C3cjvBqIy7O2C7zw4e+g8xuSvsJpUI3iLa+WWSM7cVyEUrINQzKL63yO cIsxM9bRcTOnG85H17j2xiMzU+BmyaR/Itod8zFJlHdPCVElo3HbmbmOccU2GF91hPcc vAz2MHu9+wKMyQuAyZlJFsKPrXZafb7Vd5GPFr9ZAMQQiq80Cj25ebsc6eo09NQ0ju0E aMRSmZY+Ecx7ssUQEBoNVa2h4FaS0G8yWcPEqa3PnalMa8Wyr5qxtphtP5oB2g3ze4vB 98Y/M7c4kmRcuJR3VAmpTUFX/rBaS4XDSdmnWbilT79TwjLLAwxi81X7kx/6VGPEfjZf 9ZBA== X-Gm-Message-State: AOJu0Yy1NvpunBKTetJ/JHLAV44fXmvHJqMUk589826Gd6VGLJYtRGrE iOyqwPvE2sPTUEDq0Oltv8qWI/FL21amjjiPU8FRFtGYTSBhMzwHU1DWuaq+jmqJBeNIGtQRxBA pW3pOvWvIyInyd43miMzfQfxn5DEc1kfAkKQjk/RfsHAVaAUwpMUyM+i8b4oSDsiZCQa/whOUtI WvltP6E14QV4e/FxDu75RoUMc+hUxz1KQQEEG3AihoQKEDqaLQIOueEYGAF8hhPkDLIokL X-Received: by 2002:a17:906:d0c2:b0:a55:b8b7:1971 with SMTP id bq2-20020a170906d0c200b00a55b8b71971mr759945ejb.32.1713819641122; Mon, 22 Apr 2024 14:00:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHB+flPUOTsE9d+I+j3Of1Y0J6Q5tAC9+upuKo0xJDVuSmpW/hkc7qnRNuIVPT4nG1GT2nJww== X-Received: by 2002:a17:906:d0c2:b0:a55:b8b7:1971 with SMTP id bq2-20020a170906d0c200b00a55b8b71971mr759912ejb.32.1713819640611; Mon, 22 Apr 2024 14:00:40 -0700 (PDT) Received: from gudni-virtual-machine.localdomain ([81.15.100.92]) by smtp.gmail.com with ESMTPSA id g2-20020a170906348200b00a51da296f66sm6128251ejb.41.2024.04.22.14.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 14:00:28 -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][PATCH V3] python3-twisted: upgrade 22.10.0 -> 24.3.0 Date: Mon, 22 Apr 2024 21:00:12 +0000 Message-Id: <20240422210012.1619924-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 21:00:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/110108 Changelogs between 22.10.0 and 24.3.0 can be found here: https://github.com/twisted/twisted/releases/tag/twisted-24.3.0 https://github.com/twisted/twisted/releases/tag/twisted-23.10.0 https://github.com/twisted/twisted/releases/tag/twisted-23.8.0 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 \