From patchwork Thu Nov 18 16:26:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Kroon X-Patchwork-Id: 57 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 D5C7EC433F5 for ; Thu, 18 Nov 2021 16:27:01 +0000 (UTC) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mx.groups.io with SMTP id smtpd.web12.3852.1637252820737072387 for ; Thu, 18 Nov 2021 08:27:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pYi8EYrW; spf=pass (domain: gmail.com, ip: 209.85.167.53, mailfrom: jacob.kroon@gmail.com) Received: by mail-lf1-f53.google.com with SMTP id k37so28891519lfv.3 for ; Thu, 18 Nov 2021 08:27:00 -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=bfWw+YyzVvmmhzSqIjeq8dhXCAAbncPMkX2Z+BmpXkY=; b=pYi8EYrWI+HmnV4IbIiVI3pNqN45CSVJdeNm3a1T/N6yFGVyKybguc7aohJRh7MMKe dLst0sJFC10wFbNVtkEQ8LrRcd8iTcXCM08N2725ck9WLftsx1QY/tqOQl8KIz9+mvbo EohepfC/lXxxpjC5npr8H087O+aSUAUSmBaImEvxNHgMHPg+Kg7z7h2fC/K58Stw3yD2 eq+HFkLu08x80u5qzdTe5VhcGLr7upmeuaY84nhb1IBN917GuS58B5OMKqB/LpnJbAKc V90wz7R67wkiuSN9JnnqpywcqrV6lViIDYYPAvFoogeUs5N76EVfksqp9MUdNm8GIiNi pgAA== 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=bfWw+YyzVvmmhzSqIjeq8dhXCAAbncPMkX2Z+BmpXkY=; b=6ejs93GjsoTcPOV8Sr29SQ6PmTG3C+NRSRxeYpo6C76uw5d6trimrAtA9vdVVaiCOo REQmxDbsK4MMm91bF9Vp9QAmalr0A/rvjgUAxhDMuhWrTM3SoEWbUxVjnp1zNx1iyrIW sdeK6oR3oAB5j/MO1ynESTc3xqQHKho797tUTEwZIQylCuxU25zOfzeYq/HSsikiFjhc BYZy9mDmcaZ7BUMHF9WR+a3L+Jtm/Ms8aYGfpEQGeJcAvsccNLFlifYNs9gfsmgX4CsC mmDsOwN5Z1k8f5qkdbNHp6/XC0lgO2N7pUpd6pdkrna6C9PWUau+RBSBHV9izwjatbEJ BbDg== X-Gm-Message-State: AOAM531kTNgsgRgwaxZz5ksxI4A1GzkU8oXWZhuZS4VhIvYBHRqJu21f Y8DO+2dlmlwGCGXnQM9jRcbuy2KaolU5HbCB X-Google-Smtp-Source: ABdhPJzv6/g478jXIR9dqV5UfPp59CS5F/tKl0hLDPRqiw5SUh+o1R0t+VtMguP4uvYYpeu6WRNRnA== X-Received: by 2002:ac2:5d71:: with SMTP id h17mr25002275lft.642.1637252818482; Thu, 18 Nov 2021 08:26:58 -0800 (PST) Received: from localhost.localdomain (37-247-29-68.customers.ownit.se. [37.247.29.68]) by smtp.gmail.com with ESMTPSA id p17sm37252lfs.292.2021.11.18.08.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 08:26:58 -0800 (PST) From: Jacob Kroon To: bitbake-devel@lists.openembedded.org Cc: Alexander Kanavin , Alexander Kanavin , Richard Purdie Subject: [1.50][PATCH 1/4] bitbake: correct the collections vs collections.abc deprecation Date: Thu, 18 Nov 2021 17:26:20 +0100 Message-Id: <20211118162623.3117035-2-jacob.kroon@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211118162623.3117035-1-jacob.kroon@gmail.com> References: <20211118162623.3117035-1-jacob.kroon@gmail.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 ; Thu, 18 Nov 2021 16:27:01 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/13069 From: Alexander Kanavin This becomes a hard error in python 3.10. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit ae219e1f7460077f4492b31ac91cef4cf9b17277) Signed-off-by: Jacob Kroon --- lib/bb/cache.py | 3 ++- lib/bb/data_smart.py | 2 +- lib/bb/persist_data.py | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/bb/cache.py b/lib/bb/cache.py index 27eb2717..5f9c0a77 100644 --- a/lib/bb/cache.py +++ b/lib/bb/cache.py @@ -19,7 +19,8 @@ import os import logging import pickle -from collections import defaultdict, Mapping +from collections import defaultdict +from collections.abc import Mapping import bb.utils from bb import PrefixLoggerAdapter import re diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index 8291ca65..aa9ac2c8 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -17,7 +17,7 @@ BitBake build tools. # Based on functions from the base bb module, Copyright 2003 Holger Schurig import copy, re, sys, traceback -from collections import MutableMapping +from collections.abc import MutableMapping import logging import hashlib import bb, bb.codeparser diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py index c6a209fb..6f32d81a 100644 --- a/lib/bb/persist_data.py +++ b/lib/bb/persist_data.py @@ -12,6 +12,7 @@ currently, providing a key/value store accessed by 'domain'. # import collections +import collections.abc import contextlib import functools import logging @@ -19,7 +20,7 @@ import os.path import sqlite3 import sys import warnings -from collections import Mapping +from collections.abc import Mapping sqlversion = sqlite3.sqlite_version_info if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3): @@ -29,7 +30,7 @@ if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3): logger = logging.getLogger("BitBake.PersistData") @functools.total_ordering -class SQLTable(collections.MutableMapping): +class SQLTable(collections.abc.MutableMapping): class _Decorators(object): @staticmethod def retry(*, reconnect=True): From patchwork Thu Nov 18 16:26:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Kroon X-Patchwork-Id: 58 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 03E7CC433EF for ; Thu, 18 Nov 2021 16:27:04 +0000 (UTC) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web08.3990.1637252823086016792 for ; Thu, 18 Nov 2021 08:27:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LChuSkTF; spf=pass (domain: gmail.com, ip: 209.85.167.41, mailfrom: jacob.kroon@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id bi37so28763428lfb.5 for ; Thu, 18 Nov 2021 08:27:02 -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=JUQM5b+7GyVgImNlROSsChsBV6k4KUKRp1GxQD8LJ7I=; b=LChuSkTFlJlkbGBDmRHfZK//TP9h+c5mda5rVDpkZVpyGJ6C6r6zz1n7N8KlgJcr8N 3IFcRBA6lVHHtLWr0uWbn30UmYzdEMhjsbc5+fehv2e8Xzz4rsDrgRnjUrGvSq5DR70J 8AoAaOuO25R9Us0zIix9k+dx7u+2u28Ze+lgbzxDQIKU++TLVghVgsXBgoKTFpyDYdc1 P37NXKEjcOK227bI7HODqdcIMStXL+nfEk655Hyg91CMbpDYzx48eqQppqwP7bLC+XC9 TfzNz0pahpAB+6OBN0XspB0ortx/vrRegiIYKtaPvv3iFR32jNm4CrY7R9NOkKOWcGXW ovtQ== 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=JUQM5b+7GyVgImNlROSsChsBV6k4KUKRp1GxQD8LJ7I=; b=yisqvPKmMfbsPNyIZvtlAWwPXp0n07lHIOigtP+QRxy2d/WvVVm7XS4xo3cVjdHNeI ELg6EUZ3JTdb9L62lCrg4d/O/XzxEPVIZOAZXZ5l9spQsQs+ySk31hRoJL/ggz6oR7w/ MriaEUdga0MMw3uEMoyhwS966iqC+NC+UWiilzn23v2/E4yjFVhfK4zfDCObLdRDAx/s LQPDAUkPQIQL+dDo06YKqioQJgPjKuUDNSi3U1kFZogapGBTLZiapcJG/JF2MxBXaiRU CuzJhqPCk55FkkzbnL1RIu/i6ymS3eUc/seWKbMmKWYk1LlE5EE8jPBxB3DRQDN4W4aH mqNQ== X-Gm-Message-State: AOAM530YflePVe+JfFyTyLszBiCv1B7kCnf97tFgSnPGV1jtYsmn1GRc 0oYL9OwrRB1nNK6bGO1e6bDp3lHDs7V+COJs X-Google-Smtp-Source: ABdhPJwEA17vUqS53pGcc5UobPT0Xqy5srHPbwaooeclTqEG8wBGu2ObAkEWXNs26zQPR1Kr2Fi0kg== X-Received: by 2002:a05:6512:3ba4:: with SMTP id g36mr26168913lfv.546.1637252821484; Thu, 18 Nov 2021 08:27:01 -0800 (PST) Received: from localhost.localdomain (37-247-29-68.customers.ownit.se. [37.247.29.68]) by smtp.gmail.com with ESMTPSA id p17sm37252lfs.292.2021.11.18.08.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 08:27:01 -0800 (PST) From: Jacob Kroon To: bitbake-devel@lists.openembedded.org Cc: Justin Bronder , Steve Sakoman , Richard Purdie Subject: [1.50][PATCH 2/4] hashserv: let asyncio discover the running loop Date: Thu, 18 Nov 2021 17:26:21 +0100 Message-Id: <20211118162623.3117035-3-jacob.kroon@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211118162623.3117035-1-jacob.kroon@gmail.com> References: <20211118162623.3117035-1-jacob.kroon@gmail.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 ; Thu, 18 Nov 2021 16:27:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/13070 From: Justin Bronder >From 3.10 documentation [1]: Deprecated since version 3.8, removed in version 3.10: The loop parameter. This function has been implicitly getting the current running loop since 3.7 This is fixed in master as a side-effect of cf9bc0310b0092bf52b61057405aeb51c86ba137 which is more intrusive but likewise drops the loop parameter. 1. https://docs.python.org/3/library/asyncio-stream.html#asyncio.open_connection Signed-off-by: Justin Bronder Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie (cherry picked from commit 74a1e71b1e677a482fdedc685a71a1798ad63920) Signed-off-by: Jacob Kroon --- lib/hashserv/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hashserv/server.py b/lib/hashserv/server.py index a0dc0c17..df0fa0a0 100644 --- a/lib/hashserv/server.py +++ b/lib/hashserv/server.py @@ -521,7 +521,7 @@ class Server(object): def start_tcp_server(self, host, port): self.server = self.loop.run_until_complete( - asyncio.start_server(self.handle_client, host, port, loop=self.loop) + asyncio.start_server(self.handle_client, host, port) ) for s in self.server.sockets: @@ -546,7 +546,7 @@ class Server(object): # Work around path length limits in AF_UNIX os.chdir(os.path.dirname(path)) self.server = self.loop.run_until_complete( - asyncio.start_unix_server(self.handle_client, os.path.basename(path), loop=self.loop) + asyncio.start_unix_server(self.handle_client, os.path.basename(path)) ) finally: os.chdir(cwd) From patchwork Thu Nov 18 16:26:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Kroon X-Patchwork-Id: 59 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 D15AAC433EF for ; Thu, 18 Nov 2021 16:27:05 +0000 (UTC) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mx.groups.io with SMTP id smtpd.web11.3929.1637252824912650964 for ; Thu, 18 Nov 2021 08:27:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eR+dWCV7; spf=pass (domain: gmail.com, ip: 209.85.167.46, mailfrom: jacob.kroon@gmail.com) Received: by mail-lf1-f46.google.com with SMTP id k37so28892656lfv.3 for ; Thu, 18 Nov 2021 08:27:04 -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=AXdyQx38yNomNjVRJxP8bLLSc0ODKBH+VLPsW040YZw=; b=eR+dWCV7ODI6g4bcmPuthxyKHEoGQIw+AgBDsi+vfZuvzHvXBuT4mNzpXIikmkaNcH /SAtNqnlE7dU++3YJPgY2BV6TbiBxKozJqnlvgyUR9cNpUJBROundnH6V4AfpVZ0xdfD FJM4I9T43Fm4Ufn3OeSBXMhZfh25YJY9rOxM9+bHzL7GyR3DMrrMduO+fYO2VfULwrnO XH5df+jTD4tBZXqJIYxKN7afFxlEYudJ3yyBBQG3xqWQQRNI++txXxSySmFTnMN0hFcZ D3WaMBivic6enPXnxRmv/eof6edFcL6ZFDbqxbF8k05UECsu6Q5S4E6IxefzUH9d2nmN gl0g== 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=AXdyQx38yNomNjVRJxP8bLLSc0ODKBH+VLPsW040YZw=; b=CQtQDZWsrsAM9ERgtsKRqiCq06aNLxQgYgPMh/RPWx2MbE1twcdaPD5b10Q9U/Cf/I U0J0i2RHdZCZx5Wd1U5bZbjs02MmVWAK1g6J0NaeuGyYqFm4Y1kOF4efnIfW4SzR97w8 tGFl6GYjbwEh8NxiejMP/mpfEZe7aZtcbVFLCjYx9OQLSVQBEbOJtudYOLX4m9cX4Xeu k/OVbwCBB4RSjmCCG4qyCR7r9Eoj57QGeVLgiyWvWCDAuzJBp5XushytdkNIUUAZ6/RB iE0Y3LNW+aty5ffAbI56vGZuZTcfgPMJ6pheEbVOhLG6mAltDH0Il7XVHdZzGTjoxgWU 0/Xg== X-Gm-Message-State: AOAM5332mQuTwLnQJpqVEhb/uV3QhDMr5FBeYKLP7jwyHaIDnNLnIPLO ZYaE/RUjupWbM/Nr3cJQj1KKw01uKLqzsVe+ X-Google-Smtp-Source: ABdhPJzI4Bp507DWIgkQ6u0lVdQDFAi2NNY/pe9qwOrCQXYaqaMEKBOQN5s4PpgtDd86cKQhQcKTww== X-Received: by 2002:a05:6512:ac1:: with SMTP id n1mr24825776lfu.639.1637252823297; Thu, 18 Nov 2021 08:27:03 -0800 (PST) Received: from localhost.localdomain (37-247-29-68.customers.ownit.se. [37.247.29.68]) by smtp.gmail.com with ESMTPSA id p17sm37252lfs.292.2021.11.18.08.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 08:27:02 -0800 (PST) From: Jacob Kroon To: bitbake-devel@lists.openembedded.org Cc: Alexander Kanavin , Alexander Kanavin , Richard Purdie Subject: [1.50][PATCH 3/4] bitbake: adjust parser error check for python 3.10 compatibility Date: Thu, 18 Nov 2021 17:26:22 +0100 Message-Id: <20211118162623.3117035-4-jacob.kroon@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211118162623.3117035-1-jacob.kroon@gmail.com> References: <20211118162623.3117035-1-jacob.kroon@gmail.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 ; Thu, 18 Nov 2021 16:27:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/13071 From: Alexander Kanavin The change was introduced in https://github.com/python/cpython/commit/a698d52c3975c80b45b139b2f08402ec514dce75 Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 8d3c6cbbe6ee734495713ae3b99c609527842506) Signed-off-by: Jacob Kroon --- lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index aa9ac2c8..65857a9c 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -403,7 +403,7 @@ class DataSmart(MutableMapping): s = __expand_python_regexp__.sub(varparse.python_sub, s) except SyntaxError as e: # Likely unmatched brackets, just don't expand the expression - if e.msg != "EOL while scanning string literal": + if e.msg != "EOL while scanning string literal" and not e.msg.startswith("unterminated string literal"): raise if s == olds: break From patchwork Thu Nov 18 16:26:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Kroon X-Patchwork-Id: 60 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 D366FC433EF for ; Thu, 18 Nov 2021 16:27:07 +0000 (UTC) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mx.groups.io with SMTP id smtpd.web11.3930.1637252826685784213 for ; Thu, 18 Nov 2021 08:27:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=p6CzVOh9; spf=pass (domain: gmail.com, ip: 209.85.167.50, mailfrom: jacob.kroon@gmail.com) Received: by mail-lf1-f50.google.com with SMTP id b40so28829613lfv.10 for ; Thu, 18 Nov 2021 08:27:06 -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=OKrG1JwbfcWqE3h/bXOr/RlMZpUC4v7iwzEYxpkTtFc=; b=p6CzVOh9nZJhMLU9HOAb0sz0bP7EbOwY2N8tFAQ+uO3mEJ9WkEwD/HF4sKPYX7JBcC GXpGOQv6Mkb8Vv/xc6OrPac4jZ9kiWjJbsAFpXKHBHppGT0xK7d4YHkZoFpuJw3qzfeu +e2LFHk31wSq1dbzmlOWcplcXr2be43Nl/Fg+9FaucZdgD5txx2nNZ4Q7nwMRMi8APxI ZefF+P1oeEY91k8Y755RgKHi2QhvxnFYV2B/6ZAso6y+DacBbNpsvV1sMs8bB1csC4pn vADwHvw7R8jPDA8EhrEK/EAxvpAlgxvmR/H7rD2YgFMGSmQ0z87jxqBUxcxa3XZIYgxW LTmg== 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=OKrG1JwbfcWqE3h/bXOr/RlMZpUC4v7iwzEYxpkTtFc=; b=2Bp6FwEYDWu9AvciPutuX1aqoD18iWvc9eGiYCA2SkjmD9jNENYaQapogHevI0gNQX +he3h6ZA8wVn/WYXLPacpcR3EoYXc8LYEhGjMzoyHo7TJOF/XH7f3bD86fiDVZGYSzyj /ADG07VoCClqZ5iNDts5w8z1WUbwVoH4CpY9nXEeoUBHysv2u9qCdkkfEM8IT/tViLXS jLKLCOUFjZ1Cjjw9oyFzwbqKeMq86vIuLWlixFgxqLTzTLMd5WoPl9BDHCA+9Ku3YGRj RvGUKcgI/EoDaFJTV86l+/9w7ycDAskg3xQ6mkUyZlX6VBqjpNetjJhJVPyFLKB+M/pw 0p6g== X-Gm-Message-State: AOAM533EwTCYCEv8+pBurmMPFic/eTqnwqenpjAyq9jP+x6+rEDB5qGi 1AdxUnzFvHtp5GOUKvty9JO2o3r43WuO3XXm X-Google-Smtp-Source: ABdhPJyCU9pOFeVOiZ1OW9zJAx9CZ0l2ZlCJBfEd70vbQcm5/OkAe4HMn3jNViaHAkjjjEv1klouDw== X-Received: by 2002:a05:651c:621:: with SMTP id k33mr18522167lje.359.1637252825138; Thu, 18 Nov 2021 08:27:05 -0800 (PST) Received: from localhost.localdomain (37-247-29-68.customers.ownit.se. [37.247.29.68]) by smtp.gmail.com with ESMTPSA id p17sm37252lfs.292.2021.11.18.08.27.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Nov 2021 08:27:04 -0800 (PST) From: Jacob Kroon To: bitbake-devel@lists.openembedded.org Cc: Alexander Kanavin , Alexander Kanavin , Richard Purdie Subject: [1.50][PATCH 4/4] bitbake: correct deprecation warning in process.py Date: Thu, 18 Nov 2021 17:26:23 +0100 Message-Id: <20211118162623.3117035-5-jacob.kroon@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211118162623.3117035-1-jacob.kroon@gmail.com> References: <20211118162623.3117035-1-jacob.kroon@gmail.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 ; Thu, 18 Nov 2021 16:27:07 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/13072 From: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit aff52fe21a0b27f6302555c1e52a864550eb46ce) Signed-off-by: Jacob Kroon --- lib/bb/server/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/server/process.py b/lib/bb/server/process.py index 07bb785a..fcdce197 100644 --- a/lib/bb/server/process.py +++ b/lib/bb/server/process.py @@ -659,7 +659,7 @@ class BBUIEventQueue: self.reader = ConnectionReader(readfd) self.t = threading.Thread() - self.t.setDaemon(True) + self.t.daemon = True self.t.run = self.startCallbackHandler self.t.start()