Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2271711pxb; Fri, 17 Sep 2021 06:15:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU49Kg3N5ewJwen7LNdTFOCTz7Qpl5hYGKNGJPxrQxZvdI3P81ZS36t3pXDat+SuQL+eDj X-Received: by 2002:a2e:b88a:: with SMTP id r10mr9299543ljp.362.1631884536800; Fri, 17 Sep 2021 06:15:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631884536; cv=none; d=google.com; s=arc-20160816; b=ajIE1d/6e/XJGYKJZ1uoIC90KkMYivxmTKBcVhTsJKMVHMJHDu3ykiUyYMKWXxRAkN OHTiVXZm+x5AqRLO56fzdesDvnP0iqFQucpgpWqYEuqd0NMBrDRfRQIkNTxVN5boFs3n N+hhcApzhVxz6d0VCcg9FOK8pAf98RmrimiJU5sf/yXZy8V5XfZyDyNp8yA6DGX93EHG 4IjwJxaGVxty9fmDYowIchn6hNb7QCsecMKOcmm5/yUBnBfbfLxoARLAiRJm/6oK6fhc ucNyLPbCTK52q4QDoBL/62UEHngifnLPdSx3PEdpZ8PLbMebvJSkmz4m1Ik1XuGGDuyw MPVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=J0aW0ESNAcpr2zKBGTPwJC0KQT3XcC2B1pwJT/oWXhI=; b=K4Dm304IjAtMAJJav8rIlcGPFrz+DcJP7r7j6RflYNa0cXgKqpgdkSw9UDcbczpDol v1Jf6AFQTWvt5a7cWJ4epwogXrwwRe6z8xuGF5fhXC7uwrq9J0oAU+Qu1+VBP8SxGVHf a1EfQWk5BxJQD5NhDVk0BIwSxock9AX6Sc/X50mxuA65+8v7CgHP2qXa8ZPxgNyeZ+Tb gi0HuEP2XBnE5dMm26hfQSnlIKXwx0Vj4jFDIOQMsqMty1o4yqH2xUQ7GfVyeKSA0AwJ Gq6FTetehb/DHtcqvI0L3YEX/6g+ZNhhwwYEIcgl72ykyh8jN3IzKam2vwEJ05OKomg/ 17xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v30si6399537ejk.261.2021.09.17.06.14.50; Fri, 17 Sep 2021 06:15:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231338AbhIQIPW (ORCPT + 99 others); Fri, 17 Sep 2021 04:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbhIQIPW (ORCPT ); Fri, 17 Sep 2021 04:15:22 -0400 X-Greylist: delayed 520 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 17 Sep 2021 01:14:00 PDT Received: from relay04.th.seeweb.it (relay04.th.seeweb.it [IPv6:2001:4b7a:2000:18::165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BF01C061767 for ; Fri, 17 Sep 2021 01:14:00 -0700 (PDT) Received: from SoMainline.org (94-209-165-62.cable.dynamic.v4.ziggo.nl [94.209.165.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id E65811FACD; Fri, 17 Sep 2021 10:04:37 +0200 (CEST) Date: Fri, 17 Sep 2021 10:04:36 +0200 From: Marijn Suijten To: Barry Byford <31baz66@gmail.com> Cc: Bluez mailing list , Sanchayan Maity , Sanchayan Maity Subject: Re: Deprecated Python Libraries Message-ID: <20210917080436.hjs3fsezznlqcxay@SoMainline.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Barry, On 2021-09-17 08:03:36, Barry Byford wrote: > The Python examples in the test directory have some dependencies that > have issues: > [..] > Would there be any interest in getting patches to change to these > different libraries? > Are these test scripts used in any of the automated tests? > Can I submit a PR via https://github.com/bluez/bluez/pulls? Perhaps of relevance: Sanchayan (cc'd) imporved some scripts for Python 3 compatibility (Python 2 is already deprecated for the better part of 1.5 years) and proper formatting [1] while working on BT LDAC [2], some patches made it to the list [3] but were ultimately never merged. Sanchayan, would you be willing to resubmit these? Alternatively Barry can pick them up as part of their quest to improve the scripts for longevity? Disclaimer: I'm not a maintainer, merely a passer-by so don't take my comment as an acknowledgement to go ahead with the changes. But if you do I think everyone appreciates improved shebangs and PEP8 style formatting (I find `black` to perform formatting nicely) along the way just like Sanchayan's patches. [1]: https://gitlab.freedesktop.org/SanchayanMaity/bluez/-/commits/python3/ [2]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1621 [3]: https://lore.kernel.org/linux-bluetooth/?q=sanchayan Thanks! - Marijn