Add back setuptools

Was added to testing requirements in
https://github.com/encode/django-rest-framework/pull/9818

But that was lost in:
https://github.com/encode/django-rest-framework/pull/9842

Moving to optional dep group as it's only needed for coreapi
This commit is contained in:
Bruno Alla 2026-02-07 12:55:44 +00:00
parent 3559fa5da6
commit 92091e0e73

View File

@ -74,6 +74,8 @@ optional = [
"psycopg[binary]>=3.1.8",
"pygments>=2.17,<2.20",
"pyyaml>=5.3.1,<6.1",
# setuptools is needed for coreapi (imports pkg_resources)
"setuptools",
]
django42 = [ "django>=4.2,<5.0" ]
django50 = [ "django>=5.0,<5.1" ]