carltongibson / django-filter

A generic system for filtering Django QuerySets based on user selections
https://django-filter.readthedocs.io/en/main/
Other
4.39k stars 760 forks source link

fix: Move compatibility TestCase implementation to test utils #1641

Closed adamantike closed 4 months ago

adamantike commented 4 months ago

Having the TestCase class as part of compat makes applications require to import the django.test path and any downstream dependencies.

This is adding import time to time-sensitive executions, which can be avoided as TestCase is only used for internal testing.

image

adamantike commented 4 months ago

Sure! I created #1643 to drop support for Django <4.2 and Python <3.8.

carltongibson commented 4 months ago

Closing in favour of #1643