[Git][reproducible-builds/diffoscope][master] Explicitly list python3-h5py in debian/tests/control.in to ensure that we have...

Chris Lamb gitlab at salsa.debian.org
Wed Apr 15 17:42:17 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
451b8abc by Chris Lamb at 2020-04-15T18:42:03+01:00
Explicitly list python3-h5py in debian/tests/control.in to ensure that we have this module installed during an autopkgtest run to generate the test fixure.

- - - - -


2 changed files:

- debian/tests/control.in
- tests/comparators/test_hdf.py


Changes:

=====================================
debian/tests/control.in
=====================================
@@ -4,10 +4,10 @@
 #   $ mv debian/tests/control.tmp debian/tests/control
 
 Tests: pytest-with-recommends
-Depends: python3-all, diffoscope, black, python3-pytest, file, linux-image-amd64 [amd64] | linux-image-generic [amd64], %RECOMMENDS%, %PYRECOMMENDS%
+Depends: python3-all, diffoscope, black, python3-pytest, python3-h5py, file, linux-image-amd64 [amd64] | linux-image-generic [amd64], %RECOMMENDS%, %PYRECOMMENDS%
 
 Tests: pytest
-Depends: python3-all, diffoscope, python3-pytest, file, python3-tlsh
+Depends: python3-all, diffoscope, python3-pytest, python3-h5py, file, python3-tlsh
 
 Tests: basic-command-line
 Depends: diffoscope


=====================================
tests/comparators/test_hdf.py
=====================================
@@ -39,6 +39,7 @@ def hdf5_fixture(prefix):
     def hdf5d(tmpdir):
         filename = str(tmpdir.join('{}.db'.format(prefix)))
 
+        # Listed in debian/tests/control.in
         import h5py
 
         with h5py.File(filename, 'w'):



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/451b8abc7804968cda4ec5561ffdea412cf6dbb4

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/451b8abc7804968cda4ec5561ffdea412cf6dbb4
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200415/0d165d9d/attachment.htm>


More information about the rb-commits mailing list