Hi,
Version 4.2.0 of the "toolforge" Python library[1] has been released.
You can upgrade to the latest version by running: pip install -U toolforge in your tool's virtual environment.
There are two main changes in this version: * The toolforge.redirect_to_https() function is now deprecated, and does nothing (keeping it in is harmless). * toolforge.set_user_agent() now returns the new user-agent, for easier use with other libraries that need a user-agent (e.g. mwoauth).
Thanks to Lucas Werkmeister for suggesting both improvements.
[1] https://wikitech.wikimedia.org/wiki/User:Legoktm/toolforge_library
-- Legoktm