Patchwork [2/2] gnu: borg: Run the tests with python-pytest-2.9.2.

login
register
mail settings
Submitter Leo Famulari
Date Oct. 30, 2016, 10:48 p.m.
Message ID <2e59000574e218128b865f4907422eae76f510c2.1477867669.git.leo@famulari.name>
Download mbox | patch
Permalink /patch/17026/
State New
Headers show

Comments

Leo Famulari - Oct. 30, 2016, 10:48 p.m.
* gnu/packages/backup.scm (borg)[native-inputs]: Use python-pytest-2.9.2.
---
 gnu/packages/backup.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Ludovic Court├Ęs - Nov. 3, 2016, 1:36 p.m.
Leo Famulari <leo@famulari.name> skribis:

> * gnu/packages/backup.scm (borg)[native-inputs]: Use python-pytest-2.9.2.

OK!

Patch

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 8ec2ee4..203ff4c 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -470,7 +470,9 @@  detection, and lossless compression.")
     (native-inputs
      `(("python-cython" ,python-cython)
        ("python-setuptools-scm" ,python-setuptools-scm)
-       ("python-pytest" ,python-pytest)
+       ;; Borg 1.0.8's test suite uses 'tmpdir_factory', which was introduced in
+       ;; pytest 2.8.
+       ("python-pytest" ,python-pytest-2.9.2)
        ;; For generating the documentation.
        ("python-sphinx" ,python-sphinx)
        ("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme)))