RemovedInDjango40Warning: force_text() is deprecated in favor of force_str()
therefromhere opened this issue · 3 comments
therefromhere commented
This is a little way off for now (Django 4.0 is scheduled for ~December 2022), but just a heads up on this warning:
sphinxcontrib_django/docstrings.py:145: RemovedInDjango40Warning: force_text() is deprecated in favor of force_str().
help_text = strip_tags(force_text(field.help_text))
therefromhere commented
eg as seen in dj-stripe docs builds: https://travis-ci.org/github/dj-stripe/dj-stripe/jobs/673267022
ErikKalkoken commented
Since Django 4 is now out, this have become a more severe issue. Would be amazing if the related PR could be released.
timobrembeck commented
@ErikKalkoken Since this repository is apparently no longer maintained, I added support for Django 4 to my fork over a year ago:
- GitHub: timoludwig/sphinxcontrib-django2
- PyPi: sphinxcontrib-django2