Message ID | cover.1703494195.git.othacehe@gnu.org |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9CE0227BBEA; Mon, 25 Dec 2023 09:07:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 95CEB27BBE2 for <patchwork@mira.cbaines.net>; Mon, 25 Dec 2023 09:07:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1rHgvJ-0002t7-SI; Mon, 25 Dec 2023 04:06:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rHgvI-0002sv-2j for guix-patches@gnu.org; Mon, 25 Dec 2023 04:06:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rHgvH-0000Td-QW for guix-patches@gnu.org; Mon, 25 Dec 2023 04:06:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rHgvO-0003Z6-4Z; Mon, 25 Dec 2023 04:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 00/13] Add support for Linux `make dtbs_check` Resent-From: Mathieu Othacehe <othacehe@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: leo@famulari.name, me@tobias.gr, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:07:01 +0000 Resent-Message-ID: <handler.68023.B.170349520913682@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe <othacehe@gnu.org>, me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Leo Famulari <leo@famulari.name>, Tobias Geerinckx-Rice <me@tobias.gr> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Leo Famulari <leo@famulari.name>, Tobias Geerinckx-Rice <me@tobias.gr> Received: via spool by submit@debbugs.gnu.org id=B.170349520913682 (code B ref -1); Mon, 25 Dec 2023 09:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Dec 2023 09:06:49 +0000 Received: from localhost ([127.0.0.1]:53900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rHgvA-0003Yb-Gn for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:06:48 -0500 Received: from lists.gnu.org ([2001:470:142::17]:53018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <othacehe@gnu.org>) id 1rHgv8-0003YO-IF for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:06:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <othacehe@gnu.org>) id 1rHguw-0002pm-NJ for guix-patches@gnu.org; Mon, 25 Dec 2023 04:06:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <othacehe@gnu.org>) id 1rHguq-0000PJ-Oe; Mon, 25 Dec 2023 04:06:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=QHLQtZVDg5bFC525mUmfx8wUnSSobew+xbYLJtlprto=; b=ketDA2C3Saelgr TpMuBmp7GdfFatRb+HG9pqgQ43fOGBo4WDfZW/UFgttJwbrcl4Dxwb/HCz6Yp/ZpR7arPCcTPW/F3 b0l5yhIpGlaPcBpepD3TjJJGVxTJG7pQ/Jf5t+GunMyGnUTbMJxCyXtMBIAMkYLU1VDcdO2uKoz11 qs48yZIw951budGV84lJs2H6MYavFDqH0JnD7IjQhhoWSPRxLcv6655k13giuV0a1r//xt2CXwF0m NvthBjCfAtsrrdnMSBMZsodPCLF3GEGa1zpb3weSRlfVkJPkwkHPAKfh+SprimNbEqWWtZDd6a7Ai RdvGLs6fcHT+pbEsscaQ==; From: Mathieu Othacehe <othacehe@gnu.org> Date: Mon, 25 Dec 2023 10:06:06 +0100 Message-ID: <cover.1703494195.git.othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Add support for Linux `make dtbs_check`
|
|
Message
Mathieu Othacehe
Dec. 25, 2023, 9:06 a.m. UTC
Hello, This adds support for `make dtbs_check` in a Linux checkout from within a `guix shell -D linux-libre` environment. This allows to check device trees against the JSON schema that is made up from the Linux dt-bindings documentation. This requires an update of python-jsonschema, which in turn requires python-attrs > 22.2.0. On master, we only have python-attrs == 21.2.0. That means that patches 0008 to 0013 are targeting the python-team branch. Thanks, Mathieu Mathieu Othacehe (13): gnu: dtc: Update to 1.7.0. gnu: python-trove-classifiers: Update to 2023.11.29. gnu: Add rust-unsize-1. gnu: Add rust-triomphe-0.1. gnu: Add rust-compiletest-rs-0.10. gnu: Add rust-archery-1. gnu: Add rust-rpds-1. gnu: Add python-rpds-py. gnu: Add python-referencing. gnu: Add python-jsonschema-specifications. gnu: python-jsonschema: Update to 4.17.3. gnu: Add python-dtschema. gnu: linux-libre: Add python-dtschema. gnu/local.mk | 1 + gnu/packages/bootloaders.scm | 100 ++++++++++--- gnu/packages/crates-io.scm | 135 ++++++++++++++++++ gnu/packages/linux.scm | 4 + .../patches/dtc-meson-cell-overflow.patch | 32 +++++ gnu/packages/python-build.scm | 4 +- gnu/packages/python-xyz.scm | 115 +++++++++++++-- 7 files changed, 358 insertions(+), 33 deletions(-) create mode 100644 gnu/packages/patches/dtc-meson-cell-overflow.patch base-commit: 0d13d095420861022e68e87ceebd5e037e12a8b3
Comments
On Mon, Dec 25, 2023 at 10:06:06AM +0100, Mathieu Othacehe wrote: > Hello, > > This adds support for `make dtbs_check` in a Linux checkout from within a > `guix shell -D linux-libre` environment. > > This allows to check device trees against the JSON schema that is made up from > the Linux dt-bindings documentation. > > This requires an update of python-jsonschema, which in turn requires > python-attrs > 22.2.0. On master, we only have python-attrs == 21.2.0. That > means that patches 0008 to 0013 are targeting the python-team branch. > > Thanks, > > Mathieu > > Mathieu Othacehe (13): > gnu: dtc: Update to 1.7.0. > gnu: python-trove-classifiers: Update to 2023.11.29. > gnu: Add rust-unsize-1. > gnu: Add rust-triomphe-0.1. > gnu: Add rust-compiletest-rs-0.10. > gnu: Add rust-archery-1. > gnu: Add rust-rpds-1. > gnu: Add python-rpds-py. > gnu: Add python-referencing. > gnu: Add python-jsonschema-specifications. > gnu: python-jsonschema: Update to 4.17.3. > gnu: Add python-dtschema. > gnu: linux-libre: Add python-dtschema. > > gnu/local.mk | 1 + > gnu/packages/bootloaders.scm | 100 ++++++++++--- > gnu/packages/crates-io.scm | 135 ++++++++++++++++++ > gnu/packages/linux.scm | 4 + > .../patches/dtc-meson-cell-overflow.patch | 32 +++++ > gnu/packages/python-build.scm | 4 +- > gnu/packages/python-xyz.scm | 115 +++++++++++++-- > 7 files changed, 358 insertions(+), 33 deletions(-) > create mode 100644 gnu/packages/patches/dtc-meson-cell-overflow.patch > > > base-commit: 0d13d095420861022e68e87ceebd5e037e12a8b3 > -- > 2.41.0 > Patches 3-8 look good to me with the few comments I made. They can go straight to master, no need for a stop-over in the rust-team branch.
Hey Efraim, > Patches 3-8 look good to me with the few comments I made. They can go > straight to master, no need for a stop-over in the rust-team branch. I took you remarks into account and applied patches 3-8. Thanks for having a look! Mathieu
On Mon, Dec 25, 2023 at 10:06:06AM +0100, Mathieu Othacehe wrote: > Hello, > > This adds support for `make dtbs_check` in a Linux checkout from within a > `guix shell -D linux-libre` environment. > > This allows to check device trees against the JSON schema that is made up from > the Linux dt-bindings documentation. > > This requires an update of python-jsonschema, which in turn requires > python-attrs > 22.2.0. On master, we only have python-attrs == 21.2.0. That > means that patches 0008 to 0013 are targeting the python-team branch. Overall, I think that if it's working for you, great. Especially since Efraim approved the Rust stuff. However, I prefer not to make the kernel depend on python. I know that basically any system will include python but still I prefer to avoid the direct dependency. The goal of this patch series is to improve a development workflow, right? How about doing `guix shell python-dtschema -D linux-libre`? Will that work?
Hey Leo, > The goal of this patch series is to improve a development workflow, > right? Right. > How about doing `guix shell python-dtschema -D linux-libre`? Will that > work? Sure, in fact I am currently using the following command line: --8<---------------cut here---------------start------------->8--- guix shell python python-ply python-gitpython python-dtschema -D linux-libre --8<---------------cut here---------------end--------------->8--- I guess that the list can (will) go longer, so what would you think of creating a linux-python-build-tools package that would be independent of linux-libre? For now, I will just drop the last patch. Thanks, Mathieu
On Thu, Dec 28, 2023 at 09:00:47PM +0100, Mathieu Othacehe wrote: > I guess that the list can (will) go longer, so what would you think of > creating a linux-python-build-tools package that would be independent of > linux-libre? If that works for you, I'm all for it!
Hello, Alright, so everything except python patches is merged. Python team, would it be OK to push the rest to the `python-team` branch? Thanks, Mathieu