jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/510728 )
Change subject: [cleanup] Throw a FutureWarning with botirc
......................................................................
[cleanup] Throw a FutureWarning with botirc
botirc was used with script_wui only.
I do not expect that this library part is used elsewhere
but notify end users to replace it soon.
It could be deleted after that, probably in two months or so.
Change-Id: I8bddabcaa9f840b64c1c718d93f5ee5452e30b6e
---
M pywikibot/botirc.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
Dvorapa: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/pywikibot/botirc.py b/pywikibot/botirc.py
index 4db2ef1..3286341 100644
--- a/pywikibot/botirc.py
+++ b/pywikibot/botirc.py
@@ -133,4 +133,5 @@
'IRCBot',
replacement_name=('irc.bot.SingleServerIRCBot from irc library '
'or EventStreams'),
- since='20190509')
+ since='20190509',
+ future_warning=True)
--
To view, visit
https://gerrit.wikimedia.org/r/510728
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8bddabcaa9f840b64c1c718d93f5ee5452e30b6e
Gerrit-Change-Number: 510728
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: Zhuyifei1999 <zhuyifei1999(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)