Description
fix released in 2.17.2!
Originally posted by @kennethreitz in #4104
Im using requests 2.32.3 with djangorestframework 3.16.0 but im still having the same problem: This commit seems to have broken requests.packages.
from rest_framework.test import APITestCase
:1360: in _find_and_load
???
:1331: in _find_and_load_unlocked
???
:935: in _load_unlocked
???
...venv\Lib\site-packages_pytest\assertion\rewrite.py:185: in exec_module
exec(co, module.dict)
...venv\Lib\site-packages\rest_framework\test.py:27: in
class HeaderDict(rest_requests.packages.urllib3._collections.HTTPHeaderDict):
AttributeError: module 'requests' has no attribute 'packages'
ERROR users/tests.py - AttributeError: module 'requests' has no attribute 'packages'
Somebody please help me