Skip to content

Revert replacing and deprecating constants with enums#6684

Closed
hugovk wants to merge 1 commit intopython-pillow:mainfrom
hugovk:revert-constants-to-enums
Closed

Revert replacing and deprecating constants with enums#6684
hugovk wants to merge 1 commit intopython-pillow:mainfrom
hugovk:revert-constants-to-enums

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Oct 24, 2022

Fixes #6537

Changes proposed in this pull request:

@hugovk
Copy link
Member Author

hugovk commented Oct 25, 2022

Let's close this, I somehow had glossed over that the enums were already released in 9.1.0, so this itself would be a breaking change.

Some other ideas we're considering:

  • Keep the enums and deprecated ints
  • Keep the enums and deprecated ints, but extend deprecation period (e.g. from v10/July 2023 to v11/Oct 2024, or even without advertising an end date)
  • Provide API via both ints and enums, remove int deprecations

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

Successfully merging this pull request may close these issues.

API changes for Resampling modes

1 participant