Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

libpng warning: Application built with libpng-1.4.12 but running with 1.6.36 #37

Open
fredrikaverpil opened this issue Feb 2, 2019 · 0 comments

Comments

@fredrikaverpil
Copy link
Owner

fredrikaverpil commented Feb 2, 2019

I tried the macOS oiio 2.0.4 wheel (which by the way is half the size of the Linux/Windows equivalent wheel) on my laptop and attempted to load a jpeg file instead of the EXR file in our current test:

$ pytest
=============================================================== test session starts ================================================================
platform darwin -- Python 3.7.2, pytest-4.2.0, py-1.7.0, pluggy-0.8.1
rootdir: /Users/fredrik/code/repos/oiio-python/tests, inifile:
collected 1 item

test_imagedimensions.py F                                                                                                                    [100%]

===================================================================== FAILURES =====================================================================
___________________________________________________________________ test_answer ____________________________________________________________________

    def test_answer():
        """Verify image dimensions."""
        image_filepath = os.path.join(
            os.path.dirname(__file__), "img", "test.png"
        )
        img_width, img_height = image_dimensions(image_filepath)
>       assert img_width == 1024
E       assert 0 == 1024

test_imagedimensions.py:35: AssertionError
--------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------
libpng warning: Application built with libpng-1.4.12 but running with 1.6.36
============================================================= 1 failed in 0.25 seconds =============================================================

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant