Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats #11

Open
kenoss opened this issue May 17, 2021 · 0 comments
Open

Comments

@kenoss
Copy link
Contributor

kenoss commented May 17, 2021

pytest outputs the following warning:

============================================================== warnings summary ==============================================================
tests/intergation_test/test_gstreamer_output.py: 52 warnings
  /home/keno/.cache/pypoetry/virtualenvs/actfw-gstreamer-geNW1jjz-py3.9/lib/python3.9/site-packages/PIL/Image.py:812: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    s = d.decode(data)

tests/intergation_test/test_gstreamer_output.py::test_videotestsrc
tests/intergation_test/test_gstreamer_output.py::test_videotestsrc
tests/intergation_test/test_gstreamer_output.py::test_videotestsrc
tests/intergation_test/test_gstreamer_output.py::test_videotestsrc
  /home/keno/.cache/pypoetry/virtualenvs/actfw-gstreamer-geNW1jjz-py3.9/lib/python3.9/site-packages/PIL/ImageFile.py:241: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
    n, err_code = decoder.decode(b)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
====================================================== 12 passed, 56 warnings in 9.22s =======================================================

This comes from Pillow < 6.0.0.
This does not affect our use cases until an update of apt packages comes.

Action: Wait.

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

No branches or pull requests

1 participant