summary refs log tree commit diff
path: root/gnu/packages/check.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-02-03 16:04:29 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-02-03 16:04:29 +0100
commitfb62edfc35fd6896bd30c06038718b630c1b92bd (patch)
tree6b94778fa41e5b14f5b0eccdc0eddf4cd347e1f6 /gnu/packages/check.scm
parent52665d2b6bd709ba46c1e364a6d6164f5f4824ff (diff)
downloadguix-fb62edfc35fd6896bd30c06038718b630c1b92bd.tar.gz
gnu: python-importlib-metadata: Update to 1.5.0.
* gnu/packages/python-xyz.scm (python-importlib-metadata): Update to 1.5.0.
[native-inputs]: Add PYTHON-PYFAKEFS.
(python2-importlib-metadata)[native-inputs]: Add PYTHON2-PYFAKEFS-BOOTSTRAP.
* gnu/packages/check.scm (python2-pyfakefs-bootstrap): New public variable.
Diffstat (limited to 'gnu/packages/check.scm')
-rw-r--r--gnu/packages/check.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 3c2bdaff3a..749bcc7831 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2547,3 +2547,16 @@ system.  The code under test requires no modification to work with pyfakefs.")
 
 (define-public python2-pyfakefs
   (package-with-python2 python-pyfakefs))
+
+;; This minimal variant is used to avoid a circular dependency between
+;; python2-importlib-metadata, which requires pyfakefs for its tests, and
+;; python2-pytest, which requires python2-importlib-metadata.
+(define-public python2-pyfakefs-bootstrap
+  (hidden-package
+   (package
+     (inherit python2-pyfakefs)
+     (name "python2-pyfakefs-bootstrap")
+     (native-inputs '())
+     (arguments
+      `(#:python ,python-2
+        #:tests? #f)))))