From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sE8tHr9lfmB9DgAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 07:25:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aDi5Gb9lfmA8YwAAbx9fmQ (envelope-from ) for ; Tue, 20 Apr 2021 05:25:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0C87115EEC for ; Tue, 20 Apr 2021 07:25:19 +0200 (CEST) Received: from localhost ([::1]:38448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYisw-0002Dd-5X for larch@yhetil.org; Tue, 20 Apr 2021 01:25:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYisg-0002D7-Hu for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYisg-0003YG-AT for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYisg-0007dz-7M for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47906] [PATCH 01/22] gnu: Add python-spyder-kernels. References: <20210420051907.470294-1-monego@posteo.net> In-Reply-To: <20210420051907.470294-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 05:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47906@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47906-submit@debbugs.gnu.org id=B47906.161889624329175 (code B ref 47906); Tue, 20 Apr 2021 05:25:02 +0000 Received: (at 47906) by debbugs.gnu.org; 20 Apr 2021 05:24:03 +0000 Received: from localhost ([127.0.0.1]:52631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYirc-0007a3-Nq for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYira-0007Zn-7G for 47906@debbugs.gnu.org; Tue, 20 Apr 2021 01:23:55 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id CDF362400E5 for <47906@debbugs.gnu.org>; Tue, 20 Apr 2021 07:23:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618896227; bh=Z8kfOPbNpXkCVAXkk0L36Deuz2PCPTh5Tm3muhOhuxs=; h=From:To:Cc:Subject:Date:From; b=OHv67Y2VUnOiO8MRVnyJoxMDkeUxN23Wpl6/1wbUIFdR3IQRrg9gMD5droL7QA8i5 1Aqtp/Kp3BqtuAtF61AVVmp2eoXypFKhHGPlokFtSXulb2OovVSQEeuo5XJ6HEHrGp EJ0NhblH1wBKyH9KDwCF3bB0+L9kXthQP3+yBWn/90EDMTlX7PL3FLC3gJ7hTmhUtx hWvst8wYPPh7/OH8ztVL7rN1Jnu0A7jCy8g4yOkmXiR765cw5UrxZbhM+nJtRNF0iE UsHwg+oaw7+UKcCUfsjZQJ/d/9eZ4KLcY8lEv+GsxrNobZn8nF/SJqMlvRQgyCFtMc TG71aEPYJng6g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPXCk26Ljz6tmJ; Tue, 20 Apr 2021 07:23:45 +0200 (CEST) From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:25 +0000 Message-Id: <20210420052246.470690-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618896319; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QKYlVzpqKUNbSSp7Ndt4AIM+3/PaXkmS2s+XNboXtBg=; b=EEI5XSPb3agkqGL+DXRH8cvOlNqZGTR2zX0VW8xtGoGy0baT4fqcdzXLAhoHJAWRHTmvVf 5kZK4y2YHtv1rU0XpZyLlMSPRhj/SZpO0jvWH525BDugKGnvEEFFjlZLpt8nAed/0+76xX AyyaC6iOaKwjsRLV8H6q7cwWEQ41SFDjb9qdJsOkZU+WuCOJ/WmSrxXYV7KQCfeZ5T1au6 Ffm7HU2K5+7h1y+fD+VBf4Mnj2c8rGIhD+2QQepNOMlfIoe2+iN81ncLsUchmI9cAbPzGO u5kwQFjh5+kIQ02pzaYP/66TA9ch2omeGMXcq/pTvP0hjER+xGxD+I3Xlmmwiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618896319; a=rsa-sha256; cv=none; b=OTePLrEerqUHfXqphnfSF9tP6QQEGsS+rF1t6sZYIAkF4I4KHi85R2LG8yEjrMJON+sWL5 44RCGmaMSS37x2VvHn5KtIsnaZhVqnknTF7r+sYmMNYDHWO1qj/6XqGBXQGgEHs0OmO92A KYLybUgEWMPTIfoUBQaW3Bc/RI/CmJURxhXM8iAmLDpbr/sLFLaoH3GRQzbiPvUe5kvYQG KbAEqpdCD0AyZuYq2VR4r1znkYqtVRJKwG9Y6LgE5e6LUBzz46C/apfHRguVTdVNynl+/4 TbykaB2n3GbLtt83GJzHdsVeYuUXTb4gmdPx39LhPdeIJAORJNVkAbASoKFQdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OHv67Y2V; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OHv67Y2V; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0C87115EEC X-Spam-Score: -0.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3GliQSy9HAk6 * gnu/packages/spyder.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Register new file. --- gnu/local.mk | 3 +- gnu/packages/spyder.scm | 94 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/spyder.scm diff --git a/gnu/local.mk b/gnu/local.mk index 50b11a8ca2..94f468e743 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -38,7 +38,7 @@ # Copyright © 2020 Tanguy Le Carrour # Copyright © 2020 Martin Becze # Copyright © 2020 Malte Frank Gerdes -# Copyright © 2020 Vinicius Monego +# Copyright © 2020, 2021 Vinicius Monego # Copyright © 2021 Björn Höfling # Copyright © 2021 Philip McGrath # @@ -518,6 +518,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/speech.scm \ %D%/packages/sphinx.scm \ %D%/packages/spice.scm \ + %D%/packages/spyder.scm \ %D%/packages/sqlite.scm \ %D%/packages/squirrel.scm \ %D%/packages/ssh.scm \ diff --git a/gnu/packages/spyder.scm b/gnu/packages/spyder.scm new file mode 100644 index 0000000000..9983066803 --- /dev/null +++ b/gnu/packages/spyder.scm @@ -0,0 +1,90 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2021 Vinicius Monego +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages spyder) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system python) + #:use-module (guix git-download) + #:use-module (guix packages) + #:use-module (gnu packages) + #:use-module (gnu packages check) + #:use-module (gnu packages python) + #:use-module (gnu packages python-science) + #:use-module (gnu packages python-xyz)) + +(define-public python-spyder-kernels + (package + (name "python-spyder-kernels") + (version "2.0.1") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/spyder-ide/spyder-kernels/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lxa2s577dd3v8gslk7nzk5ck42gbnqa52dp9cw852n8rv988g4c")))) + (build-system python-build-system) + (arguments + `(#:test-target "pytest" + #:phases + (modify-phases %standard-phases + ;; Tests require write permission. + (add-before 'check 'change-home + (lambda _ + (setenv "HOME" "/tmp") + #t)) + (replace 'check + (lambda _ + ;; Disable failing tests. + (invoke "python" "-m" "pytest" "-k" + (string-append "not test_cwd_in_sys_path" + " and not test_dask_multiprocessing" + " and not test_runfile" + " and not test_umr_reload_modules"))))))) + (propagated-inputs + `(("python-cloudpickle" ,python-cloudpickle) + ("python-decorator" ,python-decorator) + ("python-ipykernel" ,python-ipykernel) + ("python-ipython" ,python-ipython) + ("python-jupyter-client" ,python-jupyter-client) + ("python-pyzmq" ,python-pyzmq) + ("python-wurlitzer" ,python-wurlitzer))) + (native-inputs + `(("python-codecov" ,python-codecov) + ("python-cython" ,python-cython) + ("python-dask" ,python-dask) + ("python-flaky" ,python-flaky) + ("python-matplotlib" ,python-matplotlib) + ("python-mock" ,python-mock) + ("python-numpy" ,python-numpy) + ("python-pandas" ,python-pandas) + ("python-pillow" ,python-pillow) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-runner" ,python-pytest-runner) + ("python-scipy" ,python-scipy) + ("python-xarray" ,python-xarray))) + (home-page "https://github.com/spyder-ide/spyder-kernels") + (synopsis "Jupyter kernels for Spyder's console") + (description + "This package provides Jupyter kernels for use with the consoles of +Spyder, the Scientific Python Development Environment.") + (license license:expat))) -- 2.31.1