From patchwork Fri May 3 15:05:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Mikanovich X-Patchwork-Id: 3523 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 03 May 2024 17:05:27 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f191.google.com (mail-lj1-f191.google.com [209.85.208.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 443F5R3k008794 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 3 May 2024 17:05:27 +0200 Received: by mail-lj1-f191.google.com with SMTP id 38308e7fff4ca-2e262d63c70sf7130661fa.3 for ; Fri, 03 May 2024 08:05:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714748721; cv=pass; d=google.com; s=arc-20160816; b=OYsJfAXKm6z1FUZP18+nUYUjOGGJtMhtI12w37N4Da6d+yqpmUKNKeSmxSkMlr4qtQ 0f8WPgb5pJcVJYxXgGaS9T1UiRBWSXdTKqoVGjSTMwvj7nPw0IpU5Wg9OBGBfLOWrie3 hYhZIjRvWTCpINHuKMhWXaH29dvSNPMmmQTcJz2HHidJ0DT1S5YWL6qRePrYomlOEH7s v7IW+4bUtfnPUUjtDIkNmIKMFH+5exe4HMLGT/q4gkHxFM9xWwQpP3CkJ7Vsdd1IEzZG c4hd7CLf/Qi5LrsOohd4z1BLGDSL/YDWq+NjJZ0mBq5fgKYFjhdI0a/FXcRs/EfbbGxa b+vA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=5/9dpgwCTz6fZEPbx4041S4uYMp9wasMms9J4Jl1X8o=; fh=RpXlfxaV03+1xQTeA7epHU7i0AVrDMTI0tYQ/rQzla8=; b=l8LhtniE818nlAaz9IyJK7WODOhlRileKRF+EsPxit8h9wxvxblbaNVwuAKEH1uy0N thJOCcQ1+3k+1cix3PlBm3v5gDxXepKg/JL9FBHwWUO/poyx5aXkRy9A31KX8e2axjuQ Omt7GYMMzzf775CSFrdbmsxY5sNrY6jHAobUutS9yyic5suMNSR8xWlcM2qWNhmEqCz5 OykaePxzvp7Gx+gCxAHJY/pVJRbggdJfqKwUR+L70SQv/xd4rLlyDkvsug8SUQ5wX1I9 j3/A7ciYLm4sCblfW8enoWUKuzDl+brl3PvIm11CZFeFvUxqhtxCFbiUOUOan4/YI9y8 8sAw==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1714748721; x=1715353521; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=5/9dpgwCTz6fZEPbx4041S4uYMp9wasMms9J4Jl1X8o=; b=okPyfkbGYWUvvZODDxUGiUfah7QX7IirwzB1hnfTPL6p4GwD5UCLMSBAPfzXzr/pCF x8caIHQH4kZg2Oco5qY9szyyZwOW/GHHmZe+6ckml7Ka6cBa36ExfFPv9tESM3SkYZ/K cZLPUUWJ9Bt3pEIEnWUSTO8k/Sdn/b8jzRTdhpgpLOemh0qgdsTsx3wGpb0mZTojAO0Q /o39onoj+CKYQDTb2hP3Wyr6YnVLVSVdT+85gZ2QfjHvowEfphSNj7D/JogcFiH+z+zv kWCkapqQcpHR9RJvqEoJ9sV7a4moyE08UsKyylNWutE+k0W48hkjnZshtcb1CSkHkZwz tAlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714748721; x=1715353521; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=5/9dpgwCTz6fZEPbx4041S4uYMp9wasMms9J4Jl1X8o=; b=Cfj193lCQcQmNS89KcIDnAzxymEkRiLut6mWT8IGr6Oc6q8GDz11T8loQxIWO0slwk /uQ+CMxGW4pTt/ECaOn78CTTiSaDXfjGI316R+VBKUa3/R8TnbqNPGbfy7ZSBw9y9EuY 41bBIdCHa8Tww+5/a1ZMIx9RiwsI3rTOR71+pIGw1JoeLBxuPzDX71w/UCBVSsr3mufT 6100465tgGYvJe942KAqVrFCYxmL4PCRPOkOFDbMO3xm0g9sgXoGcLrRsEmy6Yekp8Ci oMbOKDOzbKA3/VtCdJKABbWOHbAxinxtcn/AI6sU/DopmD00zwGB73DKz8Svk62sALZ5 GQXw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWUwzb7n7AcUCBVYNrq9VqqVLz1umG/SgIX48eEMwTJlQppF55y2Yl+SmyTl5z3XrVBR0w4ppKYzOk1ZxhUL1S+GEw2JKE= X-Gm-Message-State: AOJu0Yz2UAzDMDv08peTn9cTqlR51v0mhhSxtxQhMGgc3ABiWXGVRULg S6NUR2cOeoCUH8ahJTeFE1OmXM/AYSUuDtYESqNh4g6DfU4J1hIA X-Google-Smtp-Source: AGHT+IEThCpjka8uM2vf1bdK8Ij+zpxjsmYFf/qDVXZrJuqwY1+hHfi1FbtPjD0tQ8SpydvAm/iHOw== X-Received: by 2002:a05:651c:205e:b0:2d6:f5c6:e5a1 with SMTP id t30-20020a05651c205e00b002d6f5c6e5a1mr2273763ljo.12.1714748721111; Fri, 03 May 2024 08:05:21 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:3b0c:b0:416:51a2:5f53 with SMTP id 5b1f17b1804b1-41dc70e6e45ls11749705e9.1.-pod-prod-05-eu; Fri, 03 May 2024 08:05:19 -0700 (PDT) X-Received: by 2002:a05:600c:8507:b0:41b:f577:373 with SMTP id gw7-20020a05600c850700b0041bf5770373mr3230345wmb.15.1714748719179; Fri, 03 May 2024 08:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714748719; cv=none; d=google.com; s=arc-20160816; b=Dy3C3Lj+E6w1MhqlES6zEnYgiLH+H2x0HkfowHN6snCxaKdP0X0PS4/riE1/pDcZTW SP6V8oAkUKh68zd/ghsBsuOKfXg3/5d0QkApm1/R+Efe2ErjdvNKbKqg1PaNHRH1T76V ccEznQ5/TI64o4GXFhw51q+eCxglOL9GfMNmfINLB6OSr/iR3pCEkedls4m3c/EfHlNm P58CuYzrkdowqUCMQCmK1YrlJiyptgvYjL5Eyzzu5+9SjkMCNsvIm1DUS/A5cDtJIaRj UVhJTknhYMdo82x+ciMnChs8DBMjR9O9WhA7e8VLbRWBxrE1Hh59RlUZAkm1GEAqpfjr fsZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=Wwt3hhuaggVohAj1SvX/l0CQP6hnGBfVHxUkMw0JISY=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=MgeOTvKw1clIIbRx5gGs919gfQkEd5XI61eoCMtnpeKfV2VRPZXZ0Z6ksBnSf7glkp mPBj7dDXNyX0S0vg7HaB90775D0y9/bmamqoFkQbebwH3L3sd2XaJET88/jp31Yv91wd C91EQ0Lz2nW+7fEuMsDdxRr7O8NXO9DaUaImFykcsnVKIywax8OaiLIHd++3v6KFeYvT D+YZDa+dPa4QR3tokhviUn/tH9LVNa9RAprn/pD4DC8cnChrdIF2I+9r4DHABrWg1+Pj +kOTqRgJgHL3wvmLYuxmPcpueG7xjyZNmSiVqjOT0SFoYRDAJ1mNkCErUI94hiGtm0wi 7tLg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id k24-20020a05600c1c9800b0041ba4ceaa91si477825wms.0.2024.05.03.08.05.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 May 2024 08:05:19 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from user-B660.promwad.corp ([159.148.83.123]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 443F5BOD008720 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 3 May 2024 17:05:18 +0200 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH v3 5/6] bitbake: Downgrade python requirements Date: Fri, 3 May 2024 18:05:03 +0300 Message-Id: <20240503150504.479387-6-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240503150504.479387-1-amikan@ilbers.de> References: <20240503150504.479387-1-amikan@ilbers.de> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: amikan@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Bitbake 2.8 requires Python 3.8.0 as minimal version, but Debian Buster has only 2.7.3. To keep compatibility downgrade minimal version in Bitbake check code. This fix should be reverted after deprecation of Debian Buster. Signed-off-by: Anton Mikanovich --- bitbake/lib/bb/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index eef45fe4..7d9bc147 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py @@ -12,8 +12,9 @@ __version__ = "2.8.0" import sys -if sys.version_info < (3, 8, 0): - raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake") +# It was 3.8.0 originally but set to 3.7.3 for Debian Buster +if sys.version_info < (3, 7, 3): + raise RuntimeError("Sorry, python 3.7.3 or later is required for this version of bitbake") if sys.version_info < (3, 10, 0): # With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work"