From patchwork Mon May 20 22:12:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 64764 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 63A6E27BBE2; Mon, 20 May 2024 23:16:18 +0100 (BST) 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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS 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 40D0727BBE9 for ; Mon, 20 May 2024 23:16:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9BId-0007vk-Hu; Mon, 20 May 2024 18:16:07 -0400 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 ) id 1s9BIb-0007o5-8l for guix-patches@gnu.org; Mon, 20 May 2024 18:16:05 -0400 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 ) id 1s9BIa-0004JO-Tw; Mon, 20 May 2024 18:16:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9BIb-0002WQ-Ay; Mon, 20 May 2024 18:16:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71084] [PATCH 24/26] gnu: Add python-comm. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 22:16:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71084 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71084@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 71084-submit@debbugs.gnu.org id=B71084.17162433129617 (code B ref 71084); Mon, 20 May 2024 22:16:05 +0000 Received: (at 71084) by debbugs.gnu.org; 20 May 2024 22:15:12 +0000 Received: from localhost ([127.0.0.1]:45240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9BHk-0002Ux-6r for submit@debbugs.gnu.org; Mon, 20 May 2024 18:15:12 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:45478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9BH9-0002Oc-JA for 71084@debbugs.gnu.org; Mon, 20 May 2024 18:14:36 -0400 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-420180b5897so24661925e9.3 for <71084@debbugs.gnu.org>; Mon, 20 May 2024 15:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716243205; x=1716848005; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oy6ZphmqyNRZ27A7P48ywOe1/rCgWkkTSKVfrwmF27g=; b=hpouxKhgZ8uPH4NVTg+IdE0iVH47ZFoYZznxYyGU4+audBJzC1Gq+mbOy0eSaLsdSb v59KJlalp4E9C5SOtQNMh2k7mdBdrmPmboRDvGMhKObLuwUyz1/k7pKkIV3kO9Lk48fI AkAHMgyKEmf40dohHf+BpWt0T8QLvi63h97MUzs+Zs0b6Mz7dPciFETejn77Bt8cY6NO wvhSTtr0tdmDyafir6nKaH+NE2fJ6VdORAhaWJBw+46AM9HkSH6lKbcZ8x7iZ+8yTSWB 5+P0mpgaqEZZXN7Yxc05RqgObbPKm87Cta1VsxYGFH3WKeXDccU2hVISUwAbkt5Lr2C3 j0rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716243205; x=1716848005; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oy6ZphmqyNRZ27A7P48ywOe1/rCgWkkTSKVfrwmF27g=; b=amk7BcsQMqEvddWKNeKM+D9ARc2fboHkfVjl2Yic20TemEKXpMs2Urkcj8qCrAa++4 IPgriVJLlIkDCHvxL5XsTJ7fEA4tNUntTzX57vtuJDn5djFmp2v7PmjFV6am2XUiVrgy ihMeohQXqwVW3UT2MWoMsL82eEVcaoSn4fkn0SteTY5QDFGDdZYZh41cRz1hVPhd0c1B u2LMxIvz4uCZiaD5jEIFToGO5mRNbz8/dTxmZOgOB6ay+httnjTQrrjOl+ybitd2bvct 7vIYFTr6bibmYWOvUB1YKibFVJXgrxphS0dI+m5znWj26ez5xkBDxaIh4qRcFfUYZRgX iuEQ== X-Gm-Message-State: AOJu0YxzkbgdxVD72HYWwMs2KoUBsI46HgjIukrUySGXqsyBg5bhLoRX W9Hahnid/HgEJLnylRQhaRVXMiP4VsyJrS6q5KLyvSuZcwT6FGkFxfhoIL+7 X-Google-Smtp-Source: AGHT+IF9bhzF97sEOZ6D3X1/bZIE0F42WNloMFcgO6dpEpdetbmiW5svrkiTwDLRqX65YFUGcoUIuA== X-Received: by 2002:a05:600c:1989:b0:420:14ab:b662 with SMTP id 5b1f17b1804b1-42014abb8a1mr171608405e9.40.1716243205072; Mon, 20 May 2024 15:13:25 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4200a8e6846sm376793855e9.15.2024.05.20.15.13.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:13:24 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 20 May 2024 23:12:51 +0100 Message-ID: <221b70d271a0f03aa36edb10a6d2ecb87b6ad31d.1716242564.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 * gnu/packages/jupyter.scm (python-comm): New variable. Change-Id: I1bed7b6f54e63db6f47cdbaccd816c56f06045f8 --- gnu/packages/jupyter.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm index ef68521b53..7ff6202665 100644 --- a/gnu/packages/jupyter.scm +++ b/gnu/packages/jupyter.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021 Hugo Lecomte ;;; Copyright © 2022 Marius Bakke ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2024 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -491,6 +492,32 @@ (define-public python-jupyter-server-mathjax Mathjax, the JavaScript display engine for mathematics.") (license license:bsd-3))) +(define-public python-comm + (package + (name "python-comm") + (version "0.2.2") + (source + (origin + (method git-fetch) ; no tests data in PyPi package + (uri (git-reference + (url "https://github.com/ipython/comm") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18xsbpd8dgcfbc51xl59nlwaq7jnyzvgzjfj6psscv71894x4lg7")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling python-pytest python-setuptools-scm)) + (propagated-inputs + (list python-traitlets)) + (home-page "https://github.com/ipython/comm") + (synopsis "Python Comm implementation for the Jupyter kernel protocol") + (description + "This package provides a way to register a Kernel Comm implementation, as +per the Jupyter kernel protocol. It also provides a base Comm implementation +and a default CommManager that can be used.") + (license license:bsd-3))) + (define-public python-nbclient (package (name "python-nbclient")