See https://github.com/wikimedia/pywikibot/security/dependabot/5
"requests >= 2.31.0"
should be required but we have
'requests>=2.21.0, <2.28.0; python_version < "3.7"', 'requests>=2.21.0; python_version>="3.7"',
where 2.21.0 is the version in toolforge
As a workaround redirects must be discarded.