Your message dated Sun, 16 Feb 2025 16:50:30 +0000
with message-id <e1tjhqg-00cjok...@fasolo.debian.org>
and subject line Bug#1091939: fixed in img2pdf 0.6.0-2
has caused the Debian Bug report #1091939,
regarding img2pdf: FTBFS: E       assert None == 'unspecified'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1091939: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091939
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:img2pdf
Version: 0.5.1-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f img2pdf.1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build' (and everything under 
it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
I: pybuild base:311: python3.12 setup.py clean 
running clean

[... snipped ...]

        subprocess.check_call(
            ["tiffset", "-u", "278", str(in_img)]
        )  # remove RowsPerStrip (278)
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("units") == "PixelsPerInch", 
str(identify)
        assert identify[0]["image"].get("type") == "Bilevel", str(identify)
        endian = "endianess" if identify[0].get("version", "0") < "1.0" else 
"endianness"
        assert identify[0]["image"].get(endian) in [
            "Undefined",
            "LSB",
        ], str(identify)
        assert identify[0]["image"].get("colorspace") == "Gray", str(identify)
        assert identify[0]["image"].get("depth") == 1, str(identify)
        assert identify[0]["image"].get("compression") == "Group4", 
str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_ccitt_nometa2_img0/in.tiff', 'baseName': 
'in.tiff', 'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged 
Image File Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 
'geometry': {'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 
'PixelsPerInch', 'type': 'Bilevel', 'endianness': 'LSB', 'colorspace': 'Gray', 
'depth': 1, 'baseDepth': 1, 'channelDepth': {'gray': 1}, 'pixels': 3600, 
'channelStatistics': {'gray': {'min': 0, 'max': 1, 'mean': 0.436111, 'median': 
0, 'standardDeviation': 0.49597, 'kurtosis': -1.9342, 'skewness': 0.25756, 
'entropy': 0.98819}}, 'renderingIntent': 'Undefined', 'gamma': 0.454545, 
'matteColor': '#BDBDBDBDBDBD', 'backgroundColor': '#FFFFFFFFFFFF', 
'borderColor': '#DFDFDFDFDFDF', 'transparentColor': '#000000000000', 
'interlace': 'None', 'intensity': 'Undefined', 'compose': 'Over', 
'pageGeometry': {'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'd
 ispose': 'Undefined', 'iterations': 0, 'compression': 'Group4', 'orientation': 
'TopLeft', 'properties': {'signature': 
'7cb2a4f4df5f29f3dcd3713b56f19caeb1074bdfee5baa5bfc3579735e655f66', 
'tiff:endian': 'lsb', 'tiff:photometric': 'min-is-white'}, 'tainted': False, 
'filesize': '1126B', 'numberPixels': '3600', 'pixelsPerSecond': '10.2133MB', 
'userTime': '0.000u', 'elapsedTime': '0:01.000', 'version': 'ImageMagick 
7.1.1-43 Q16 x86_64 22550 https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbf337f00>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbf337f00> = 
{'signature': 
'7cb2a4f4df5f29f3dcd3713b56f19caeb1074bdfee5baa5bfc3579735e655f66', 
'tiff:endian': 'lsb', 'tiff:photometric': 'min-is-white'}.get
E        +      where {'signature': 
'7cb2a4f4df5f29f3dcd3713b56f19caeb1074bdfee5baa5bfc3579735e655f66', 
'tiff:endian': 'lsb', 'tiff:photometric': 'min-is-white'} = <built-in method 
get of dict object at 0x7f1bbf334040>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbf334040> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 1, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:3815: AssertionError
______________ ERROR at setup of test_tiff_ccitt_nometa2[pikepdf] ______________

tmp_path_factory = TempPathFactory(_given_basetemp=None, 
_trace=<pluggy._tracing.TagTracerSub object at 0x7f1bc163bec0>, 
_basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-1'), _retention_count=3, 
_retention_policy='all')
tmp_gray1_png = PosixPath('/tmp/pytest-of-buildd/pytest-1/gray1_png0/gray1.png')

    @pytest.fixture(scope="session")
    def tiff_ccitt_nometa2_img(tmp_path_factory, tmp_gray1_png):
        in_img = tmp_path_factory.mktemp("tiff_ccitt_nometa2_img") / "in.tiff"
        subprocess.check_call(
            CONVERT
            + [
                str(tmp_gray1_png),
                "-compress",
                "group4",
                "-define",
                "tiff:endian=lsb",
                "-define",
                "tiff:fill-order=msb",
                "-define",
                "quantum:polarity=min-is-white",
                "-compress",
                "Group4",
                str(in_img),
            ]
        )
        subprocess.check_call(
            ["tiffset", "-u", "278", str(in_img)]
        )  # remove RowsPerStrip (278)
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("units") == "PixelsPerInch", 
str(identify)
        assert identify[0]["image"].get("type") == "Bilevel", str(identify)
        endian = "endianess" if identify[0].get("version", "0") < "1.0" else 
"endianness"
        assert identify[0]["image"].get(endian) in [
            "Undefined",
            "LSB",
        ], str(identify)
        assert identify[0]["image"].get("colorspace") == "Gray", str(identify)
        assert identify[0]["image"].get("depth") == 1, str(identify)
        assert identify[0]["image"].get("compression") == "Group4", 
str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_ccitt_nometa2_img0/in.tiff', 'baseName': 
'in.tiff', 'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged 
Image File Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 
'geometry': {'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 
'PixelsPerInch', 'type': 'Bilevel', 'endianness': 'LSB', 'colorspace': 'Gray', 
'depth': 1, 'baseDepth': 1, 'channelDepth': {'gray': 1}, 'pixels': 3600, 
'channelStatistics': {'gray': {'min': 0, 'max': 1, 'mean': 0.436111, 'median': 
0, 'standardDeviation': 0.49597, 'kurtosis': -1.9342, 'skewness': 0.25756, 
'entropy': 0.98819}}, 'renderingIntent': 'Undefined', 'gamma': 0.454545, 
'matteColor': '#BDBDBDBDBDBD', 'backgroundColor': '#FFFFFFFFFFFF', 
'borderColor': '#DFDFDFDFDFDF', 'transparentColor': '#000000000000', 
'interlace': 'None', 'intensity': 'Undefined', 'compose': 'Over', 
'pageGeometry': {'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'd
 ispose': 'Undefined', 'iterations': 0, 'compression': 'Group4', 'orientation': 
'TopLeft', 'properties': {'signature': 
'7cb2a4f4df5f29f3dcd3713b56f19caeb1074bdfee5baa5bfc3579735e655f66', 
'tiff:endian': 'lsb', 'tiff:photometric': 'min-is-white'}, 'tainted': False, 
'filesize': '1126B', 'numberPixels': '3600', 'pixelsPerSecond': '10.2133MB', 
'userTime': '0.000u', 'elapsedTime': '0:01.000', 'version': 'ImageMagick 
7.1.1-43 Q16 x86_64 22550 https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbf337f00>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbf337f00> = 
{'signature': 
'7cb2a4f4df5f29f3dcd3713b56f19caeb1074bdfee5baa5bfc3579735e655f66', 
'tiff:endian': 'lsb', 'tiff:photometric': 'min-is-white'}.get
E        +      where {'signature': 
'7cb2a4f4df5f29f3dcd3713b56f19caeb1074bdfee5baa5bfc3579735e655f66', 
'tiff:endian': 'lsb', 'tiff:photometric': 'min-is-white'} = <built-in method 
get of dict object at 0x7f1bbf334040>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbf334040> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 1, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:3815: AssertionError
_________________ ERROR at setup of test_miff_cmyk8[internal] __________________

tmp_path_factory = TempPathFactory(_given_basetemp=None, 
_trace=<pluggy._tracing.TagTracerSub object at 0x7f1bc163bec0>, 
_basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-1'), _retention_count=3, 
_retention_policy='all')
tmp_normal_png = 
PosixPath('/tmp/pytest-of-buildd/pytest-1/normal_png0/normal.png')

    @pytest.fixture(scope="session")
    def tiff_cmyk8_img(tmp_path_factory, tmp_normal_png):
        in_img = tmp_path_factory.mktemp("tiff_cmyk8") / "in.tiff"
        subprocess.check_call(
            CONVERT
            + [
                str(tmp_normal_png),
                "-colorspace",
                "cmyk",
                "-compress",
                "Zip",
                str(in_img),
            ]
        )
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("colorspace") == "CMYK", str(identify)
        assert identify[0]["image"].get("type") == "ColorSeparation", 
str(identify)
        assert identify[0]["image"].get("depth") == 8, str(identify)
        assert identify[0]["image"].get("pageGeometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_cmyk80/in.tiff', 'baseName': 'in.tiff', 
'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged Image File 
Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 'geometry': 
{'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 'PixelsPerInch', 'type': 
'ColorSeparation', 'endianness': 'LSB', 'colorspace': 'CMYK', 'depth': 8, 
'baseDepth': 8, 'channelDepth': {'cyan': 8, 'magenta': 8, 'yellow': 1, 'black': 
1}, 'pixels': 3600, 'imageStatistics': {'Overall': {'min': 0, 'max': 255, 
'mean': 109.364, 'median': 9.25, 'standardDeviation': 119.38, 'kurtosis': 
-1.82957, 'skewness': 0.282353, 'entropy': 0.386969}}, 'channelStatistics': 
{'cyan': {'min': 0, 'max': 255, 'mean': 111.073, 'median': 0, 
'standardDeviation': 122.544, 'kurtosis': -1.88637, 'skewness': 0.256167, 
'entropy': 0.313817}, 'magenta': {'min': 0, 'max': 255, 'mean': 112.166, 
'median': 0, 'standardDeviation': 122.27, 'k
 urtosis': -1.8898, 'skewness': 0.238371, 'entropy': 0.312564}, 'yellow': 
{'min': 0, 'max': 255, 'mean': 112.434, 'median': 0, 'standardDeviation': 
122.348, 'kurtosis': -1.89217, 'skewness': 0.234551, 'entropy': 0.311477}, 
'black': {'min': 0, 'max': 255, 'mean': 101.782, 'median': 37, 
'standardDeviation': 110.36, 'kurtosis': -1.64994, 'skewness': 0.400325, 
'entropy': 0.610017}}, 'totalInkDensity': '299.216%', 'renderingIntent': 
'Perceptual', 'gamma': 0.454545, 'chromaticity': {'redPrimary': {'x': 0.64, 
'y': 0.33}, 'greenPrimary': {'x': 0.3, 'y': 0.6}, 'bluePrimary': {'x': 0.15, 
'y': 0.06}, 'whitePrimary': {'x': 0.3127, 'y': 0.329}}, 'matteColor': 
'#BDBDBDBDBDBD', 'backgroundColor': '#FFFFFFFFFFFF', 'borderColor': 
'#DFDFDFDFDFDF', 'transparentColor': '#000000000000', 'interlace': 'None', 
'intensity': 'Undefined', 'compose': 'Over', 'pageGeometry': {'width': 60, 
'height': 60, 'x': 0, 'y': 0}, 'dispose': 'Undefined', 'iterations': 0, 
'compression': 'Zip', 'orientation': 'TopLeft', 'prop
 erties': {'signature': 
'7511a952780499da9db703c19d66c5fa4f9e04521541503c3368cb988c9ef023', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}, 'tainted': False, 'filesize': '3080B', 'numberPixels': '3600', 
'pixelsPerSecond': '9.59744MB', 'userTime': '0.000u', 'elapsedTime': 
'0:01.000', 'version': 'ImageMagick 7.1.1-43 Q16 x86_64 22550 
https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbe77b200>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbe77b200> = 
{'signature': 
'7511a952780499da9db703c19d66c5fa4f9e04521541503c3368cb988c9ef023', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}.get
E        +      where {'signature': 
'7511a952780499da9db703c19d66c5fa4f9e04521541503c3368cb988c9ef023', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'} = <built-in method get of dict object at 0x7f1bbe77b8c0>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbe77b8c0> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 8, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:2485: AssertionError
__________________ ERROR at setup of test_miff_cmyk8[pikepdf] __________________

tmp_path_factory = TempPathFactory(_given_basetemp=None, 
_trace=<pluggy._tracing.TagTracerSub object at 0x7f1bc163bec0>, 
_basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-1'), _retention_count=3, 
_retention_policy='all')
tmp_normal_png = 
PosixPath('/tmp/pytest-of-buildd/pytest-1/normal_png0/normal.png')

    @pytest.fixture(scope="session")
    def tiff_cmyk8_img(tmp_path_factory, tmp_normal_png):
        in_img = tmp_path_factory.mktemp("tiff_cmyk8") / "in.tiff"
        subprocess.check_call(
            CONVERT
            + [
                str(tmp_normal_png),
                "-colorspace",
                "cmyk",
                "-compress",
                "Zip",
                str(in_img),
            ]
        )
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("colorspace") == "CMYK", str(identify)
        assert identify[0]["image"].get("type") == "ColorSeparation", 
str(identify)
        assert identify[0]["image"].get("depth") == 8, str(identify)
        assert identify[0]["image"].get("pageGeometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_cmyk80/in.tiff', 'baseName': 'in.tiff', 
'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged Image File 
Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 'geometry': 
{'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 'PixelsPerInch', 'type': 
'ColorSeparation', 'endianness': 'LSB', 'colorspace': 'CMYK', 'depth': 8, 
'baseDepth': 8, 'channelDepth': {'cyan': 8, 'magenta': 8, 'yellow': 1, 'black': 
1}, 'pixels': 3600, 'imageStatistics': {'Overall': {'min': 0, 'max': 255, 
'mean': 109.364, 'median': 9.25, 'standardDeviation': 119.38, 'kurtosis': 
-1.82957, 'skewness': 0.282353, 'entropy': 0.386969}}, 'channelStatistics': 
{'cyan': {'min': 0, 'max': 255, 'mean': 111.073, 'median': 0, 
'standardDeviation': 122.544, 'kurtosis': -1.88637, 'skewness': 0.256167, 
'entropy': 0.313817}, 'magenta': {'min': 0, 'max': 255, 'mean': 112.166, 
'median': 0, 'standardDeviation': 122.27, 'k
 urtosis': -1.8898, 'skewness': 0.238371, 'entropy': 0.312564}, 'yellow': 
{'min': 0, 'max': 255, 'mean': 112.434, 'median': 0, 'standardDeviation': 
122.348, 'kurtosis': -1.89217, 'skewness': 0.234551, 'entropy': 0.311477}, 
'black': {'min': 0, 'max': 255, 'mean': 101.782, 'median': 37, 
'standardDeviation': 110.36, 'kurtosis': -1.64994, 'skewness': 0.400325, 
'entropy': 0.610017}}, 'totalInkDensity': '299.216%', 'renderingIntent': 
'Perceptual', 'gamma': 0.454545, 'chromaticity': {'redPrimary': {'x': 0.64, 
'y': 0.33}, 'greenPrimary': {'x': 0.3, 'y': 0.6}, 'bluePrimary': {'x': 0.15, 
'y': 0.06}, 'whitePrimary': {'x': 0.3127, 'y': 0.329}}, 'matteColor': 
'#BDBDBDBDBDBD', 'backgroundColor': '#FFFFFFFFFFFF', 'borderColor': 
'#DFDFDFDFDFDF', 'transparentColor': '#000000000000', 'interlace': 'None', 
'intensity': 'Undefined', 'compose': 'Over', 'pageGeometry': {'width': 60, 
'height': 60, 'x': 0, 'y': 0}, 'dispose': 'Undefined', 'iterations': 0, 
'compression': 'Zip', 'orientation': 'TopLeft', 'prop
 erties': {'signature': 
'7511a952780499da9db703c19d66c5fa4f9e04521541503c3368cb988c9ef023', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}, 'tainted': False, 'filesize': '3080B', 'numberPixels': '3600', 
'pixelsPerSecond': '9.59744MB', 'userTime': '0.000u', 'elapsedTime': 
'0:01.000', 'version': 'ImageMagick 7.1.1-43 Q16 x86_64 22550 
https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbe77b200>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbe77b200> = 
{'signature': 
'7511a952780499da9db703c19d66c5fa4f9e04521541503c3368cb988c9ef023', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}.get
E        +      where {'signature': 
'7511a952780499da9db703c19d66c5fa4f9e04521541503c3368cb988c9ef023', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'} = <built-in method get of dict object at 0x7f1bbe77b8c0>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbe77b8c0> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 8, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:2485: AssertionError
_________________ ERROR at setup of test_miff_cmyk16[internal] _________________

tmp_path_factory = TempPathFactory(_given_basetemp=None, 
_trace=<pluggy._tracing.TagTracerSub object at 0x7f1bc163bec0>, 
_basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-1'), _retention_count=3, 
_retention_policy='all')
tmp_normal_png = 
PosixPath('/tmp/pytest-of-buildd/pytest-1/normal_png0/normal.png')

    @pytest.fixture(scope="session")
    def tiff_cmyk16_img(tmp_path_factory, tmp_normal_png):
        in_img = tmp_path_factory.mktemp("tiff_cmyk16") / "in.tiff"
        subprocess.check_call(
            CONVERT
            + [
                str(tmp_normal_png),
                "-depth",
                "16",
                "-colorspace",
                "cmyk",
                "-compress",
                "Zip",
                str(in_img),
            ]
        )
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("colorspace") == "CMYK", str(identify)
        assert identify[0]["image"].get("type") == "ColorSeparation", 
str(identify)
        assert identify[0]["image"].get("depth") == 16, str(identify)
        assert identify[0]["image"].get("pageGeometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_cmyk160/in.tiff', 'baseName': 'in.tiff', 
'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged Image File 
Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 'geometry': 
{'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 'PixelsPerInch', 'type': 
'ColorSeparation', 'endianness': 'LSB', 'colorspace': 'CMYK', 'depth': 16, 
'baseDepth': 16, 'channelDepth': {'cyan': 16, 'magenta': 16, 'yellow': 1, 
'black': 1}, 'pixels': 3600, 'imageStatistics': {'Overall': {'min': 0, 'max': 
65535, 'mean': 28106.2, 'median': 2377.25, 'standardDeviation': 30679.2, 
'kurtosis': -1.82944, 'skewness': 0.282366, 'entropy': 0.380729}}, 
'channelStatistics': {'cyan': {'min': 0, 'max': 65535, 'mean': 28545.4, 
'median': 0, 'standardDeviation': 31491.6, 'kurtosis': -1.8862, 'skewness': 
0.256177, 'entropy': 0.307185}, 'magenta': {'min': 0, 'max': 65535, 'mean': 
28826.3, 'median': 0, 'standardDeviatio
 n': 31421.2, 'kurtosis': -1.88962, 'skewness': 0.238392, 'entropy': 0.303386}, 
'yellow': {'min': 0, 'max': 65535, 'mean': 28895, 'median': 0, 
'standardDeviation': 31441.4, 'kurtosis': -1.89199, 'skewness': 0.234569, 
'entropy': 0.30233}, 'black': {'min': 0, 'max': 65535, 'mean': 26158, 'median': 
9509, 'standardDeviation': 28362.5, 'kurtosis': -1.64994, 'skewness': 0.400325, 
'entropy': 0.610017}}, 'totalInkDensity': '299.216%', 'renderingIntent': 
'Perceptual', 'gamma': 0.454545, 'chromaticity': {'redPrimary': {'x': 0.64, 
'y': 0.33}, 'greenPrimary': {'x': 0.3, 'y': 0.6}, 'bluePrimary': {'x': 0.15, 
'y': 0.06}, 'whitePrimary': {'x': 0.3127, 'y': 0.329}}, 'matteColor': 
'#BDBDBDBDBDBD', 'backgroundColor': '#FFFFFFFFFFFF', 'borderColor': 
'#DFDFDFDFDFDF', 'transparentColor': '#000000000000', 'interlace': 'None', 
'intensity': 'Undefined', 'compose': 'Over', 'pageGeometry': {'width': 60, 
'height': 60, 'x': 0, 'y': 0}, 'dispose': 'Undefined', 'iterations': 0, 
'compression': 'Zip', 'orientation'
 : 'TopLeft', 'properties': {'signature': 
'c691d0d59f0f71a8dedae7cb5048ac0ca431dc7b71ac89a83b6b2a44a616a442', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}, 'tainted': False, 'filesize': '4642B', 'numberPixels': '3600', 
'pixelsPerSecond': '9.15984MB', 'userTime': '0.000u', 'elapsedTime': 
'0:01.000', 'version': 'ImageMagick 7.1.1-43 Q16 x86_64 22550 
https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbe779580>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbe779580> = 
{'signature': 
'c691d0d59f0f71a8dedae7cb5048ac0ca431dc7b71ac89a83b6b2a44a616a442', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}.get
E        +      where {'signature': 
'c691d0d59f0f71a8dedae7cb5048ac0ca431dc7b71ac89a83b6b2a44a616a442', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'} = <built-in method get of dict object at 0x7f1bbe77a400>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbe77a400> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 16, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:2537: AssertionError
_________________ ERROR at setup of test_miff_cmyk16[pikepdf] __________________

tmp_path_factory = TempPathFactory(_given_basetemp=None, 
_trace=<pluggy._tracing.TagTracerSub object at 0x7f1bc163bec0>, 
_basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-1'), _retention_count=3, 
_retention_policy='all')
tmp_normal_png = 
PosixPath('/tmp/pytest-of-buildd/pytest-1/normal_png0/normal.png')

    @pytest.fixture(scope="session")
    def tiff_cmyk16_img(tmp_path_factory, tmp_normal_png):
        in_img = tmp_path_factory.mktemp("tiff_cmyk16") / "in.tiff"
        subprocess.check_call(
            CONVERT
            + [
                str(tmp_normal_png),
                "-depth",
                "16",
                "-colorspace",
                "cmyk",
                "-compress",
                "Zip",
                str(in_img),
            ]
        )
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("colorspace") == "CMYK", str(identify)
        assert identify[0]["image"].get("type") == "ColorSeparation", 
str(identify)
        assert identify[0]["image"].get("depth") == 16, str(identify)
        assert identify[0]["image"].get("pageGeometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_cmyk160/in.tiff', 'baseName': 'in.tiff', 
'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged Image File 
Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 'geometry': 
{'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 'PixelsPerInch', 'type': 
'ColorSeparation', 'endianness': 'LSB', 'colorspace': 'CMYK', 'depth': 16, 
'baseDepth': 16, 'channelDepth': {'cyan': 16, 'magenta': 16, 'yellow': 1, 
'black': 1}, 'pixels': 3600, 'imageStatistics': {'Overall': {'min': 0, 'max': 
65535, 'mean': 28106.2, 'median': 2377.25, 'standardDeviation': 30679.2, 
'kurtosis': -1.82944, 'skewness': 0.282366, 'entropy': 0.380729}}, 
'channelStatistics': {'cyan': {'min': 0, 'max': 65535, 'mean': 28545.4, 
'median': 0, 'standardDeviation': 31491.6, 'kurtosis': -1.8862, 'skewness': 
0.256177, 'entropy': 0.307185}, 'magenta': {'min': 0, 'max': 65535, 'mean': 
28826.3, 'median': 0, 'standardDeviatio
 n': 31421.2, 'kurtosis': -1.88962, 'skewness': 0.238392, 'entropy': 0.303386}, 
'yellow': {'min': 0, 'max': 65535, 'mean': 28895, 'median': 0, 
'standardDeviation': 31441.4, 'kurtosis': -1.89199, 'skewness': 0.234569, 
'entropy': 0.30233}, 'black': {'min': 0, 'max': 65535, 'mean': 26158, 'median': 
9509, 'standardDeviation': 28362.5, 'kurtosis': -1.64994, 'skewness': 0.400325, 
'entropy': 0.610017}}, 'totalInkDensity': '299.216%', 'renderingIntent': 
'Perceptual', 'gamma': 0.454545, 'chromaticity': {'redPrimary': {'x': 0.64, 
'y': 0.33}, 'greenPrimary': {'x': 0.3, 'y': 0.6}, 'bluePrimary': {'x': 0.15, 
'y': 0.06}, 'whitePrimary': {'x': 0.3127, 'y': 0.329}}, 'matteColor': 
'#BDBDBDBDBDBD', 'backgroundColor': '#FFFFFFFFFFFF', 'borderColor': 
'#DFDFDFDFDFDF', 'transparentColor': '#000000000000', 'interlace': 'None', 
'intensity': 'Undefined', 'compose': 'Over', 'pageGeometry': {'width': 60, 
'height': 60, 'x': 0, 'y': 0}, 'dispose': 'Undefined', 'iterations': 0, 
'compression': 'Zip', 'orientation'
 : 'TopLeft', 'properties': {'signature': 
'c691d0d59f0f71a8dedae7cb5048ac0ca431dc7b71ac89a83b6b2a44a616a442', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}, 'tainted': False, 'filesize': '4642B', 'numberPixels': '3600', 
'pixelsPerSecond': '9.15984MB', 'userTime': '0.000u', 'elapsedTime': 
'0:01.000', 'version': 'ImageMagick 7.1.1-43 Q16 x86_64 22550 
https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbe779580>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbe779580> = 
{'signature': 
'c691d0d59f0f71a8dedae7cb5048ac0ca431dc7b71ac89a83b6b2a44a616a442', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'}.get
E        +      where {'signature': 
'c691d0d59f0f71a8dedae7cb5048ac0ca431dc7b71ac89a83b6b2a44a616a442', 
'tiff:endian': 'lsb', 'tiff:photometric': 'separated', 'tiff:rows-per-strip': 
'60'} = <built-in method get of dict object at 0x7f1bbe77a400>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbe77a400> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 16, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:2537: AssertionError
__________________ ERROR at setup of test_miff_rgb8[internal] __________________

tmp_path_factory = TempPathFactory(_given_basetemp=None, 
_trace=<pluggy._tracing.TagTracerSub object at 0x7f1bc163bec0>, 
_basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-1'), _retention_count=3, 
_retention_policy='all')
tmp_normal_png = 
PosixPath('/tmp/pytest-of-buildd/pytest-1/normal_png0/normal.png')

    @pytest.fixture(scope="session")
    def tiff_rgb8_img(tmp_path_factory, tmp_normal_png):
        in_img = tmp_path_factory.mktemp("tiff_rgb8") / "in.tiff"
        subprocess.check_call(
            CONVERT + [str(tmp_normal_png), "-compress", "Zip", str(in_img)]
        )
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("colorspace") == "sRGB", str(identify)
        assert identify[0]["image"].get("type") == "TrueColor", str(identify)
        assert identify[0]["image"].get("depth") == 8, str(identify)
        assert identify[0]["image"].get("pageGeometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_rgb80/in.tiff', 'baseName': 'in.tiff', 
'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged Image File 
Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 'geometry': 
{'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 'PixelsPerInch', 'type': 
'TrueColor', 'endianness': 'LSB', 'colorspace': 'sRGB', 'depth': 8, 
'baseDepth': 8, 'channelDepth': {'red': 8, 'green': 8, 'blue': 1}, 'pixels': 
3600, 'imageStatistics': {'Overall': {'min': 0, 'max': 255, 'mean': 74.1465, 
'median': 0, 'standardDeviation': 106.006, 'kurtosis': -1.00199, 'skewness': 
0.91509, 'entropy': 0.460859}}, 'channelStatistics': {'red': {'min': 0, 'max': 
255, 'mean': 74.1542, 'median': 0, 'standardDeviation': 105.978, 'kurtosis': 
-1.0011, 'skewness': 0.915359, 'entropy': 0.462046}, 'green': {'min': 0, 'max': 
255, 'mean': 74.2758, 'median': 0, 'standardDeviation': 106.06, 'kurtosis': 
-1.00686, 'skewness':
  0.912479, 'entropy': 0.460981}, 'blue': {'min': 0, 'max': 255, 'mean': 
74.0094, 'median': 0, 'standardDeviation': 105.979, 'kurtosis': -0.998009, 
'skewness': 0.917431, 'entropy': 0.459548}}, 'renderingIntent': 'Perceptual', 
'gamma': 0.454545, 'chromaticity': {'redPrimary': {'x': 0.64, 'y': 0.33}, 
'greenPrimary': {'x': 0.3, 'y': 0.6}, 'bluePrimary': {'x': 0.15, 'y': 0.06}, 
'whitePrimary': {'x': 0.3127, 'y': 0.329}}, 'matteColor': '#BDBDBDBDBDBD', 
'backgroundColor': '#FFFFFFFFFFFF', 'borderColor': '#DFDFDFDFDFDF', 
'transparentColor': '#000000000000', 'interlace': 'None', 'intensity': 
'Undefined', 'compose': 'Over', 'pageGeometry': {'width': 60, 'height': 60, 
'x': 0, 'y': 0}, 'dispose': 'Undefined', 'iterations': 0, 'compression': 'Zip', 
'orientation': 'TopLeft', 'properties': {'signature': 
'347da9cc530cc040b2818b07e399104f8cd8dd42a484eb9524b0ba9970fb8cd2', 
'tiff:endian': 'lsb', 'tiff:photometric': 'RGB', 'tiff:rows-per-strip': '60'}, 
'tainted': False, 'filesize': '2278B', 'numberPixe
 ls': '3600', 'pixelsPerSecond': '9.82024MB', 'userTime': '0.000u', 
'elapsedTime': '0:01.000', 'version': 'ImageMagick 7.1.1-43 Q16 x86_64 22550 
https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbe2c0280>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbe2c0280> = 
{'signature': 
'347da9cc530cc040b2818b07e399104f8cd8dd42a484eb9524b0ba9970fb8cd2', 
'tiff:endian': 'lsb', 'tiff:photometric': 'RGB', 'tiff:rows-per-strip': 
'60'}.get
E        +      where {'signature': 
'347da9cc530cc040b2818b07e399104f8cd8dd42a484eb9524b0ba9970fb8cd2', 
'tiff:endian': 'lsb', 'tiff:photometric': 'RGB', 'tiff:rows-per-strip': '60'} = 
<built-in method get of dict object at 0x7f1bbe2f9140>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbe2f9140> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 8, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:2579: AssertionError
__________________ ERROR at setup of test_miff_rgb8[pikepdf] ___________________

tmp_path_factory = TempPathFactory(_given_basetemp=None, 
_trace=<pluggy._tracing.TagTracerSub object at 0x7f1bc163bec0>, 
_basetemp=PosixPath('/tmp/pytest-of-buildd/pytest-1'), _retention_count=3, 
_retention_policy='all')
tmp_normal_png = 
PosixPath('/tmp/pytest-of-buildd/pytest-1/normal_png0/normal.png')

    @pytest.fixture(scope="session")
    def tiff_rgb8_img(tmp_path_factory, tmp_normal_png):
        in_img = tmp_path_factory.mktemp("tiff_rgb8") / "in.tiff"
        subprocess.check_call(
            CONVERT + [str(tmp_normal_png), "-compress", "Zip", str(in_img)]
        )
        identify = json.loads(subprocess.check_output(CONVERT + [str(in_img), 
"json:"]))
        assert len(identify) == 1
        # somewhere between imagemagick 6.9.7.4 and 6.9.9.34, the json output 
was
        # put into an array, here we cater for the older version containing just
        # the bare dictionary
        if "image" in identify:
            identify = [identify]
        assert "image" in identify[0]
        assert identify[0]["image"].get("format") == "TIFF", str(identify)
        assert identify[0]["image"].get("mimeType") == "image/tiff", 
str(identify)
        assert identify[0]["image"].get("geometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
        assert identify[0]["image"].get("colorspace") == "sRGB", str(identify)
        assert identify[0]["image"].get("type") == "TrueColor", str(identify)
        assert identify[0]["image"].get("depth") == 8, str(identify)
        assert identify[0]["image"].get("pageGeometry") == {
            "width": 60,
            "height": 60,
            "x": 0,
            "y": 0,
        }, str(identify)
>       assert (
            identify[0]["image"].get("properties", {}).get("tiff:alpha") == 
"unspecified"
        ), str(identify)
E       AssertionError: [{'version': '1.0', 'image': {'name': 
'/tmp/pytest-of-buildd/pytest-1/tiff_rgb80/in.tiff', 'baseName': 'in.tiff', 
'permissions': 644, 'format': 'TIFF', 'formatDescription': 'Tagged Image File 
Format', 'mimeType': 'image/tiff', 'class': 'DirectClass', 'geometry': 
{'width': 60, 'height': 60, 'x': 0, 'y': 0}, 'units': 'PixelsPerInch', 'type': 
'TrueColor', 'endianness': 'LSB', 'colorspace': 'sRGB', 'depth': 8, 
'baseDepth': 8, 'channelDepth': {'red': 8, 'green': 8, 'blue': 1}, 'pixels': 
3600, 'imageStatistics': {'Overall': {'min': 0, 'max': 255, 'mean': 74.1465, 
'median': 0, 'standardDeviation': 106.006, 'kurtosis': -1.00199, 'skewness': 
0.91509, 'entropy': 0.460859}}, 'channelStatistics': {'red': {'min': 0, 'max': 
255, 'mean': 74.1542, 'median': 0, 'standardDeviation': 105.978, 'kurtosis': 
-1.0011, 'skewness': 0.915359, 'entropy': 0.462046}, 'green': {'min': 0, 'max': 
255, 'mean': 74.2758, 'median': 0, 'standardDeviation': 106.06, 'kurtosis': 
-1.00686, 'skewness':
  0.912479, 'entropy': 0.460981}, 'blue': {'min': 0, 'max': 255, 'mean': 
74.0094, 'median': 0, 'standardDeviation': 105.979, 'kurtosis': -0.998009, 
'skewness': 0.917431, 'entropy': 0.459548}}, 'renderingIntent': 'Perceptual', 
'gamma': 0.454545, 'chromaticity': {'redPrimary': {'x': 0.64, 'y': 0.33}, 
'greenPrimary': {'x': 0.3, 'y': 0.6}, 'bluePrimary': {'x': 0.15, 'y': 0.06}, 
'whitePrimary': {'x': 0.3127, 'y': 0.329}}, 'matteColor': '#BDBDBDBDBDBD', 
'backgroundColor': '#FFFFFFFFFFFF', 'borderColor': '#DFDFDFDFDFDF', 
'transparentColor': '#000000000000', 'interlace': 'None', 'intensity': 
'Undefined', 'compose': 'Over', 'pageGeometry': {'width': 60, 'height': 60, 
'x': 0, 'y': 0}, 'dispose': 'Undefined', 'iterations': 0, 'compression': 'Zip', 
'orientation': 'TopLeft', 'properties': {'signature': 
'347da9cc530cc040b2818b07e399104f8cd8dd42a484eb9524b0ba9970fb8cd2', 
'tiff:endian': 'lsb', 'tiff:photometric': 'RGB', 'tiff:rows-per-strip': '60'}, 
'tainted': False, 'filesize': '2278B', 'numberPixe
 ls': '3600', 'pixelsPerSecond': '9.82024MB', 'userTime': '0.000u', 
'elapsedTime': '0:01.000', 'version': 'ImageMagick 7.1.1-43 Q16 x86_64 22550 
https://imagemagick.org'}}]
E       assert None == 'unspecified'
E        +  where None = <built-in method get of dict object at 
0x7f1bbe2c0280>('tiff:alpha')
E        +    where <built-in method get of dict object at 0x7f1bbe2c0280> = 
{'signature': 
'347da9cc530cc040b2818b07e399104f8cd8dd42a484eb9524b0ba9970fb8cd2', 
'tiff:endian': 'lsb', 'tiff:photometric': 'RGB', 'tiff:rows-per-strip': 
'60'}.get
E        +      where {'signature': 
'347da9cc530cc040b2818b07e399104f8cd8dd42a484eb9524b0ba9970fb8cd2', 
'tiff:endian': 'lsb', 'tiff:photometric': 'RGB', 'tiff:rows-per-strip': '60'} = 
<built-in method get of dict object at 0x7f1bbe2f9140>('properties', {})
E        +        where <built-in method get of dict object at 0x7f1bbe2f9140> 
= {'backgroundColor': '#FFFFFFFFFFFF', 'baseDepth': 8, 'baseName': 'in.tiff', 
'borderColor': '#DFDFDFDFDFDF', ...}.get

img2pdf_test.py:2579: AssertionError
=========================== short test summary info ============================
ERROR img2pdf_test.py::test_tiff_float[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_float[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_cmyk8[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_cmyk8[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_cmyk16[internal] - AssertionError: [{'versio...
ERROR img2pdf_test.py::test_tiff_cmyk16[pikepdf] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_rgb8[internal] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_rgb8[pikepdf] - AssertionError: [{'version':...
ERROR img2pdf_test.py::test_tiff_rgb12[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_rgb12[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_rgb14[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_rgb14[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_rgb16[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_rgb16[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_gray1[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_gray1[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_gray2[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_gray2[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_gray4[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_gray4[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_gray8[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_gray8[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_tiff_gray16[internal] - AssertionError: [{'versio...
ERROR img2pdf_test.py::test_tiff_gray16[pikepdf] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_tiff_multipage[internal] - AssertionError: [{'ver...
ERROR img2pdf_test.py::test_tiff_multipage[pikepdf] - AssertionError: [{'vers...
ERROR img2pdf_test.py::test_tiff_palette1[internal] - AssertionError: [{'vers...
ERROR img2pdf_test.py::test_tiff_palette1[pikepdf] - AssertionError: [{'versi...
ERROR img2pdf_test.py::test_tiff_palette2[internal] - AssertionError: [{'vers...
ERROR img2pdf_test.py::test_tiff_palette2[pikepdf] - AssertionError: [{'versi...
ERROR img2pdf_test.py::test_tiff_palette4[internal] - AssertionError: [{'vers...
ERROR img2pdf_test.py::test_tiff_palette4[pikepdf] - AssertionError: [{'versi...
ERROR img2pdf_test.py::test_tiff_palette8[internal] - AssertionError: [{'vers...
ERROR img2pdf_test.py::test_tiff_palette8[pikepdf] - AssertionError: [{'versi...
ERROR img2pdf_test.py::test_tiff_ccitt_lsb_m2l_white[internal] - AssertionErr...
ERROR img2pdf_test.py::test_tiff_ccitt_lsb_m2l_white[pikepdf] - AssertionErro...
ERROR img2pdf_test.py::test_tiff_ccitt_msb_m2l_white[internal] - AssertionErr...
ERROR img2pdf_test.py::test_tiff_ccitt_msb_m2l_white[pikepdf] - AssertionErro...
ERROR img2pdf_test.py::test_tiff_ccitt_msb_l2m_white[internal] - AssertionErr...
ERROR img2pdf_test.py::test_tiff_ccitt_msb_l2m_white[pikepdf] - AssertionErro...
ERROR img2pdf_test.py::test_tiff_ccitt_lsb_m2l_black[internal] - AssertionErr...
ERROR img2pdf_test.py::test_tiff_ccitt_lsb_m2l_black[pikepdf] - AssertionErro...
ERROR img2pdf_test.py::test_tiff_ccitt_nometa1[internal] - AssertionError: [{...
ERROR img2pdf_test.py::test_tiff_ccitt_nometa1[pikepdf] - AssertionError: [{'...
ERROR img2pdf_test.py::test_tiff_ccitt_nometa2[internal] - AssertionError: [{...
ERROR img2pdf_test.py::test_tiff_ccitt_nometa2[pikepdf] - AssertionError: [{'...
ERROR img2pdf_test.py::test_miff_cmyk8[internal] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_miff_cmyk8[pikepdf] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_miff_cmyk16[internal] - AssertionError: [{'versio...
ERROR img2pdf_test.py::test_miff_cmyk16[pikepdf] - AssertionError: [{'version...
ERROR img2pdf_test.py::test_miff_rgb8[internal] - AssertionError: [{'version'...
ERROR img2pdf_test.py::test_miff_rgb8[pikepdf] - AssertionError: [{'version':...
================= 287 passed, 12 skipped, 52 errors in 27.65s ==================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:img2pdf, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: img2pdf
Source-Version: 0.6.0-2
Done: Johannes Schauer Marin Rodrigues <jo...@debian.org>

We believe that the bug you reported is fixed in the latest version of
img2pdf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1091...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Johannes Schauer Marin Rodrigues <jo...@debian.org> (supplier of updated 
img2pdf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 16 Feb 2025 17:11:54 +0100
Source: img2pdf
Architecture: source
Version: 0.6.0-2
Distribution: unstable
Urgency: medium
Maintainer: Johannes Schauer Marin Rodrigues <jo...@debian.org>
Changed-By: Johannes Schauer Marin Rodrigues <jo...@debian.org>
Closes: 1083435 1091939
Changes:
 img2pdf (0.6.0-2) unstable; urgency=medium
 .
   * botched dgit upload
 .
 img2pdf (0.6.0-1) unstable; urgency=medium
 .
   * New upstream version 0.6.0
      - adjusts testsuite for newer Pillow version (closes: #1091939)
   * debian/tests/control: finish switch from libgs9-common to libgs-common (see
     #1023146)
   * debian/control:
      - install faketime for tests
      - remove Depends on python3-pkg-resources (closes: #1083435)
   * wrap-and-sort
   * debian/control: bump Standards-Version (no changes)
Checksums-Sha1:
 f8476f286c34ef1fc6d67c822ed53759a5c0f9f4 2696 img2pdf_0.6.0-2.dsc
 a1e04dcfad667c76c2e71900173d1035b4d8b7cb 6260 img2pdf_0.6.0-2.debian.tar.xz
 a6e0a486c86ae3e44d3a989187c6da292f592a8d 106503 img2pdf_0.6.0.orig.tar.gz
Checksums-Sha256:
 588811d380eb8bdf592249744e95e53a7ef3ac13d70ac5b7a4a8c4a9f50e4ca3 2696 
img2pdf_0.6.0-2.dsc
 07f754cb8c0b082572aeaf1ad66bd650da95ea0fc8c06d93251247bf03be43c9 6260 
img2pdf_0.6.0-2.debian.tar.xz
 85a89b8abdeef9ef033508aed0d9f1e84fd6d0130e864e2c523f948ec45365e1 106503 
img2pdf_0.6.0.orig.tar.gz
Files:
 981459dee3e19db2b6367a73712ad6d2 2696 python optional img2pdf_0.6.0-2.dsc
 769f0a907f27a50fdbadfd182884fa5c 6260 python optional 
img2pdf_0.6.0-2.debian.tar.xz
 56050d007c6b1e476318b957801a2f72 106503 python optional 
img2pdf_0.6.0.orig.tar.gz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmeyDscACgkQ8sulx4+9
g+FTTQ//VGAH2KMkjt51kAhjulQzdCkKth+09AH3gKy2REo2yV6Urn4QS8qURmB1
8SeHDQeWDUUUdrwwIvj1LMbH8P0D2fUXGLE/UCgGOGNrCgFO0BI6McyPEiVxnYjW
VwZPQgVVRDFlchfGRv1CDscDRUhAYLFpp2Vy7d7z5wJefYp8KPu4+f5kcakzBktW
K/b2TxqACA2FsCpdNuNYJEVL4cCXsNWwuBcD0PjRThjG0y2VpIRyfRziu2F+6dvR
q3kep1yKxvF6acl83IlWD1A46dJI2lPFjSeLvl9paqcvSfS8CYH4m+UZE3H9+5eU
3pN09zuQ5l+inO/gdzdqpJAkX+xAfHSQh+kkD1qkVQQJuX4MbD4EUMRxzfAY3+NG
HXVAlwvc3LgVXqUMBZXrWp9QYCPWtBLbSC4bEwOdA3wtjipWTi0jSnNibzlQjF9h
cj2yrlwFxUTHPYZdZWa6oj8lII3B1vSURagrQMC6eJJQpNeK6hfzHGvKh6+MN7/z
/gKBZbTA8yvPFXrrrv02oMGCSWxcE16VwmSMVFNrCYEeadd8lIiQhpZ6JOlRi5we
scNWVBCRYPk4L2MJy/oYwsRZYc6sjQ5xC9I2/HNPRXEFFPiBJg5m9iHit2cJnfLr
cbK+4zZoIMEyx9Wt6G5RyomX5/+caGVA1IcXdPpG6/Nel7541v0=
=6vVa
-----END PGP SIGNATURE-----

Attachment: pgpbnmhdaSwLi.pgp
Description: PGP signature


--- End Message ---

Reply via email to