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

(fyi) Deprecated constants being used #5

Open
paw-lu opened this issue Apr 18, 2022 · 1 comment
Open

(fyi) Deprecated constants being used #5

paw-lu opened this issue Apr 18, 2022 · 1 comment

Comments

@paw-lu
Copy link

paw-lu commented Apr 18, 2022

../../../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!

@kelvindecosta
Copy link
Owner

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!

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

2 participants