From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OEhGJU/20GFqNgEAgWs5BA (envelope-from ) for ; Sun, 02 Jan 2022 01:48:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4KEGIk/20GHUSwAAauVa8A (envelope-from ) for ; Sun, 02 Jan 2022 01:48:15 +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 3425E2774B for ; Sun, 2 Jan 2022 01:48:15 +0100 (CET) Received: from localhost ([::1]:55670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3p2k-0001Wy-5M for larch@yhetil.org; Sat, 01 Jan 2022 19:48:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3p2Z-0001Wh-4M for guix-patches@gnu.org; Sat, 01 Jan 2022 19:48:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3p2Y-0002Ve-Fi for guix-patches@gnu.org; Sat, 01 Jan 2022 19:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3p2Y-0004cY-FT for guix-patches@gnu.org; Sat, 01 Jan 2022 19:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v3 08/12] gnu: Add python-moderngl-window. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Jan 2022 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Daniel =?UTF-8?Q?Mei=C3=9Fner?= , 50505@debbugs.gnu.org Cc: Xinglu Chen Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.164108445317612 (code B ref 50505); Sun, 02 Jan 2022 00:48:02 +0000 Received: (at 50505) by debbugs.gnu.org; 2 Jan 2022 00:47:33 +0000 Received: from localhost ([127.0.0.1]:59647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3p24-0004Zz-TN for submit@debbugs.gnu.org; Sat, 01 Jan 2022 19:47:33 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3p22-0004Zl-Ms for 50505@debbugs.gnu.org; Sat, 01 Jan 2022 19:47:31 -0500 Received: by mail-wr1-f68.google.com with SMTP id s1so62763913wrg.1 for <50505@debbugs.gnu.org>; Sat, 01 Jan 2022 16:47:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=h9Xlr/uMPqtLnbNrWezzFJlKqGO0q00lgr3GEyMONNc=; b=emRFrYQr49NHcX0NnKi0BBU8+nz2mcQM6gceGyqWtQAMGh4gZXU5TWAJv+eY1Hbl1Y VB4iCpvpC/5sQv2yjpyUkVQ3cpcSElQiNq7FPi4bQTXU5Pem71oy7yHtP8p0gnf6RQp4 cEBuCDovjvbuBoKur9s/ckzKgclhqrwga+FUEm8Q8iDXJfLSfeftHkVsi7IaB5oXWVg0 pb0vFFne67PvGAiGjtH5wqk9ZZxyyz8JxS9kE/WsMSZboOggwRVGVu2Xmj/Fy++1mrEr iLy9RKP1tyCWJS/AbDE0lGil6XeyRZ+KUFbh/+iEx3SBzPqrRH+GzrJBsHNHMI4e4FQX RNxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=h9Xlr/uMPqtLnbNrWezzFJlKqGO0q00lgr3GEyMONNc=; b=SXs32yXTh5aVwvOEz1BXZ50YPVPa5QGWXXm9KLYBC2tc0LE0SjmqmxANif8564vqN/ btV8+pKI3Hugz4RKuU4NIBy62QYGqUevgNn+IGojLiUIbEYeC2amtshEsHpTu1shwDM4 BiIBeotgF59u8dBj04aFhM8/pnD1qLgBE73auQ9cxYk7FgxAmdGAtGMRDjqex9uThSsD NXL2sI1iSqiUaWDmsphk+GzXr7NpmU5sibvcyL/aZbvk2Lji62yC19et1cUiW2rmGbGI UcI75GCldLFDLVDFIKDYx2f5O3BuNGAOdiudmk3TeEycN+aEz8AcQICf0rRhg3CUAQnE Qgdg== X-Gm-Message-State: AOAM5307Vfb8T+/mcswxxY3VnBy2foHhp61kfLiXhzzb9ISf0BcRFKIo Fd0HCU8uaMrEqDiIY9r3noE= X-Google-Smtp-Source: ABdhPJwcXzNdgYlxWGm6Nq9Y3sJzuZAIw4pIsSvP8hGWe+4QOaUUBZmqQ3QjLRZSO7ruu8Lvd3OsWA== X-Received: by 2002:a5d:4804:: with SMTP id l4mr34141574wrq.629.1641084444852; Sat, 01 Jan 2022 16:47:24 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id h4sm31126275wrf.93.2022.01.01.16.47.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jan 2022 16:47:24 -0800 (PST) Message-ID: <1bd1592f71c17d017b573445388223313e667388.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 02 Jan 2022 01:47:23 +0100 In-Reply-To: <20220101235155.5754-9-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20220101235155.5754-1-daniel.meissner-i4k@ruhr-uni-bochum.de> <20220101235155.5754-9-daniel.meissner-i4k@ruhr-uni-bochum.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641084495; 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=h9Xlr/uMPqtLnbNrWezzFJlKqGO0q00lgr3GEyMONNc=; b=pa/8ltazy2iA1SqOBuj7izZI/75zoHz4g2cCQvQOqzeqz5Pyd8K/G92Z5AkSG5INaJzpPx T44QZgJmrXB2AlonyHvFvCwtAHpTppqmB5KLlh6aG80YxqfZxgrnxXUJETf8PqIBZ2l9GM cbEfJpGXwGAnbvArAncRCf584Nu0G68HiumWicDPj+eqTB62QOZXVTxYdRvpstnAB5HnOk nhg/V3WraxxKYmZnfXu320fqq8bfaQ5wRkp7o8Ca6LJV0x+tRBen6lDc00i0RDjKgVriwN /Flt4Gt11sE33WfZNopsrfSy9BbjuFV/Wyix9RNFhpnFfgIJgo5NPgltFEiNXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641084495; a=rsa-sha256; cv=none; b=H5cp/bArZPnXpp4+l2Iu5s5vsr2jCqL4Ygvogq5rANeM8ugPCIp58hVGmKdwKG/8Lew09G y2io8So0UtYl4Wl8VgQf+GoJL2F8p0wwFfByx81ZSSIzhGFmqTcUEMkTxeEG7Jxbd1fTOS w+ddiuz+9ks4e4iH+jPJtzAeigw6j+VdMROrWZ4wMv+G4Hv4zCkhn287UZZ0u6+ZUj4Zhq Tu1KxgWLyiRQq/WrLTuHbDWzSvw09lDH/gX5SPGBof9zgJYVQSrExW41jcDl2+Ko2qVs2M PKqjIbHtNEm9PHssU5wiSAvRO55bTB2+wf4IDVF0mvpcmi+/qkWs6Cc1gQXzdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=emRFrYQr; 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: -1.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=emRFrYQr; 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: 3425E2774B X-Spam-Score: -1.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: brQi1bqkYbeH Am Sonntag, dem 02.01.2022 um 00:51 +0100 schrieb Daniel Meißner: > * gnu/packages/python-xyz.scm (python-moderngl-window): New variable. > --- >  gnu/local.mk                                  |   1 + >  .../python-moderngl-window-skip-tests.patch   | 146 > ++++++++++++++++++ >  gnu/packages/python-xyz.scm                   |  44 ++++++ >  3 files changed, 191 insertions(+) >  create mode 100644 gnu/packages/patches/python-moderngl-window-skip- > tests.patch > > diff --git a/gnu/local.mk b/gnu/local.mk > index 852f9f3246..ff3e80ea68 100644 > --- a/gnu/local.mk > +++ b/gnu/local.mk > @@ -1685,6 +1685,7 @@ dist_patch_DATA > =                                         \ >    %D%/packages/patches/python-magic-python-bytecode.patch      \ >    %D%/packages/patches/python-matplotlib-run-under-wayland- > gtk3.patch  \ >    %D%/packages/patches/python-memcached-syntax-warnings.patch  \ > +  %D%/packages/patches/python-moderngl-window-skip-tests.patch  \ Document this addition as well as the file itself (New file.) in the commit log. >    %D%/packages/patches/python-mox3-python3.6-compat.patch      \ >    %D%/packages/patches/python-typing-inspect-fix.patch         \ >    %D%/packages/patches/python-packaging-test- > arch.patch                \ > diff --git a/gnu/packages/patches/python-moderngl-window-skip- > tests.patch b/gnu/packages/patches/python-moderngl-window-skip- > tests.patch > new file mode 100644 > index 0000000000..aee4b71e2a > --- /dev/null > +++ b/gnu/packages/patches/python-moderngl-window-skip-tests.patch > @@ -0,0 +1,146 @@ > +Skip failing tests and tests for optional dependencies > + > +The Python packages pywavefront and trimesh are optional > dependencies and not > +yet packaged in Guix but the tests try to load the modules anyway.  > Therefore > +skip them. Okay. > +The tests test_texture_mimpamps, test_texture_abspath, > test_load_texture_2d > +and test_load_texture_array fail when Guix builds the package.  This > is not > +the case when running the tests directly from a source tree. > + You might be missing an X extension here. Try adjusting the Xvfb call. Btw. I checked python-build-system and it relies on setup.py to do tests, so the check phase can stay, both here and where I previously criticised it. Sorry for the noise.