From patchwork Tue Mar 1 16:36:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4530 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 EB9FCC433EF for ; Tue, 1 Mar 2022 16:36:23 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web10.10243.1646152583629588984 for ; Tue, 01 Mar 2022 08:36:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=K2HYdmcV; spf=pass (domain: gmail.com, ip: 209.85.214.173, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f173.google.com with SMTP id c9so13928331pll.0 for ; Tue, 01 Mar 2022 08:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ADTaAUk//mqeZKiSJBzDe19mcROrGAeqJufepJv5Qjw=; b=K2HYdmcVbg6ZiHL2AMJzH2KV1Y/Bwj8vx0XUB3T3VffLyVyDjAjB4KAMV5MVLRWCmT lLxNwLOwyUcaF6Anupw6yqbqb1dxx8+RJzckOhHgpzaQGoZfxtqay+eKx45WTcZwQfbY BhPR328Ry0YCNENXcsaku3Ydh+QuRlqhPzyvu4qOrntfEJ2DYZF/yeyNfUOupdva/8HF n+0nyI8Ka5gznMGHm1HqB6kT1q1cRg9Fznc2mhOZeRRwxCqEpRuVuf2raL83I1KUJ5Nk N5GOxsvMnzSgsGOyG0SEkms+TBgHb4LztVvB67NdhraWjDRQPQUrXsOF+kC3WYme+Xdh 1ncA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ADTaAUk//mqeZKiSJBzDe19mcROrGAeqJufepJv5Qjw=; b=7Ktp3mNHbsF3l7G85Yq6NVD1EKqJtb4slI1q9GBNbQuyTI9wJPnhWhnGoBmfQwdKZf e0/LZkscrqeDTZElSb/6mS88s8XUBRw3ef7xhDY6toufDdc5DZWN/UQ3d/bAqLtJlHBO K8OlEQOPQq9Trn/hMAfCQIWogHSHw9htrBVIKWJtmv5qanT9dPnF6GVJhK6bCDlq7nj5 Xto0Veu3M2XCYzVcx4/yelxEyL63AF/3xogO/9og4W7sjapcvDeDa/BHJmi6UHSVIE1F gnesTzchOylhRkOSIEVIloHD6lNTYjMSrk5ROZcOOC0VuEeOp72aL3HbtBSQcvHAArqs bdyA== X-Gm-Message-State: AOAM531vwJi90fHB892BnN0ixqWsGPEmG1w8DWT1hRE4OOOqcMWeVM/p eidOcU1tkuyzrzkh93X9DHpmKI4kcBk= X-Google-Smtp-Source: ABdhPJwZsclijcb3mGTbOK9pMf/xzOxOumlLiqYpL9r5cFnCLxW5wVeH6NRU67kRgRqT18ghW72kiw== X-Received: by 2002:a17:902:bb02:b0:151:56a8:f80b with SMTP id im2-20020a170902bb0200b0015156a8f80bmr14672981plb.30.1646152582672; Tue, 01 Mar 2022 08:36:22 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:b4e2:b3d2:f012:52ea]) by smtp.gmail.com with ESMTPSA id j11-20020a63230b000000b00372a08b584asm13450461pgj.47.2022.03.01.08.36.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 08:36:22 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: docs@lists.yoctoproject.org Cc: Tim Orling Subject: [PATCH v2 1/5] docs: ref-manual: drop distutils from variables Date: Tue, 1 Mar 2022 08:36:13 -0800 Message-Id: <20220301163617.1543257-1-tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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 ; Tue, 01 Mar 2022 16:36:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2517 The distutils*.bbclasses have been moved to meta-python, so remove mention of them from ref-manual/variables.rst Signed-off-by: Tim Orling --- documentation/ref-manual/variables.rst | 29 ++------------------------ 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index ecb2b60c7..03470cebf 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1982,25 +1982,6 @@ system and gives an overview of their function and contents. is included in the default value of :term:`OVERRIDES`. - :term:`DISTUTILS_SETUP_PATH` - When used by recipes that inherit the - :ref:`distutils3 ` class, this variable should - be used to specify the directory in which the ``setup.py`` file is - located if it is not at the root of the source tree (as specified by - :term:`S`). For example, in a recipe where the sources are fetched from - a Git repository and ``setup.py`` is in a ``python/pythonmodule`` - subdirectory, you would have this:: - - S = "${WORKDIR}/git" - DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" - - .. note:: - - ``distutils`` has been deprecated in Python 3.10 and will be removed - in Python 3.12. For this reason, the use of :ref:`distutils3 ` - is deprecated. Instead use :ref:`setuptools3 ` and the - :term:`SETUPTOOLS_SETUP_PATH` variable. - :term:`DL_DIR` The central download directory used by the build process to store downloads. By default, :term:`DL_DIR` gets files suitable for mirroring @@ -6023,8 +6004,7 @@ system and gives an overview of their function and contents. :term:`PYTHON_ABI` When used by recipes that inherit the - :ref:`distutils3 `, - :ref:`setuptools3 ` classes, denotes the + :ref:`setuptools3 ` class, denotes the Application Binary Interface (ABI) currently in use for Python. By default, the ABI is "m". You do not have to set this variable as the OpenEmbedded build system sets it for you. @@ -6033,14 +6013,9 @@ system and gives an overview of their function and contents. names used when installing the Python headers and libraries in sysroot (e.g. ``.../python3.3m/...``). - Recipes that inherit the :ref:`distutils3 ` class during cross-builds also - use this variable to locate the headers and libraries of the - appropriate Python that the extension is targeting. - :term:`PYTHON_PN` When used by recipes that inherit the - `distutils3 `, - :ref:`setuptools3 ` classes, specifies the + :ref:`setuptools3 ` classe, specifies the major Python version being built. For Python 3.x, :term:`PYTHON_PN` would be "python3". You do not have to set this variable as the OpenEmbedded build system automatically sets it for you. From patchwork Tue Mar 1 16:36:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4531 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 E6588C433EF for ; Tue, 1 Mar 2022 16:36:26 +0000 (UTC) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mx.groups.io with SMTP id smtpd.web09.10439.1646152585809126525 for ; Tue, 01 Mar 2022 08:36:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hPajw99m; spf=pass (domain: gmail.com, ip: 209.85.214.178, mailfrom: ticotimo@gmail.com) Received: by mail-pl1-f178.google.com with SMTP id s1so13867063plg.12 for ; Tue, 01 Mar 2022 08:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7VAbX3KZRlBKPlkCqojgJp3G+z04ctrI7N9unmPM+E4=; b=hPajw99mcBke7xCq5MQr5FnaOWevd3JjKVk7E5/dXE8opoFqpRCjjoEJzrUuHcWKBY uIMZdqhDDtStTBN5ZolQqh/ibl/2SuGOzhMf5L75PvbgKW3jVith+rgWIwoNqf7SEPDj KYSTvirE9Jk3+YKownHpZ1MrmLRDKLfiW1AdgcbUNYfGS4Dx/uXT5BMU2AiHkFP19b6+ 6HKQFRdJzgKVKdMikuW7JbT/ZGQV913B3GteyIpMaJQNUbUForfy4wzCQvyBdzIqnpJ1 sqQi0JTCpfxguBX+29tGe28FcXO9lSNKeFcsdYad3cihXnZHWWzIBCvrWBmiRcYZMD7P sihQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7VAbX3KZRlBKPlkCqojgJp3G+z04ctrI7N9unmPM+E4=; b=yociTNTQbYIeLuj3hTHSFrYvUlwls1QEAYSXl3ngUd4/BxEKMgsnJzEZG9bCAma2ff yuZbRmv57aaaGlF00bOx5lggGvkCv4z+LCLtPeUK+CXjXHW3rrbQMNBDAfrCDiNQQqxE bvuPfNJKsp72wETtMvglBDPMH+ISdU7UDe9FgWHKJPgZAnWDEWMDJZcbbrHS8pqQS2vz tiFmt64I97hJkUC9L8Wp9sRz9CrE8VIBfbD9GlMiZBJnQq50WsBDSPc9S3RYJydc1fu1 9Fgny/beIiIw6PGKYI9rNGkvIqwIt4pL6dxZXmZheZgB4uSrWjKUAQ485WvMnXyhaLsj yH6w== X-Gm-Message-State: AOAM530eIEGu0AhFfg3MU+j0EJffWrJXHW2SEPLSs+RScOvSYFfLGuQK RMx2ckSZ1ydfVdpClPiKL32bDtVWiJI= X-Google-Smtp-Source: ABdhPJxL8TcpcmB1zqqH4Gdj3kZYH9uJXypXQbjHr8LvJk4YUYXvE9XUQxoN66G+RQ12GBlsbPyhUA== X-Received: by 2002:a17:903:240a:b0:14e:dad4:5ce4 with SMTP id e10-20020a170903240a00b0014edad45ce4mr26243964plo.125.1646152584872; Tue, 01 Mar 2022 08:36:24 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:b4e2:b3d2:f012:52ea]) by smtp.gmail.com with ESMTPSA id j11-20020a63230b000000b00372a08b584asm13450461pgj.47.2022.03.01.08.36.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 08:36:24 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: docs@lists.yoctoproject.org Cc: Tim Orling Subject: [PATCH v2 2/5] docs: ref-manual: remove distutils* from classes Date: Tue, 1 Mar 2022 08:36:14 -0800 Message-Id: <20220301163617.1543257-2-tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220301163617.1543257-1-tim.orling@konsulko.com> References: <20220301163617.1543257-1-tim.orling@konsulko.com> MIME-Version: 1.0 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 ; Tue, 01 Mar 2022 16:36:26 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2518 The distutils*.bbclasses have been removed from oe-core and moved to meta-python, so remove them from ref-manual/classes.rst. Signed-off-by: Tim Orling --- documentation/ref-manual/classes.rst | 29 ---------------------------- 1 file changed, 29 deletions(-) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 949217bf4..0ad437d90 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -503,35 +503,6 @@ Support for other version control systems such as Subversion is limited due to BitBake's automatic fetch dependencies (e.g. ``subversion-native``). -.. _ref-classes-distutils3: - -``distutils3*.bbclass`` -======================= - -The ``distutils3*`` classes support recipes for Python version 3.x -extensions, which are simple. These recipes usually only need to point -to the source's archive and then inherit the proper class. Building is -split into three methods depending on which method the module authors -used. - -- Extensions that use an Autotools-based build system require Autotools - and ``distutils``-based classes in their recipes. - -- Extensions that use ``distutils``-based build systems require the - ``distutils`` class in their recipes. - - .. note:: - - ``distutils`` has been deprecated in Python 3.10 and will be removed - in Python 3.12. For this reason the ``distutils3*`` classes are now - deprecated and will be removed from core in the near future. Instead, - use the ``setuptools3*`` classes. - - -- Extensions that use build systems based on ``setuptools3`` require - the :ref:`setuptools3 ` class in their - recipes. - .. _ref-classes-externalsrc: ``externalsrc.bbclass`` From patchwork Tue Mar 1 16:36:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4532 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 E671FC433EF for ; Tue, 1 Mar 2022 16:36:29 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web09.10440.1646152589573596991 for ; Tue, 01 Mar 2022 08:36:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qNvc0Nzg; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id t5so5668039pfg.4 for ; Tue, 01 Mar 2022 08:36:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JlvEvuZDJd2y42WYZEPfaMrxgvwX3zmMuFYxrn8SpJs=; b=qNvc0NzgqECGoQy8zkR251+3DPJ4o2OJAsI0StpiOXE8zt1RTKVLZPC5R0TVoNSDgI RbUVeugJ9R1DZ/4JdYs+24+HI799JYYG73uog6js39psyCfVRlRHsvgsLzBD9xSkPmEE 7lhLdE/3TxV1wLg1F/CMYwBH+Kj0mARrcntmx1YMPBbDlQF60g9WhWT0gJUgjHOxxazj icy/D8A9DNA8h4OOWDnUa8RMeioUJX5RZzxOeIvMhpYv85ZlutQ2Whiqm8dxXWzLAuRI +Mmc/RaKBf8PlHVNAIafuT2t121FW+mGfqK+OvZTtIIKYX8yubJcFz90dBi3/4p8ibd4 t+Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JlvEvuZDJd2y42WYZEPfaMrxgvwX3zmMuFYxrn8SpJs=; b=jir+/JSdkYyQtmpODtFhYMHjUBenjwkwlI/35Xy6agwRE1KyHwDVqWKrdMcWBtmSpK 0ahmDTG9RfJ36dD6mw1XUcpOcojkeedqhI4fMyH7GlaPYEBiKCDWZcScX1tdFXY3wdpQ 0jsLaYtexjiObhW5/pyvpfRXP5DqVMd7R8MC8b1hxf7vFB4LuTEDDU0YrfbLWh3xm6xg bjiFcs+zTcudx/Eag9OtDN6Jy9qSpfNFRaCTO2HS3mdzMO2kmL6CCxMrJp1HCe8jSSMJ g/+IwwRz4CnXSpLuum2uiGVC+nfnWsKLEjV3VOOmIGs+yzfKPWpPAaQ49pdGuxPQeGsg t7Wg== X-Gm-Message-State: AOAM531wp6KSAcDGhTOhVIMz5Pz289UnXiIJ2GxzBrTtsROIZaAfX986 YOAVd528uY4kstT/88TNnKw0b6w+we0= X-Google-Smtp-Source: ABdhPJxIqkYqWq9rHEvfK+h7JPRrD42LCvRZd7eFFA1AETwJ2GD+k2u8SOGsNiWlC0wjsMMN7DB94A== X-Received: by 2002:a63:f80b:0:b0:378:3b1e:7bdf with SMTP id n11-20020a63f80b000000b003783b1e7bdfmr17610323pgh.271.1646152588483; Tue, 01 Mar 2022 08:36:28 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:b4e2:b3d2:f012:52ea]) by smtp.gmail.com with ESMTPSA id j11-20020a63230b000000b00372a08b584asm13450461pgj.47.2022.03.01.08.36.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 08:36:28 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: docs@lists.yoctoproject.org Cc: Tim Orling Subject: [PATCH v2 3/5] docs: migration-3.5: distutils move Date: Tue, 1 Mar 2022 08:36:15 -0800 Message-Id: <20220301163617.1543257-3-tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220301163617.1543257-1-tim.orling@konsulko.com> References: <20220301163617.1543257-1-tim.orling@konsulko.com> MIME-Version: 1.0 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 ; Tue, 01 Mar 2022 16:36:29 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2519 The distutils*.bbclasses have been dropped from oe-core and moved to meta-python. Signed-off-by: Tim Orling --- documentation/migration-guides/migration-3.5.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/migration-guides/migration-3.5.rst b/documentation/migration-guides/migration-3.5.rst index 8c2a7d2c6..b52ae7119 100644 --- a/documentation/migration-guides/migration-3.5.rst +++ b/documentation/migration-guides/migration-3.5.rst @@ -54,3 +54,5 @@ Recipe changes - :ref:`allarch ` packagegroups can no longer depend on packages which use :term:`PKG` renaming such as :ref:`ref-classes-debian`. +- The `disutils*.bbclasses` have been moved to `meta-python`. The classes and + `DISTUTILS*` variables have been removed from the documentation. From patchwork Tue Mar 1 16:36:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4533 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 F31EDC433EF for ; Tue, 1 Mar 2022 16:36:34 +0000 (UTC) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web09.10442.1646152594408992486 for ; Tue, 01 Mar 2022 08:36:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=irxraljg; spf=pass (domain: gmail.com, ip: 209.85.216.54, mailfrom: ticotimo@gmail.com) Received: by mail-pj1-f54.google.com with SMTP id bx5so14546862pjb.3 for ; Tue, 01 Mar 2022 08:36:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ezFHqJK/2egnxZPbpdbJocbhCDzR7PXHVow0m58h7HY=; b=irxraljglMeMPZNFHIga9+bb8XxfjjMzsOSluLRL8vol443vmaq1lWJr4lZbRaqSYf 2B0UA5H9MM5uTrhT3ggLWLUzW11rtCzl0o9kZgT+dfsELBBbMkiPhuU2aF3igotavGn2 RZmvfdYWEtkRNJzcfod/7KQSXRlr/Fz+53N/kmOP7DognsR/7n3Y6GqoneGfF/mtIAoF +pDtluW+6tExgy3yGIN8iVZSauhRch6RySM+pLLml4psLit2XZJDUBzqL+aCMmd1176d r5/+FOK7PIrsjq2tvXhoTvJnZWrEa7Y130yFdlQszJicvUn7SK7BKKTr8ypbBKbhiS/a UscQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ezFHqJK/2egnxZPbpdbJocbhCDzR7PXHVow0m58h7HY=; b=Y5zTKxr3T2eah8BQZomVjMPB/kKB0orwczOu6rKQxS5+aZgkt51LCpfqXb58CMSXZR b3ZuS+8x706ZkwF+xQ/ITNo0umFwkHNhs3YfesDTBIaLJy1VklrjZhzhgysCvAo3sk2U 5gPy9pseml/uDpndbBQEcSzrbTGZhY2ErZJ96NlVPefHaxQwjut7nKBA3VPT785tI93u fTPMEOYs+2daeFwKQS/OGCgZ9KRyJa4pVYeNBydxFGIiGZMitgY09G+HtXCCDPA5CE2w qJneyH4j3DYgLLuKsYjSycdNFGvHyuJYdFfJWMm3nLuL/Ng4FUz4OoEIfNQERj1eXFAC avkQ== X-Gm-Message-State: AOAM533P2C4L9Za9WfJB5kNcwwGTw9NqEwMCjfSlRPEkJAfJVu6P1ZB7 Ej7yw62xpxXccYARpbzJ7+s2hNV3Cmc= X-Google-Smtp-Source: ABdhPJwuP9/EnoWoSjBvBIwXh2yJocZkDpGbvmMGwh5EK4h+GWZ6bLuXgPGF0enZobuBh49RsKNb7Q== X-Received: by 2002:a17:90a:a382:b0:1bc:202a:28e8 with SMTP id x2-20020a17090aa38200b001bc202a28e8mr22775214pjp.131.1646152593478; Tue, 01 Mar 2022 08:36:33 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:b4e2:b3d2:f012:52ea]) by smtp.gmail.com with ESMTPSA id j11-20020a63230b000000b00372a08b584asm13450461pgj.47.2022.03.01.08.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 08:36:33 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: docs@lists.yoctoproject.org Cc: Tim Orling Subject: [PATCH v2 4/5] docs: migration-2.6 drop distutils labels, terms Date: Tue, 1 Mar 2022 08:36:16 -0800 Message-Id: <20220301163617.1543257-4-tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220301163617.1543257-1-tim.orling@konsulko.com> References: <20220301163617.1543257-1-tim.orling@konsulko.com> MIME-Version: 1.0 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 ; Tue, 01 Mar 2022 16:36:34 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2520 The distutils* classes and DISUTILS* terms are no longer defined so replace their usage with ``text``. Signed-off-by: Tim Orling --- documentation/migration-guides/migration-2.6.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/documentation/migration-guides/migration-2.6.rst b/documentation/migration-guides/migration-2.6.rst index c68414e1c..11e659de7 100644 --- a/documentation/migration-guides/migration-2.6.rst +++ b/documentation/migration-guides/migration-2.6.rst @@ -118,8 +118,7 @@ For names of recipes removed because of this repository change, see the --------------------------------------------------------------------------------------------------- Previously, it was possible for Python recipes that inherited the -``distutils`` and -:ref:`distutils3 ` classes to fetch code +``distutils`` and ``distutils3`` classes to fetch code during the :ref:`ref-tasks-configure` task to satisfy dependencies mentioned in ``setup.py`` if those dependencies were not provided in the sysroot (i.e. recipes providing the dependencies were From patchwork Tue Mar 1 16:36:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 4534 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 EA484C433FE for ; Tue, 1 Mar 2022 16:36:38 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web09.10445.1646152598526187735 for ; Tue, 01 Mar 2022 08:36:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L8rk1wVS; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id y11so14733471pfa.6 for ; Tue, 01 Mar 2022 08:36:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/1saGrQX7YeS/tasA2+M7ZwCXzQEnWxKKHLx/DHYqBw=; b=L8rk1wVS1bJSoq6ckHKU+wOfqrHkd6srjL28iMc/XID0rmAJOrakNa6MWdCch0do8x 32ERnOXtFDKQkJr8jMnKp+iT2i/VXaja21nl38LDQSmkSvB7PzguHiUiFy9/826ZK3Fh NvaAHZr6hDMdQqvZcrCeK/MQ099rCfL00HymTaKj8yeLZaEKhVhMCQNfRCrBlAk8r1Gs voo2OX00oeFe3hqHh1v5dak0lqBQv+NHfbFG9zWHKPXJmzDDMcAltKgAcc4hJBEf5q22 3Zbfiw3f3iWuoMSGpNG0dprDWxsF23tOJR3j32sGB99IlS8UYy0pNTrrwT1NcmfuN6Tn qEgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/1saGrQX7YeS/tasA2+M7ZwCXzQEnWxKKHLx/DHYqBw=; b=cAn6Yx7PhTS2hAk2lHvaQT2abzMjp09WxHrda/uWOezpSB2HW/Ma07q+r/4/QLkZHt oQiBzispbrNEA3eSb2X20pp/m8q9ZpqjR8dl920KgiM7Y1R2AfeWCLBFup8tU8oV8csY Mdzl/ggvUYr3210MDnvbWQDz1deOi0I0EPXMe0/Dly8eLUMv4IM+aDfWGQxabjHK5AeD vjCkFHXj0eR1UO/GOWBZRtDPgBiDxFUXjxXe0HDauntA+SHn7eu8i1VOgFSp57kS8wcG /PXQHNjsk5cKns6jL0RD4mJ1JVzBPA+sW+vPJh6kWJIQgaG3gMPzgfC9zqO6LUXWtl/O u4og== X-Gm-Message-State: AOAM530iK3nuoZmwyOq+f+hGbbFLj9PHttQvETqbubO+/WxPciYuAdqb EQcy7wg5fruZwYfnKRsalBVVB+QXebU= X-Google-Smtp-Source: ABdhPJzW7kW81Hu7emsaWD/O5gh86kLRU/tjFkk9VYiahxMYs4Td35tM4wjmmokHXF9TA9UGgD6u/Q== X-Received: by 2002:a63:6406:0:b0:373:b73e:ad4e with SMTP id y6-20020a636406000000b00373b73ead4emr22940089pgb.465.1646152597570; Tue, 01 Mar 2022 08:36:37 -0800 (PST) Received: from nereus.hsd1.or.comcast.net ([2601:1c0:6000:1b20:b4e2:b3d2:f012:52ea]) by smtp.gmail.com with ESMTPSA id j11-20020a63230b000000b00372a08b584asm13450461pgj.47.2022.03.01.08.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Mar 2022 08:36:37 -0800 (PST) From: Tim Orling X-Google-Original-From: Tim Orling To: docs@lists.yoctoproject.org Cc: Tim Orling Subject: [PATCH v2 5/5] docs: migration-3.3 drop distutils labels, terms Date: Tue, 1 Mar 2022 08:36:17 -0800 Message-Id: <20220301163617.1543257-5-tim.orling@konsulko.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220301163617.1543257-1-tim.orling@konsulko.com> References: <20220301163617.1543257-1-tim.orling@konsulko.com> MIME-Version: 1.0 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 ; Tue, 01 Mar 2022 16:36:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/2521 The distutils* classes and DISUTILS* terms are no longer defined so replace their usage with ``text``. Signed-off-by: Tim Orling Reviewed-by: Michael Opdenacker --- documentation/migration-guides/migration-3.3.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/migration-guides/migration-3.3.rst b/documentation/migration-guides/migration-3.3.rst index f982b1c80..1eb494c28 100644 --- a/documentation/migration-guides/migration-3.3.rst +++ b/documentation/migration-guides/migration-3.3.rst @@ -90,17 +90,17 @@ example:: then in ``setup.py`` it works with source code in a relative fashion, such as ``../../src``. This causes pseudo to fail as it isn't able to track -the paths properly. This release introduces a new :term:`DISTUTILS_SETUP_PATH` +the paths properly. This release introduces a new ``DISTUTILS_SETUP_PATH`` variable so that recipes can specify it explicitly, for example:: S = "${WORKDIR}/git" DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" -Recipes that inherit from :ref:`distutils3 ` (or +Recipes that inherit from ``distutils3`` (or :ref:`setuptools3 ` which itself inherits -:ref:`distutils3 `) that also set :term:`S` to +``distutils3``) that also set :term:`S` to point to a Python module within a subdirectory in the aforementioned -manner should be changed to set :term:`DISTUTILS_SETUP_PATH` instead. +manner should be changed to set ``DISTUTILS_SETUP_PATH`` instead. .. _migration-3.3-bitbake: