[med-svn] [Git][python-team/modules/tifffile][master] Add gitlab-ci file

Ole Streicher gitlab at salsa.debian.org
Sun May 17 10:04:56 BST 2020



Ole Streicher pushed to branch master at Debian Python Team / DPMT / tifffile


Commits:
98f8da12 by Ole Streicher at 2020-05-17T11:04:47+02:00
Add gitlab-ci file

- - - - -


2 changed files:

- + debian/gitlab-ci.yml
- debian/patches/Disable-tests-that-require-remote-files.patch


Changes:

=====================================
debian/gitlab-ci.yml
=====================================
@@ -0,0 +1,8 @@
+
+include: 
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+
+variables:
+ RELEASE: 'unstable'
+ 
\ No newline at end of file


=====================================
debian/patches/Disable-tests-that-require-remote-files.patch
=====================================
@@ -3,13 +3,22 @@ Date: Sat, 16 May 2020 18:10:59 +0200
 Subject: Disable tests that require remote files
 
 ---
- tests/test_tifffile.py | 2 ++
- 1 file changed, 2 insertions(+)
+ tests/test_tifffile.py | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
 
 diff --git a/tests/test_tifffile.py b/tests/test_tifffile.py
-index 1e2a11f..91b9b38 100644
+index 1e2a11f..d4c0209 100644
 --- a/tests/test_tifffile.py
 +++ b/tests/test_tifffile.py
+@@ -156,7 +156,7 @@ from tifffile.tifffile import (
+ )
+ 
+ # skip certain tests
+-SKIP_HUGE = False
++SKIP_HUGE = True
+ SKIP_EXTENDED = False
+ SKIP_ROUNDTRIPS = False
+ SKIP_PUBLIC = False  # skip public files
 @@ -370,6 +370,7 @@ def test_issue_legacy_kwargs():
                      pass
  
@@ -18,6 +27,15 @@ index 1e2a11f..91b9b38 100644
  def test_issue_infinite_loop():
      """Test infinite loop reading more than two tags of same code in IFD."""
      # Reported by D. Hughes on 2019.7.26
+@@ -1546,7 +1547,7 @@ def test_func_pformat_xml():
+         '<?xml version="1.0" encoding="ISO-8859-1" ?> <Dimap_Document')
+ 
+     assert pformat(value, height=8, width=60) == (
+-        """<?xml version='1.0' encoding='ISO-8859-1'?>
++        """<?xml version="1.0" encoding="ISO-8859-1"?>
+ <Dimap_Document name="band2.dim">
+  <Metadata_Id>
+   <METADATA_FORMAT version="2.12.1">DIMAP</METADATA_FORMAT>
 @@ -1744,6 +1745,7 @@ def assert_filehandle(fh, offset=0):
                             numpy.arange(255, dtype='uint8'))
  



View it on GitLab: https://salsa.debian.org/python-team/modules/tifffile/-/commit/98f8da125907d95630f596add2d1e2bfd90b961f

-- 
View it on GitLab: https://salsa.debian.org/python-team/modules/tifffile/-/commit/98f8da125907d95630f596add2d1e2bfd90b961f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200517/ba0ad8c9/attachment-0001.html>


More information about the debian-med-commit mailing list