We are using the python-mwapi python package in a lot of our services. This package is currently unmaintained and lives under MediaWiki Utilities. We have discovered a small bug in the package (see here) and some of our planned work is also directly related to this package (e.g. https://phabricator.wikimedia.org/T407843 and https://phabricator.wikimedia.org/T363725), which incentivizes us to look for solutions to the problem.
The current paths forward gathered from Slack discussions are:
- Evaluate switching to https://github.com/mwclient/mwclient/ started by an early time volunteer. This one is maintained, has external contributors and is lightweight.
- Keep using and maintaining the python-mwapi ourselves. We can either:
- Fork it under https://github.com/wikimedia/ and have the PyPI package include https://pypi.org/user/wikimedia/ - the credentials are probably in the release engineering store, @hashar might have more information :)
- Use Wikimedia GitLab instead of Github as was suggested by @Dzahn, who would be happy to set up the repo and import the code.
- Write the new package ourselves :)
This ticket should evaluate the ideas above, we should agree on the path forward and plan the follow-up work before closing it.