From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id BouyNVASOWEZCgAAgWs5BA (envelope-from ) for ; Wed, 08 Sep 2021 21:43:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yLVQMVASOWG9DAAAbx9fmQ (envelope-from ) for ; Wed, 08 Sep 2021 19:43:12 +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 55F982DC96 for ; Wed, 8 Sep 2021 21:43:12 +0200 (CEST) Received: from localhost ([::1]:52458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mO3TT-0007dQ-G3 for larch@yhetil.org; Wed, 08 Sep 2021 15:43:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mO3TL-0007ck-76 for guix-patches@gnu.org; Wed, 08 Sep 2021 15:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mO3TK-0000iN-VO for guix-patches@gnu.org; Wed, 08 Sep 2021 15:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mO3TK-00085s-TR for guix-patches@gnu.org; Wed, 08 Sep 2021 15:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50481] [PATCH 2/3] gnu: python-rdflib: Update to 6.0.0. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Sep 2021 19:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50481 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50481@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 50481-submit@debbugs.gnu.org id=B50481.163113014631050 (code B ref 50481); Wed, 08 Sep 2021 19:43:02 +0000 Received: (at 50481) by debbugs.gnu.org; 8 Sep 2021 19:42:26 +0000 Received: from localhost ([127.0.0.1]:33616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mO3Sk-00084j-4t for submit@debbugs.gnu.org; Wed, 08 Sep 2021 15:42:26 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mO3Sa-000841-QW for 50481@debbugs.gnu.org; Wed, 08 Sep 2021 15:42:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=diK/q+vfJiszy+W1Rfh2WOQiSIl32+WjcDvehq/eAWo=; b=G8pgFpQ8aK41eo2pJjQDwOhFs9 GCfMpw/fSnaITkM4N0GoXyBanUfRCmQC06xhD9wbAa6KIIZhp82DG++M8d6T5913IyM5lEIb74MH2 nvGCO55MFZhg/5+OJ6DHRe0a2TvVsGwrsaXMiqlOSPsUgvAe303zVmxhmdo40lCbJMFv9FM1/YT4s m4czdNPu7UYQq0px2hzx+vEezurFmIDzEnj8OQoM2Et1x/a08M7wyQJgMTihhR8yExSuGsJfHpPWe dTgOGNf2P1HDXirw9bZTy7VCCt180dtFvk7I8HJZk2MGrw05ygyexdDyN2/0C5PJrDHHh/bUBpgye 1md/nosQ==; Received: from [192.168.2.1] (port=61150 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mO3SX-000WuL-Ua; Thu, 09 Sep 2021 01:12:14 +0530 From: Arun Isaac Date: Thu, 9 Sep 2021 01:12:10 +0530 Message-Id: <20210908194211.16140-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210908194211.16140-1-arunisaac@systemreboot.net> References: <20210908194211.16140-1-arunisaac@systemreboot.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=1631130192; 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=diK/q+vfJiszy+W1Rfh2WOQiSIl32+WjcDvehq/eAWo=; b=NPkQX+Z9GIabtzqfHFg+E46apXWNlFJdV6bzdjxom7dUMMRx3s1vT1PzQg3PprmnnoscAk r0jni8aorUJZ1kfENMxqmPs42R3xXgFTkIiESZCsSQSp+JzeDhIx2Pq6mOnmIpO4QODAc1 mKRkQc1sG5GKsYOKMoxSQnQhzh1jgy0nACLsyZnTMuSxW8IBqbzuIkzB4CN7u0RX4uvpa/ oD5w1ui9VxHNR8KDFv79//DbTCkjuBdLd2nOdXeADhQJjcsr1sPVyhQWo51Zx2TE85f7/2 NhO/nn42lajT1oLXN+q++ra+OTZw5WEd90yMwnfndpTYF8VactzGm1B5tvkTbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631130192; a=rsa-sha256; cv=none; b=Z/ahjs1UupBYeUzDoLyzwTwSOLCXxfDecPT3uksMU5QOrfjtxNknGvz+K1KzMjN47t3Isf n0aHOpIh7PVm+Rnh2fR8XGhv3k/Fq667rJWk++rrWrFMFMA5zMLMb/y9QJu2nhUgxCtSEP XZFU+GQLonKglAdkrTOIiLDkYm/Pxj/StAdcdUYsnu20gOBMKfVAJLGYM6swHQebsRQmsy Vu3BOFDZqrZvaqaqARRu2Ex1uvhup6p8TrKqGgik8YYkJrA+SstXHQzVqZZtVBZlAHZ47v tPA9tFLRMl/FLg+ZfP6e5JljE6y1Aro0VLHgVKOFN3PZVKw9W90oUtbiwjT5tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=G8pgFpQ8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.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-Spam-Score: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=G8pgFpQ8; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.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: 55F982DC96 X-Spam-Score: -0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: 999jQ/tzZ1rW * gnu/packages/rdf.scm (python-rdflib): Update to 6.0.0. [arguments]: Replace check phase. Enable tests. [native-inputs]: Add python-black, python-coverage, python-doctest-ignore-unicode, python-flake8, python-networkx and python-nose-timer. [propagated-inputs]: Add python-berkeleydb. --- gnu/packages/rdf.scm | 53 +++++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 20 deletions(-) diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index fb84d8053d..d09c28402a 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2020 Pjotr Prins ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2020 pukkamustard +;;; Copyright © 2021 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -337,31 +338,43 @@ ideal (e.g. in LV2 implementations or embedded applications).") (define-public python-rdflib (package (name "python-rdflib") - (version "4.2.2") + (version "6.0.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "rdflib" version)) - (sha256 - (base32 - "0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs")))) + (origin + (method url-fetch) + (uri (pypi-uri "rdflib" version)) + (sha256 + (base32 + "0ycqczf33irq0ai6wpg4vxd9xwlpq3c41hsy411xvx16xdbxgr3w")))) (build-system python-build-system) (arguments - '(;; FIXME: Three test failures. Should be fixed next release. - #:tests? #f)) - ;; #:phases - ;; (modify-phases %standard-phases - ;; (replace 'check - ;; (lambda _ - ;; ;; Run tests from the build directory so python3 only - ;; ;; sees the installed 2to3 version. - ;; (invoke "nosetests" "--where=./build/src")))))) + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key outputs tests? #:allow-other-keys) + (when tests? + ;; Make installed package available for running the tests. + (setenv "PATH" (string-append (assoc-ref outputs "out") + "/bin:" (getenv "PATH"))) + (invoke "nosetests" + ;; Exclude tests that require network access. + "--exclude" "^test_sparql_service$" + "--exclude" "^testGuessFormatForParse$" + "--exclude" "^test_onedotone$" + "--exclude" "^rdflib$"))))))) (native-inputs - `(("python-nose" ,python-nose))) + `(("python-black" ,python-black) + ("python-coverage" ,python-coverage) + ("python-doctest-ignore-unicode" ,python-doctest-ignore-unicode) + ("python-flake8" ,python-flake8) + ("python-networkx" ,python-networkx) + ("python-nose" ,python-nose) + ("python-nose-timer" ,python-nose-timer))) (propagated-inputs - `(("python-html5lib" ,python-html5lib) - ("python-isodate" ,python-isodate) - ("python-pyparsing" ,python-pyparsing))) + `(("python-berkeleydb" ,python-berkeleydb) + ("python-html5lib" ,python-html5lib) + ("python-isodate" ,python-isodate) + ("python-pyparsing" ,python-pyparsing))) (home-page "https://github.com/RDFLib/rdflib") (synopsis "Python RDF library") (description -- 2.33.0