- python-requests
- python-ipaddress
- python-pathlib2
- python3-requests
Steps to reproduce
- run python3 /shared/pywikibot/core/pwb.py add_text
Expected behavior
It should correctly run the script.
Current behavior
Toolforge bots using Pywikibot master (instead of stable, silly) do not work currently.
(requests 2.12.4 (/usr/lib/python3/dist-packages), Requirement.parse('requests>=2.20.1; python_version != "3.4"')) Please install/update required module with: pip install "requests>=2.20.1"
Further details
It seems Toolforge chose default Debian requests over Wikimedia one:
$ apt-cache policy python3-requests python3-requests: Installed: 2.12.4-1 Candidate: 2.12.4-1 Version table: 2.21.0-1~bpo9+1 100 100 http://mirrors.wikimedia.org/debian stretch-backports/main amd64 Packages *** 2.12.4-1 500 500 http://deb.debian.org/debian stretch/main amd64 Packages 100 /var/lib/dpkg/status
The same for Python 2 and python-requests and python-ipaddress.
Not sure how to fix this.