picharsso
picharsso copied to clipboard
(fyi) Deprecated constants being used
../../../Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:17
/Users/pawlu/Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:17: DeprecationWarning: NEAREST is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.NEAREST or Dither.NONE instead.
"nearest": Image.NEAREST,
../../../Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:18
/Users/pawlu/Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:18: DeprecationWarning: BOX is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BOX instead.
"box": Image.BOX,
../../../Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:19
/Users/pawlu/Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:19: DeprecationWarning: BILINEAR is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BILINEAR instead.
"bilinear": Image.BILINEAR,
../../../Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:20
/Users/pawlu/Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:20: DeprecationWarning: HAMMING is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.HAMMING instead.
"hamming": Image.HAMMING,
../../../Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:21
/Users/pawlu/Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:21: DeprecationWarning: BICUBIC is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.BICUBIC instead.
"bicubic": Image.BICUBIC,
../../../Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:22
/Users/pawlu/Library/Caches/pypoetry/virtualenvs/nbpreview-fES2tmKb-py3.10/lib/python3.10/site-packages/picharsso/draw/base.py:22: DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
"lanczos": Image.LANCZOS,
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
The replacements are listed here.
Thanks for the work here!
Hey @paw-lu
Sorry for the late reply! I am not sure why I didn't receive a notification.
I'll see if I can get this sorted out over the weekend.
Feel free to make a PR if you like!
Thank you for using the package!