From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EAEMBjaFJ2FS/wAAgWs5BA (envelope-from ) for ; Thu, 26 Aug 2021 14:12:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cCvHATaFJ2GvIwAA1q6Kng (envelope-from ) for ; Thu, 26 Aug 2021 12:12:38 +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 35288126FA for ; Thu, 26 Aug 2021 14:12:37 +0200 (CEST) Received: from localhost ([::1]:39238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJEFH-0004NP-23 for larch@yhetil.org; Thu, 26 Aug 2021 08:12:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJEEY-0004Mk-38 for help-guix@gnu.org; Thu, 26 Aug 2021 08:11:50 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:33377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJEEV-0001NF-U2 for help-guix@gnu.org; Thu, 26 Aug 2021 08:11:49 -0400 Received: by mail-lj1-x230.google.com with SMTP id s12so4799622ljg.0 for ; Thu, 26 Aug 2021 05:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=et3exHX5MU9frXXcbLdA36X7ZNRcQBCE1VYFDqNHGE8=; b=Qk6t7jDMCHQu3PqtzPRX306QAeo30+9Y4gSAeOsWD08VHbk64rFhTJjvmiDAP4GDDN 6SkUT0fJHKmedwpy1zRFsFF4r2mPEm192m3XDx2QNuTRj3t87fC6jgwFo1qgswUODiMi LEmDJUvWnTNwK10CKgUnG4IrT2xDtlv4pgHlKQz+x+sWy8Hpwwphj/f3bhngcT5s/LbE oGUKpykY9agtNMeh4yxB3dyM9/hbG/lcD6mNVzmUX4cknw3R2AhvG8oG1aOvHwHVF5lj TqwqAGLHvhFOh4YwVl2gynf+MxtCPMoiY0v0EjBVKAeHPv3PQY0PNKmhnm0dA7L/PXGM J4bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=et3exHX5MU9frXXcbLdA36X7ZNRcQBCE1VYFDqNHGE8=; b=faE/uuJ+v5Ge9BZcOwBkkq9DlVNU9U14SQexYzPtvVC4gCCJbi4/+y8Bi3AsoEclLC dGaCMLaMKv4PF4dDwnn6048Xpg9xLagfuhWOdx5yZKBQmj+lDHyKXJSYzjSGcMZ+1h3P o1HocOYpaaiFHHv4qLW5hmmMcY0kWPMMqPE6i1M7V5MXMfUHeOv39rgVTJoGDUOTgJwQ hjzlwJbYljZ70o2PazfMIzSu51GAfsNzUFt1GImnqUWscSbOFJzOU9l1kFSLW4d6KIJa +JRajcvv3ltY2TFeAQyRGo7ATmNDkGFaeEcbN5I4xsBatPyJml/XO7SktcjD8/HJwEb+ MCEw== X-Gm-Message-State: AOAM533kLbVgaa8x0o6Km/wqc2doTEYeEzE1IWds0D8Mt00KjK0Nx733 fvC5AUbMNLaMj5TcHefw6HKRPFVVaot7NKzyCZ4/i27tqDDxUg== X-Google-Smtp-Source: ABdhPJx9Inf2j9PyhGN9u7/iVwtiPBLyxbMY1gb4M91lCnpLebcnXfbwwvs0e0LA65zqU17W3cCMR1HgfD2azpH85RI= X-Received: by 2002:a2e:58c:: with SMTP id 134mr2803993ljf.269.1629979901859; Thu, 26 Aug 2021 05:11:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Antwane Mason Date: Thu, 26 Aug 2021 08:11:30 -0400 Message-ID: Subject: Re: Python Package Build Issue To: help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=ad.mason1413@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629979957; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=m3ZDl3XULiYlji3WxRkP+7lavxgMzsvpb+wZ9LIGEuQ=; b=jbs+K1R6vLneaAzJNExhpW2nxGW9UlmOlHunMWRzIZRm6mcVC4sYZdVqp3c6U5p8tVx1hU MB+Ofv48tV0U1is4j+gHtTELFQhXatgJkmr/Cb+kWJBUejpLGsUaifvYTcJW9HaAeTa/bx 3KEUnK9OwL5yoRNcn733RODdyrsscuiLtyPc7jJo8fcKjeoYFBGtSn4rp1ryR6JRk50yDo 4JW+958q239UQ+oBzE3hHxVkLOxekVy7gLposSo7S2dGMEKFWptWYPWBr7FCsIzTXQPVKn N1NuBwlutHBsE4ymcCDQ4ybB1Ov0CpMK6D3mBhoZ39hvY/UR1phcpReSEfnjAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629979957; a=rsa-sha256; cv=none; b=B936y00IvFcg8Q+JZ0htPB7MoQWXFmC8JEz1NU8UEndRbofb0jXSL9hGmCtz1s1K8kh2iH ui+c/kIcDzI7aj4Ifl88py2ZIrHRFV/5qEiti2BgMdUxszXjex9mh52QWcCy3M6c/Z8dUY Mkxc/fwK1TR5mWWRplXPyMI83yhvBpBCdmw1WhRmM3wZ92qEFP4xKDZ/GMt/XMksyIpvlf aysflERXyJpI+grU1Pv4aorUPl/PBUhrNko1/17nu+xhsdCzyuRwQxUzNYoXoDp3VD9T+F 0Eup5uAPKHH9H61m/D+AssMN/PzUtwvy4ReMm+oBOBWy5oPKAhNm6LN3Gjxlcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=Qk6t7jDM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=Qk6t7jDM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 35288126FA X-Spam-Score: -1.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: ytPJ24u/xWZy I was able to solve the issue with packaging python-fido2 definition. I think the problem was that because the setup.py didn't specify where to look for unit tests, it was loading up all of the project's modules to look for them. Since this project is cross-platform, it contained code that was windows specific in win_api.py. Changing the check build phase to invoke "pipenv run test" fixed the issue. This project recommends using pipenv to run its tests in its README. Below is the updated package definition for reference. Once I get python-onlykey and its dependencies built, I plan on submitting a patch. ------------------------------------------------------------------------- (define-public python-fido2 (package (name "python-fido2") (version "0.9.1") (source (origin (method url-fetch) (uri (pypi-uri "fido2" version)) (sha256 (base32 "0vpyknka7wa4jl1xhvhli48wk70dih7hm45kdrchf8wf4cjyx046")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pipenv" "run" "test"))))))) (propagated-inputs `(("python-cryptography" ,python-cryptography) ("python-six" ,python-six))) (native-inputs `(("python-pipenv" ,python-pipenv))) (home-page "https://github.com/Yubico/python-fido2") (synopsis "Python based FIDO 2.0 library") (description "Python based FIDO 2.0 library") (license '(license:bsd-2 license:asl2.0 license:mpl2.0)))) -------------------------------------------------------------------------