GNU bug report logs - #33762
gnu: python-pyelftools: Fix tests with python 3.7.

Previous Next

Package: guix-patches;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Sat, 15 Dec 2018 22:24:01 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Vagrant Cascadian <vagrant <at> debian.org>
Subject: bug#33762: closed (gnu: python-pyelftools: Fix tests with python
 3.7.)
Date: Sun, 16 Dec 2018 09:57:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#33762: gnu: python-pyelftools: Fix tests with python 3.7.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33762 <at> debbugs.gnu.org.

-- 
33762: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33762
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: 33762-done <at> debbugs.gnu.org
Subject: gnu: python-pyelftools: Fix tests with python 3.7.
Date: Sun, 16 Dec 2018 11:56:47 +0200
[Message part 3 (text/plain, inline)]
Pushed with minor changes as 9f23f6bc2f74957ab9832c973647b754448796a2

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Vagrant Cascadian <vagrant <at> debian.org>
To: guix-patches <at> gnu.org
Subject: gnu: python-pyelftools: Fix tests with python 3.7.
Date: Sat, 15 Dec 2018 23:23:41 +0100
[Message part 6 (text/plain, inline)]
* gnu/packages/python.scm (python-pyelftools)
  [native-inputs]: Remove python-setuptools.
  [arguments]: Add set-pythonpath phase.
---
 gnu/packages/python.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 23b980ec3..cb40ce01d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -10627,9 +10627,16 @@ useful as a validator for JSON data.")
         (base32
          "090vdksbz341f7ljvr0zswblw4lspa8qaiikzyjkf318arpxmil9"))))
     (build-system python-build-system)
-    ;; Test suite requires python-setuptools
-    (native-inputs
-     `(("python-setuptools" ,python-setuptools)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'set-pythonpath
+           (lambda* (#:key inputs #:allow-other-keys)
+             (setenv "PYTHONPATH"
+                     (string-append
+                      (getcwd) "/test/"
+                      ":" (getenv "PYTHONPATH")))
+             #t)))))
     (home-page
      "https://github.com/eliben/pyelftools")
     (synopsis
-- 
2.20.0

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.