From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-pg11.blackberry.com (smtp-pg11.blackberry.com [68.171.242.227]) by mx.groups.io with SMTP id smtpd.web08.3398.1632254427996468878 for ; Tue, 21 Sep 2021 13:00:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@blackberry.com header.s=corp19 header.b=fiCSFle/; spf=pass (domain: blackberry.com, ip: 68.171.242.227, mailfrom: lijchen@blackberry.com) Received: from pps.filterd (mhs401ykf.rim.net [127.0.0.1]) by mhs401ykf.rim.net (8.16.0.43/8.16.0.43) with SMTP id 18LJv4Uh130111 for ; Tue, 21 Sep 2021 16:00:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackberry.com; h=from : to : subject : date : message-id : content-type : mime-version; s=corp19; bh=zc6JKo1zPYY7TwzsPfk42t6eZkD5QCCBpMZEqwdJDsQ=; b=fiCSFle/XLFN+phTuNCdbzZC37apcNrWyxXmGoEWctSJOAbVilz5y4F5I4ISGtwVgmno LiC0Vj7f9C3JEIsVDnIyLk7lMw6Xkp5QUzJIXH3Wpw8tLT7Gpozmn6MhOHbSUEEXMmvI wyRmO2N2jaZtKHBiRzIlPnAbHHSkQm1pm6M40CvvCHYhV7IeQAd+hQwS7+AUq/s4p6Y9 wb6cHgsTv0npvLwuVO12/Tuipw+6b/e/jagissIs19l2etz02jz9emSjQ/6sMluDMRME Y7xoWCKHSypVfeRFXpPln+ePfsJVbVnL1IBpCcfC2Ou16xOY7vgE/mbz4z3TyjS9UYuM BQ== Received: from xch212cnc.rim.net (xch212cnc.rim.net [10.3.27.117]) by mhs401ykf.rim.net with ESMTP id 3b72qv8ydx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Tue, 21 Sep 2021 16:00:27 -0400 Received: from XCH211YKF.rim.net (10.12.114.211) by XCH212CNC.rim.net (10.3.27.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Tue, 21 Sep 2021 16:00:26 -0400 Received: from XCH211YKF.rim.net ([fe80::dca:23f8:c2c0:7180]) by XCH211YKF.rim.net ([fe80::dca:23f8:c2c0:7180%5]) with mapi id 15.01.2308.014; Tue, 21 Sep 2021 16:00:26 -0400 From: "Lijun Chen" To: "yocto@lists.yoctoproject.org" Subject: Switch to a different Python3 version Thread-Topic: Switch to a different Python3 version Thread-Index: AQHXryLOOhMfvecsZEGFFMNHUGTCGg== Date: Tue, 21 Sep 2021 20:00:26 +0000 Message-ID: <91a33a503a4a4dfa8c1fa0aae18d4d1c@blackberry.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [100.64.197.76] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-21_06:2021-09-20,2021-09-21 signatures=0 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_91a33a503a4a4dfa8c1fa0aae18d4d1cblackberrycom_" --_000_91a33a503a4a4dfa8c1fa0aae18d4d1cblackberrycom_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi, Currently we are building a Yocto image based on Hardknott release, which i= ncludes python 3.9.4. Due to a App constraint, we have to downgrade Python3= to 3.8. I tried copying over 3.8.5 bb file and associated poky/meta/recipe= s-devtools/python/python3/ folder, but the building failed. What is the bes= t way to switch/downgrade python3 version? Thanks, Lijun ---------------------------------------------------------------------- This transmission (including any attachments) may contain confidential info= rmation, privileged material (including material protected by the solicitor= -client or other applicable privileges), or constitute non-public informati= on. Any use of this information by anyone other than the intended recipient= is prohibited. If you have received this transmission in error, please imm= ediately reply to the sender and delete this information from your system. = Use, dissemination, distribution, or reproduction of this transmission by u= nintended recipients is not authorized and may be unlawful. --_000_91a33a503a4a4dfa8c1fa0aae18d4d1cblackberrycom_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"

Hi,


Currently we are building a Yocto image based on Hardknott release, whic= h includes python 3.9.4. Due to a App constraint, we have to downgrade Pyth= on3 to 3.8. I tried copying over 3.8.5 bb file and associated poky/meta/recipes-devtools/python/python3/ folder, = but the building failed. What is the best way to switch/downgrade python3 v= ersion?


Thanks,

Lijun


This transmission (including any attachments) may contain confidential = information, privileged material (including material protected by the solic= itor-client or other applicable privileges), or constitute non-public infor= mation. Any use of this information by anyone other than the intended recip= ient is prohibited. If you have received this transmission in error, please= immediately reply to the sender and delete this information from your syst= em. Use, dissemination, distribution, or reproduction of this transmission = by unintended recipients is not authorized and may be unlawful.
--_000_91a33a503a4a4dfa8c1fa0aae18d4d1cblackberrycom_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) by mx.groups.io with SMTP id smtpd.web12.121.1632261983548055107 for ; Tue, 21 Sep 2021 15:06:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jrqZdDy8; spf=pass (domain: gmail.com, ip: 209.85.222.41, mailfrom: alex.kanavin@gmail.com) Received: by mail-ua1-f41.google.com with SMTP id 2so267261uav.1 for ; Tue, 21 Sep 2021 15:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JFdA4hLm5JSyWfZ72yCHBlEQHV/3PG24QL+HIxoRv8A=; b=jrqZdDy8keTPx2XZgadr8Kd6H53zBK1QRVMEnXwUjUM7XC+8w0CHjV0V0dSf8EO54v cE/38jxun0FYodsv8xCkg7jJksChMII3gZQ+Mg1IOp/U0hOcT1iK+wNhMzZAQVoMnzYI tH2iKPt2R4l3ElzKkETrdon1eNLKtWgCW/W6MMrfromwGH+b+/tzDj+3zJRRwDKAFVe4 zVSojkvS40JO+tF+KeZNy49d2GKd8oLlwHZ2/3/zImv40DJYg4qNhpPz+cTj+FNeBfgn XngTIfT4dUF0k1lUMLxtyLDAIXsEz8R70xZhCF7nm+McDjikaIMO5nmS8McakDySJZKi HqMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JFdA4hLm5JSyWfZ72yCHBlEQHV/3PG24QL+HIxoRv8A=; b=l1Y4HnqXD3qZz3PI3fZaQPg5kviZjxZ7oF3mTKN+ccSB8TfyMa7tCB07t1ABv1FfAV kQM8u9jXJzR3u5rY+qNxMrEIh/G4OCpb/FHH1HWCXaDdJsz91xpN1vLgMSuJnKLmZVRZ xvJ1obl3QUdegCrdqi8tvKl/gPKtBwqg1B9F5ioLWagysGIRNK/nCdsHCAHHuwT6alMa PkiG2YpCe8DWr+EjFvTKec/aMoB9VQ5wzrc60dv8ikVGlk48/EzDx7Y/l5ByxsiVOSft wAdGicCiRy+nv6fIfy8yBmWLKBmJVHoB9w3zNJnzW+R5JrSyqQ77JmRIK0UsUQdFZVvA SN2A== X-Gm-Message-State: AOAM530kFH4igYzlsHgAQdEdTkiaSq5giw2JVh0DaVAW2znkDeoxMyVX qR9S4GJW49sg1edOzXIKzdHww9snmELZx0+akWdx1gpn X-Google-Smtp-Source: ABdhPJzY8TGZ8wCdAgZOEPOeuhtFZgghr3Wa73UBVsB95RfNbAcoVrH42np5U8vIMKkxunKh4H+mOnmgBTz3zUOPDr4= X-Received: by 2002:a05:6130:392:: with SMTP id az18mr19210938uab.71.1632261982567; Tue, 21 Sep 2021 15:06:22 -0700 (PDT) MIME-Version: 1.0 References: <91a33a503a4a4dfa8c1fa0aae18d4d1c@blackberry.com> In-Reply-To: <91a33a503a4a4dfa8c1fa0aae18d4d1c@blackberry.com> From: "Alexander Kanavin" Date: Wed, 22 Sep 2021 00:06:11 +0200 Message-ID: Subject: Re: [yocto] Switch to a different Python3 version To: Lijun Chen Cc: "yocto@lists.yoctoproject.org" Content-Type: multipart/alternative; boundary="000000000000a6bf2905cc889bc6" --000000000000a6bf2905cc889bc6 Content-Type: text/plain; charset="UTF-8" The best way is to fix the app. Such major downgrades are firmly uncharted territory, and aren't supported. If you have errors, you need to figure out yourself how to fix them - but if you provide the logs, we can try to help. Alex On Tue, 21 Sept 2021 at 22:00, Lijun Chen wrote: > Hi, > > > Currently we are building a Yocto image based on Hardknott release, which > includes python 3.9.4. Due to a App constraint, we have to downgrade > Python3 to 3.8. I tried copying over 3.8.5 bb file and associated > poky/meta/recipes-devtools/python/python3/ folder, but the building > failed. What is the best way to switch/downgrade python3 version? > > > Thanks, > > Lijun > ------------------------------ > This transmission (including any attachments) may contain confidential > information, privileged material (including material protected by the > solicitor-client or other applicable privileges), or constitute non-public > information. Any use of this information by anyone other than the intended > recipient is prohibited. If you have received this transmission in error, > please immediately reply to the sender and delete this information from > your system. Use, dissemination, distribution, or reproduction of this > transmission by unintended recipients is not authorized and may be unlawful. > > > > --000000000000a6bf2905cc889bc6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The best way is to fix the app. Such major downgrades= are firmly uncharted territory, and aren't supported. If you have erro= rs, you need to figure out yourself how to fix them - but if you provide th= e logs, we can try to help.

Alex
On Tue, = 21 Sept 2021 at 22:00, Lijun Chen <lijchen@blackberry.com> wrote:

Hi,


Currently we are building a Yocto image based on Hardknott release, whic= h includes python 3.9.4. Due to a App constraint, we have to downgrade Pyth= on3 to 3.8. I tried copying over 3.8.5 bb file and associated poky/meta/recipes-devtools/python/python3/ folder, = but the building failed. What is the best way to switch/downgrade python3 v= ersion?


Thanks,

Lijun


This transmission (including any attachments) may contain confidential = information, privileged material (including material protected by the solic= itor-client or other applicable privileges), or constitute non-public infor= mation. Any use of this information by anyone other than the intended recip= ient is prohibited. If you have received this transmission in error, please= immediately reply to the sender and delete this information from your syst= em. Use, dissemination, distribution, or reproduction of this transmission = by unintended recipients is not authorized and may be unlawful.



--000000000000a6bf2905cc889bc6-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.web09.164.1632262125920259241 for ; Tue, 21 Sep 2021 15:08:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=iP1LQ0z7; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.48, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f48.google.com with SMTP id w29so905975wra.8 for ; Tue, 21 Sep 2021 15:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=itrPLOqvCd+jC0a+V8J/TQ+LUN85V+2nA0t5joxKwdI=; b=iP1LQ0z7Bv23eBBV0JyVAPsFsLSn3o3zExG2JWuxUVk7oyWBTGywS8PxTjyXybrL3e 8EtgAo+iETRivcJEq/kOCwjMYtF2fh3uXZZnU6is0JOxFKP5D00NCG+5UATdkRljyzCl cdFwOS3P3GJjTG0Wyjdqj7nf2rkJelOiskJk4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=itrPLOqvCd+jC0a+V8J/TQ+LUN85V+2nA0t5joxKwdI=; b=X9GCdhn4kV8qdOYHP87rzPNAaJXSAjIvwFRoutBZSfLDBq2jD1JK5ONJbu6EKZ9Ups jOFhcnWlmqo7mkZ5mSaY2hUNciagfOIVw9f1VjizN2BYosRhSG+IGqHC/XSUzVtijFQs xew6lt8E+FMMWQINrh+h9PVyuI37LQDxgZid7H7AuY5LVMv/7I0pD6gFxvQ6kODGvRDg MN6VhhbXD8iGEDnNdc89g09hZwgbxiU6A4of/AGori34ChT/KYrbtSwcGF14HZbVJysZ FuKO4Kx16dmYRggfEpRgp4kATIeOKlcO0G6JBRrw9RKAsgoVPi3N5Stw8pV5Z8JmXIgq citQ== X-Gm-Message-State: AOAM5336nNOOG9j//XQ2IN4tDmITsPpP01zmtgtHe7HW9U2wv3FkAuHT SGFN6l2PfVJTVmxo4YCE3e+u9g== X-Google-Smtp-Source: ABdhPJx+UxLmYvry8TdfsYKKKdgIbmJ7vb5tfgp8oPdXov9aQIzbZuAJnoPEV3M2FY9r3/tPzDq14Q== X-Received: by 2002:a1c:80cd:: with SMTP id b196mr7148520wmd.36.1632262124143; Tue, 21 Sep 2021 15:08:44 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8b0:aba:5f3c:4259:df2c:1481:cafd? ([2001:8b0:aba:5f3c:4259:df2c:1481:cafd]) by smtp.gmail.com with ESMTPSA id y197sm4834482wmc.18.2021.09.21.15.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 15:08:43 -0700 (PDT) Message-ID: <02273086d73c29b85e37d3a430b4e07e9ebd7430.camel@linuxfoundation.org> Subject: Re: [yocto] Switch to a different Python3 version From: "Richard Purdie" To: Lijun Chen , "yocto@lists.yoctoproject.org" Date: Tue, 21 Sep 2021 23:08:42 +0100 In-Reply-To: <91a33a503a4a4dfa8c1fa0aae18d4d1c@blackberry.com> References: <91a33a503a4a4dfa8c1fa0aae18d4d1c@blackberry.com> User-Agent: Evolution 3.40.4-1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2021-09-21 at 20:00 +0000, Lijun Chen wrote: > Hi, > > Currently we are building a Yocto image based on Hardknott release, which > includes python 3.9.4. Due to a App constraint, we have to downgrade Python3 > to 3.8. I tried copying over 3.8.5 bb file andassociated poky/meta/recipes- > devtools/python/python3/ folder, but the building failed. What is the best way > to switch/downgrade python3 version? > Hard to say without understanding how it failed. What was the error? You probably need to match python3 and python3-native versions but I don't know if you did. Cheers, Richard