Make new Pillow antialias constant conditional.

Review Request #12418 — Created June 27, 2022 and submitted

david
Djblets
release-3.x
djblets

The recent change to move to the modern constants for antialising caused
breakages with older Pillow versions. This change makes it conditional.

Tested with Pillow 9.0.1, which doesn't include the new constant name.

Summary
Make new Pillow antialias constant conditional.
Description From Last Updated

Can we add a comment to each documenting the compatible version range?

chipx86chipx86
chipx86
  1. 
      
  2. djblets/util/templatetags/djblets_images.py (Diff revision 1)
     
     
     
     
     

    Can we add a comment to each documenting the compatible version range?

  3. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (d5fd645)
Loading...