Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The upstream fix https://github.com/theskumar/python-dotenv/commit/790c5c02991100aa1bf41ee5330aca75edc51311 says this is a breaking change, so we might as well update to 1.2.2 and impact check this update across Fedora, then request a FESCo update policy exception if it works.
https://pagure.io/fesco/issue/3600