From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6HHaJQZmfmBvEwAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 07:26:30 +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 +LqfIAZmfmCjIAAA1q6Kng (envelope-from ) for ; Tue, 20 Apr 2021 05:26:30 +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 1836A15F38 for ; Tue, 20 Apr 2021 07:26:30 +0200 (CEST) Received: from localhost ([::1]:41452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYiu4-0003eU-WD for larch@yhetil.org; Tue, 20 Apr 2021 01:26:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYisk-0002F0-PG for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYisk-0003ai-HE for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYisk-0007fX-Ee for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 05:25:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47906@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47906-submit@debbugs.gnu.org id=B47906.161889629429357 (code B ref 47906); Tue, 20 Apr 2021 05:25:06 +0000 Received: (at 47906) by debbugs.gnu.org; 20 Apr 2021 05:24:54 +0000 Received: from localhost ([127.0.0.1]:52661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYisY-0007dR-JL for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:54 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYisW-0007d4-L1 for 47906@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1F43B240026 for <47906@debbugs.gnu.org>; Tue, 20 Apr 2021 07:24:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618896287; bh=QiFa83kt2d6ccWCGB0a5gVoh8VYtMBWpPrEYSycXqpI=; h=From:To:Cc:Subject:Date:From; b=NPq9SyL1Kfpm4hSRta/y9xittYUFCS28jEjrIGTOsHxihGqBDHPtsnnbnYtCK5oEF IG6v53wXnPlodVbRUXlvj9nbdoBjtmd6CbeFmwluGx4YM75dJJ/Lvm6hZE/OuEcN7q /46HW1KQCVAJmnzGLtOlkM31anOTafxI0orojj3ZNbuGzY/luqq0UOLNjmKPPM8InV GE+ilwR0yuxwkBnJ6DucYb8z5ODkOAxtwdvteHQoWbFd0GnPmy1R99PLDco0iY3I+l IDvitwzdXBh04R5CwQ/rOVWrH9TH1x+pg+xFY1HVpyxzJqm3SbgeSUaS8KFViwsvlC Sglqg8yYABwwQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPXDs5gwkz6tmK; Tue, 20 Apr 2021 07:24:45 +0200 (CEST) From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:35 +0000 Message-Id: <20210420052246.470690-11-monego@posteo.net> In-Reply-To: <20210420052246.470690-1-monego@posteo.net> References: <20210420052246.470690-1-monego@posteo.net> 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618896390; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=zbHq0qs7X9eHvqK3RAWLSd1pBYGuF4ZyBgx/T+YHnVM=; b=QGyyk0hOWdPo7h0hYGkkkQ/gio6v3xl7gTtHbx6rwZ7/7rWicrNxTZE0Xlt45ZGNX719eO B5G9w11WucdTl1mdUOvXyFbn2KR8pG0WS7VjujH97aFJrIIl1clo4mxA3wKXGLMSzn14G8 ViOZ7TcGFc74A0IJGg4z384vgZ8mNlRaqk9/e/VnxgAjyQg1lV37g4KMuCSJxHLpMc63kc e/2pQGJ4cjKWGvxO8RFtAnBId7s1kXdmxLbdDBJNyo1aDM0bh+jFJjhvZSf95vf3G0IVsN v0Tc8fEX7aoSwAlZK+1TW4XCY7s4aYJc2huWudgiqM/UlsZri1XU+4ZRMfqQyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618896390; a=rsa-sha256; cv=none; b=N6e+bDROwlG2gecZmKm6dCXRmIJ+tjUhLzXP6ON5iXV7F1wR69JzOzqclDRi/abjvQXGxJ WNSzCyK4vGl+ze73AE5Z6ti99mTploDE32OwlwrCKuA66OcuocBJ4HBSk6wAhF/f4Eh1Qd ZBYzhMVsa7vBIJl5pfM1VNw0BF6YX7dEtgy5wg6LfEAaU8K1LTzUAV0af3H+rnf3t8P2Ut vCW/NP5L3vdZGUdrUbZOhxduiDt/QgSim/MNmTAL4Gr5QejeCtDICmUnJQxma5mwaxy7eQ 9Ab5GvgKd+oXLEJzuv2bviSMXoyh4oqvsN+lUmqjN8CzwMKDHl4fMAM3gHtuIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=NPq9SyL1; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.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: 3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=NPq9SyL1; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.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: 1836A15F38 X-Spam-Score: 3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: E2AXn8Y91g/F * gnu/packages/python-xyz.scm (python-language-server): Enable tests. [arguments]: Add phases to enable tests. [propagated-inputs]: Add python-flake8. --- gnu/packages/python-xyz.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b76171de57..6e2ac8b87b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4301,10 +4301,21 @@ Server (PLS).") (base32 "1c0pnk2aibfhfaanrs0a5gkabkvz81gj20z7r0152b7fcx5ci14r")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'set-HOME + (lambda _ (setenv "HOME" "/tmp") #t)) + (replace 'check + (lambda _ + ;; Disable failing test. + (invoke "python" "-m" "pytest" "-k" + "not test_pyqt_completion")))))) (propagated-inputs `(("python-autopep8" ,python-autopep8) ("python-configparser" ,python-configparser) ("python-pydocstyle" ,python-pydocstyle) + ("python-flake8" ,python-flake8) ("python-future" ,python-future) ("python-jedi" ,python-jedi) ("python-jsonrpc-server" ,python-jsonrpc-server) -- 2.31.1