From patchwork Sat May 30 20:37:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Rohleder X-Patchwork-Id: 22472 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8D84027BBE1; Sat, 30 May 2020 21:39:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id F002D27BBE3 for ; Sat, 30 May 2020 21:39:07 +0100 (BST) Received: from localhost ([::1]:46474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf8G3-0004bt-IF for patchwork@mira.cbaines.net; Sat, 30 May 2020 16:39:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf8Fy-0004bk-86 for guix-patches@gnu.org; Sat, 30 May 2020 16:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jf8Fx-00031w-VU for guix-patches@gnu.org; Sat, 30 May 2020 16:39:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jf8Fx-0008DV-Sp for guix-patches@gnu.org; Sat, 30 May 2020 16:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41620] [PATCH] gnu: python-astroid: Update to 2.4.1. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 May 2020 20:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41620 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41620@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159087109531530 (code B ref -1); Sat, 30 May 2020 20:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 May 2020 20:38:15 +0000 Received: from localhost ([127.0.0.1]:59280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jf8F7-0008CM-S8 for submit@debbugs.gnu.org; Sat, 30 May 2020 16:38:15 -0400 Received: from lists.gnu.org ([209.51.188.17]:48790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jf8F2-0008CB-MW for submit@debbugs.gnu.org; Sat, 30 May 2020 16:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf8F2-0004Tk-FK for guix-patches@gnu.org; Sat, 30 May 2020 16:38:04 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:50062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jf8F0-0002sY-Pa for guix-patches@gnu.org; Sat, 30 May 2020 16:38:04 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jf8Ex-0007UJ-HQ; Sat, 30 May 2020 22:37:59 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jf8Ex-0001kV-08 for guix-patches@gnu.org; Sat, 30 May 2020 22:37:59 +0200 From: Michael Rohleder X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Sat, 30 May 2020 22:37:53 +0200 Message-ID: <87ftbhyx9a.fsf@rohleder.de> MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1590871082;e0216141; X-HE-SMSGID: 1jf8Ex-0007UJ-HQ Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 16:37:59 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches on current (8e3a1a62ae) master, gnome doesnt build, because totem tests fail. in order to fix this, i tried adding python-toml and python-astroid to native-inputs of totem. then the tests fail, because python-astroid seems to old, so here is a patch for that. now, the tests still fail, but we might be a small step closer... ;) I only tested this lightly with building the other 3 deps: "python-language-server rtv tuir" and python2-astroid. From 7b4e21f9709b642f20695c9ea6a8e512baa808da Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Sat, 30 May 2020 21:27:49 +0200 Subject: [PATCH] gnu: python-astroid: Update to 2.4.1. * gnu/packages/python-xyz.scm (python-astroid): Update to 2.4.1. --- gnu/packages/python-xyz.scm | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index baec999247..79816ddc2f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -80,6 +80,7 @@ ;;; Copyright © 2020 Ryan Prior ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman +;;; Copyright © 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -13905,13 +13906,13 @@ clone, while other processes access the original tree.") (define-public python-astroid (package (name "python-astroid") - (version "2.3.3") + (version "2.4.1") (source (origin (method url-fetch) (uri (pypi-uri "astroid" version)) (sha256 - (base32 "0fnibsl2cb5mvzbfm7sycj85smx48f8w8m7ks1sqlmpr9ps0gski")))) + (base32 "1h99jal7ax07xna1djw5z7hpgb8vjrl3hrrg49p1phljwniww5sc")))) (build-system python-build-system) (propagated-inputs `(("python-lazy-object-proxy" ,python-lazy-object-proxy) @@ -13923,19 +13924,6 @@ clone, while other processes access the original tree.") ("python-nose" ,python-nose) ("python-pytest" ,python-pytest) ("python-pytest-runner" ,python-pytest-runner))) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-spurious-test - (lambda _ - ;; This can be removed after upgrading from python-3.7 - ;; https://github.com/PyCQA/astroid/issues/593 - ;; https://bugs.python.org/issue34056 - (delete-file "astroid/tests/unittest_modutils.py") - #t)) - (replace 'check - (lambda _ - (invoke "pytest" "astroid")))))) (home-page "https://github.com/PyCQA/astroid") (synopsis "Common base representation of python source code for pylint and other projects") -- 2.26.2