From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0IEJCbxpS2Tf3QAASxT56A (envelope-from ) for ; Fri, 28 Apr 2023 08:37:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uB8gCLxpS2TcdAAAG6o9tA (envelope-from ) for ; Fri, 28 Apr 2023 08:37:48 +0200 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 C0C7723775 for ; Fri, 28 Apr 2023 08:37:47 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psH2W-0006c6-Tn; Fri, 28 Apr 2023 01:53:04 -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 1psH2U-0006b0-V9 for guix-patches@gnu.org; Fri, 28 Apr 2023 01:53:03 -0400 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 1psH2U-0003OY-Li for guix-patches@gnu.org; Fri, 28 Apr 2023 01:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psH2U-0006hV-H6 for guix-patches@gnu.org; Fri, 28 Apr 2023 01:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63139] [PATCH python 18/20] gnu: python-fido2: Update to 1.1.1 and enable tests. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Apr 2023 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63139@debbugs.gnu.org Cc: John Kehayias Received: via spool by 63139-submit@debbugs.gnu.org id=B63139.168266113225658 (code B ref 63139); Fri, 28 Apr 2023 05:53:02 +0000 Received: (at 63139) by debbugs.gnu.org; 28 Apr 2023 05:52:12 +0000 Received: from localhost ([127.0.0.1]:60333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psH1g-0006fh-4L for submit@debbugs.gnu.org; Fri, 28 Apr 2023 01:52:12 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:22731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psH1d-0006f9-VH for 63139@debbugs.gnu.org; Fri, 28 Apr 2023 01:52:10 -0400 Date: Fri, 28 Apr 2023 05:51:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682661124; x=1682920324; bh=FHFZKZKdWDAnM5NWCVAgnfE6Yk8P9bQC2rfaMCBg8jw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=CtjCJq8Cla7oZjzfPI4HBV2enluRpfqAc3GxhBqKbifu08S3Pik6OQifVdfFBtHpw CsBNepsg/BYf68ctjW59Apyj115T9nKriUnFj/D04y8tFPbYsI3hRr776d6Hg2ioG4 PNZun281y+3nE6hiFTKPB1R0aQvkdkd1IJdg+evLBcqp4+YDUQWqmEpnmxcc0WSnI7 0N0FbgBY0RyA3QuN0AnQyOBgqHVioN02oIBiiHryaJIAQN1Sxr10RauUnkRbP+m9l+ 6bf6RDgcIUh4si+HWOywJyBYW9ySRGnhin17dxKJSnscO3VFqnWwJw4H7JAjuK4XW8 XKXAWS6gNv6HA== Message-ID: In-Reply-To: References: Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682663867; a=rsa-sha256; cv=none; b=NeKcm8LdybnbVsxYubc9AvA6WGhy35yU5pVsUzsFeMCLW0+V3+qVkZZ3YPoFhIS/0oXSdE 0u4MmQgvve2FxumAfji1FuvNz/iz0gM4jsiM/bo3+d4RMXfA+uwFS0moL7pAHcGMCevJiJ b+Jv5NdHa466eTHaCavPDit5Oa4dUrFiaaETyrL5QyAYjI8CHXfarJ1ggW+k1L/hORU6vv vnvSq/g9dWHUcHgxj6hLyPabzSjadLCJO2cf11u3FKcdEbAg4tIAQ34DtImZmQAMyF/owX I98dlKknSzvC1nZB/kviTTTCDsvtaLKmujyW1j3X9L6iKZeE0pcDIVTT5lZQeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=CtjCJq8C; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682663867; h=from:from:sender:sender:reply-to: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=FHFZKZKdWDAnM5NWCVAgnfE6Yk8P9bQC2rfaMCBg8jw=; b=c1xND/W3w1L0nij1AUD9bLTfy7M8CdP/O5Zn0DjQOKlbCNRJHnbiFR/CdIpItdC9Fa5JED Mitic1qwv9GveP66CisOxsZYJrtlj3euB/yucZl9gdW3EmZFx/x//SettWCf+uRES0Uw6M mZr5yrQUaNSp1t5PpgP8JEYwTLQ3iJeqtT8khCTdNlGomXMJSYh10/RHtItVS//U4790rc TuQXpWSYeDpPaZ+tU/YVL4bXjXKGpo51CcEYBk4AHQaufToQJLsGPI2PBB3UjE0vDxBCEM ox/UgXDPoZFQ4D9fT9cX6nGZdVUpDHoPsmXpvfojaBSc5w8Ec2bi7o51QAcQKA== X-Migadu-Spam-Score: -1.21 X-Spam-Score: -1.21 X-Migadu-Queue-Id: C0C7723775 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=CtjCJq8C; dmarc=pass (policy=none) header.from=gnu.org; 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-TUID: vFYzJtFZLR01 * gnu/packages/security-token.scm (python-fido2): Update to 1.1.1. [build-system]: Switch to pyproject-build-system. [arguments]: Enable tests. [native-inputs]: Add python-poetry-core and python-pytest. --- gnu/packages/security-token.scm | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.= scm index 5dfd3ea35d..ad772ef292 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -48,6 +48,7 @@ (define-module (gnu packages security-token) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -73,6 +74,7 @@ (define-module (gnu packages security-token) #:use-module (gnu packages networking) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages popt) + #:use-module (gnu packages python-build) #:use-module (gnu packages readline) #:use-module (gnu packages qt) #:use-module (gnu packages tls) @@ -684,7 +686,7 @@ (define-public pam-u2f (define-public python-fido2 (package (name "python-fido2") - (version "0.9.3") + (version "1.1.1") (source (origin (method url-fetch) (uri @@ -693,17 +695,13 @@ (define-public python-fido2 version "/fido2-" version ".tar.gz")) (sha256 (base32 - "1v366h449f8q74jkmy1291ffj2345nm7cdsipgqvgz4w22k8jpml")) + "1hwz0xagkmy6hhcyfl66dxf2vfa69lqqqjrv70vw7harik59bi2x")) (snippet ;; Remove bundled dependency. '(delete-file "fido2/public_suffix_list.dat")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments - `(;; This attempts to access - ;; /System/Library/Frameworks/IOKit.framework/IOKit - ;; The recommendation is to use tox for testing. - #:tests? #false - #:phases + `(#:phases (modify-phases %standard-phases (add-after 'unpack 'install-public-suffix-list (lambda* (#:key inputs #:allow-other-keys) @@ -717,7 +715,11 @@ (define-public python-fido2 (propagated-inputs (list python-cryptography python-six)) (native-inputs - (list python-mock python-pyfakefs public-suffix-list)) + (list python-poetry-core + python-mock + python-pyfakefs + python-pytest + public-suffix-list)) (home-page "https://github.com/Yubico/python-fido2") (synopsis "Python library for communicating with FIDO devices over USB= ") (description -- 2.39.2