From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6Cw1OBMDgmNgZAAAbAwnHQ (envelope-from ) for ; Sat, 26 Nov 2022 13:14:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GLH0NxMDgmP7ggEAauVa8A (envelope-from ) for ; Sat, 26 Nov 2022 13:14:11 +0100 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 99C87952C for ; Sat, 26 Nov 2022 13:14:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyu3Z-0004sF-6X; Sat, 26 Nov 2022 07:13:17 -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 ) id 1oyu3M-0004pj-1J for guix-patches@gnu.org; Sat, 26 Nov 2022 07:13:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyu3L-0005LO-P2 for guix-patches@gnu.org; Sat, 26 Nov 2022 07:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyu3K-00018S-SC for guix-patches@gnu.org; Sat, 26 Nov 2022 07:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59607] [PATCH 5/8] gnu: Add python-filterpy. References: In-Reply-To: Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Nov 2022 12:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59607 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59607@debbugs.gnu.org Received: via spool by 59607-submit@debbugs.gnu.org id=B59607.16694647364263 (code B ref 59607); Sat, 26 Nov 2022 12:13:02 +0000 Received: (at 59607) by debbugs.gnu.org; 26 Nov 2022 12:12:16 +0000 Received: from localhost ([127.0.0.1]:38052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyu2Z-00016Z-Qn for submit@debbugs.gnu.org; Sat, 26 Nov 2022 07:12:16 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyu2L-00014x-P2 for 59607@debbugs.gnu.org; Sat, 26 Nov 2022 07:12:02 -0500 Received: by mail-wr1-f68.google.com with SMTP id b12so10225607wrn.2 for <59607@debbugs.gnu.org>; Sat, 26 Nov 2022 04:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:from:to:cc:subject:date:message-id:reply-to; bh=MVjJtwjwvS6EQFM3JT6bdv3LxWJALCQ+3ta7O2OZFeM=; b=pyBMD9OGC6KBn441gZv9BNeZVe/5fRgprWtRysjyjjM8cXZKEBAT9hKwhXERgyuAl5 FrYrXDVJxx7jVpFLIcVTR5RFKIZEEfFubFLgEpdeLFeP01QPv2wNXvQcCTEDqU4gGDFE 5SielMZv9ooE6sMlTog5xPPbNo4sYv3OkJJ2vc7+3JW9l89MVVJ0eCT1wCvbGCKg3rJS 8Cqr/R15H8xyBa6HX8Clilh9cFqiF7C1kkrlH/k8Kitpr1diRWgKMU7nKBEomnq0H8Ln zwAcI/wYTKFNdVSkxbcO6Rmnm0krlsXe3pt5yk8g/zHY4AH0MUlhZBEyvFn5f1Roos9w CjTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MVjJtwjwvS6EQFM3JT6bdv3LxWJALCQ+3ta7O2OZFeM=; b=KbxlacdomrnORsmiLvmI1Y8PeaVVtXZu8cszyTXeba4nVa8vmyViiqyqrmquNTuugC JF8e8+6schjGLaoqSdvD/UYHKnilWKxt91cCXDbHbLMSCSOTl2OC8AnvMBzIlCtPOps6 OgHt449S1ZQHCo0raNC7JzJuGjRW+XEjL+YC8q0Ktv3dRzfMU0uCbCylzjz4ycJRqmFJ mjr5bkr9jy3CI+uw65TPJihkJ0cChWkUihGVR1BY1abBsvaSJ+0/6mg0JzUVSK6zq3n9 AQQMD+nUjz6xP/52y03BGtlSLv45bgDKNmrL7tYLtQtzQfkkXqv4B1aESadzfIzVNYTP NA/A== X-Gm-Message-State: ANoB5pnETW3bcgw7rK6an+1rAhgA7fW/DiIgavaFjrvilS1FqfdxaL6t 67GjqbVEzYJavKZ8Rb1fLfERGoS0leM= X-Google-Smtp-Source: AA0mqf7GPT3+y5JILbpcee2e8iIYNDicnMJ5u5t11DERLy+wCkHBkCj9Hqs8TMlkNjrQEl0BLigGOA== X-Received: by 2002:adf:de0a:0:b0:241:cdf6:6a81 with SMTP id b10-20020adfde0a000000b00241cdf66a81mr15539418wrm.243.1669464716299; Sat, 26 Nov 2022 04:11:56 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id az26-20020a05600c601a00b003d01b84e9b2sm8695059wmb.27.2022.11.26.04.11.55 for <59607@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Nov 2022 04:11:56 -0800 (PST) From: Liliana Marie Prikler Date: Fri, 25 Nov 2022 21:37:58 +0100 Content-Transfer-Encoding: 7bit Message-ID: <7657246e20fc5dede55b714864d8eae90ec73dfd.camel@gmail.com> 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669464851; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=MVjJtwjwvS6EQFM3JT6bdv3LxWJALCQ+3ta7O2OZFeM=; b=pYhUXMNn1H2BauLgKS1kiiUQN8JTxsIHOfITiQ3gQWVUlRlTfAGgvCeViAQW02+L6F+YJ2 VAebhL0n7lM0NA4EBwEZ4o3w5hrPkdbShHtHcNXVD3dJgflRrOkfo9ggRO8J7vk3PTLo99 5GJpBST9CeBng2YWawKri/gFpNskCxFhzENS598l0wLlnxw9meIhVE8P1ymyUpBo1oEvPq ga/21Egz4D/VKGKiRjXWhXiffylMJK2JmpEC0wJl0iT03oEJJZKOXYNat1pJNB4U6P5Eik 4hV+3X1JFSgSWUmB6hOOAXjBtbcNByGU8wszYuZpXL4GK6IjBjg6uLq6lekRWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669464851; a=rsa-sha256; cv=none; b=j6KshKZAr6IhfEn16eCG+lVBiScP1jR2r5TxPqa4/sTyBy5aXKyiDX7CU8Td4ydzwjfiX+ Z5M39GmC5NJbt3YU7FO16PI0jdxPAb2v0l1wFovwbXa0D2trNZ8gIAXkumKuZl0TUPwhS6 gH8W57TtCp9gXe9jGdq2/zfwb9KuvKZqnUD8/xJIaRIpK2Zmi7HTOOp2d2WmmdhleGa7Pa sEOo1dYDEKKFUXMMkeD8tLN16j/SDUujd41O+fgk7UCwTdjWI5pRmPoNzsn5HJjhv7pdf8 jiwkbKyYRJHvstcBhhY5PxTH/lN/vNVYt4Gnfm8jmMM8wY9KA6v4VGnjdDEV7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pyBMD9OG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pyBMD9OG; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 99C87952C X-Spam-Score: 6.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: GuwMjoKhD+LC * gnu/packages/python-science.scm (python-filterpy): New variable. --- gnu/packages/python-science.scm | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 52fe1460bb..d69e43be4e 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -634,6 +634,56 @@ (define-public python-fbpca analysis} (PCA), SVD, and eigendecompositions via randomized methods") (license license:bsd-3))) +(define-public python-filterpy + (package + (name "python-filterpy") + (version "1.4.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rlabbe/filterpy") + (commit version))) + (sha256 + (base32 + "1i7v7jfi0ysc2rz9fkxyrmdbh4a1ahcn6vgjajj0zs6wla3jnmxm")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'check 'mark-failing-tests + (lambda _ + (substitute* "filterpy/kalman/tests/test_kf.py" + (("from __future__ import .*" all) + (string-append all "\nimport pytest\n")) + (("def test_(noisy_1d|steadystate)" all) + (string-append "@pytest.mark.xfail()\n" + all))) + (substitute* "filterpy/kalman/tests/test_fm.py" + (("from pytest import .*" all) + (string-append all "\nimport pytest\n")) + (("def test_noisy_1d" all) + (string-append "@pytest.mark.xfail()\n" + all))) + (substitute* "filterpy/stats/tests/test_stats.py" + (("from __future__ import .*" all) + (string-append all "\nimport pytest\n")) + (("def test_mahalanobis" all) + (string-append "@pytest.mark.xfail()\n" + all))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) + (propagated-inputs (list python-numpy python-scipy)) + (native-inputs (list python-pytest)) + (home-page "https://filterpy.readthedocs.io/") + (synopsis "Kalman and Bayesian filters") + (description + "This package provides implementations of various filters, such as the +Kalman filter, its extended and unscented variants, recursive least squares, +and others.") + (license license:expat))) + (define-public python-geosketch (package (name "python-geosketch") -- 2.38.1