Make new Pillow antialias constant conditional.

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

Information

Djblets
release-3.x

Reviewers

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 ID
Make new Pillow antialias constant conditional.
The recent change to move to the modern constants for antialising caused breakages with older Pillow versions. This change makes it conditional. Testing Done: Tested with Pillow 9.0.1, which doesn't include the new constant name.
0f62eb8f649cc3ac0819ab9cedea5eeb9b932546
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)
     
     
     
     
     
    Show all issues

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

  3. 
      
david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (d5fd645)