jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710664 )
Change subject: [bugfix] Relax assertion in WikidataBot.treat_page
......................................................................
[bugfix] Relax assertion in WikidataBot.treat_page
This assertion was wrong. page may be None,
it is even assigned to it above.
Change-Id: I05f4fd713625ded61bee7efe5e0c30d45b582b2d
---
M pywikibot/bot.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index bfff4b2..a623dff 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -2303,7 +2303,7 @@
'must be an item.'.format(page))
return
- assert page is not None
+ assert not (page is None and item is None)
if not item and self.create_missing_item:
item = self.create_item_for_page(page, asynchronous=False)
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710664
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I05f4fd713625ded61bee7efe5e0c30d45b582b2d
Gerrit-Change-Number: 710664
Gerrit-PatchSet: 1
Gerrit-Owner: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: Damian <atagar1(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710265 )
Change subject: [6.5.1] Prepare next release
......................................................................
[6.5.1] Prepare next release
Change-Id: I68db34d474d4b5c42bc13eff921d5880beaefa5d
---
M HISTORY.rst
M ROADMAP.rst
M pywikibot/__metadata__.py
M scripts/__init__.py
4 files changed, 21 insertions(+), 14 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/HISTORY.rst b/HISTORY.rst
index 3cb2e16..c636c11 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,24 @@
Release history
^^^^^^^^^^^^^^^
+6.5.0
+-----
+*05 August 2021*
+
+* Add support for jvwikisource (T286247)
+* Handle missingtitle error code when deleting
+* Check for outdated setuptools in pwb.py wrapper (T286980)
+* Remove traceback for original exception for known API error codes
+* Unused strm parameter of init_handlers was removed
+* Ignore throttle.pid if a Site object cannot be created (T286848)
+* Explicitly return an empty string with OutputProxyOption.out property (T286403)
+* Explicitly return None from ContextOption.result() (T286403)
+* Add support for Lingua Libre family (T286303)
+* Catch invalid titles in Category.isCategoryRedirect()
+* L10N updates
+* Provide structured data on Commons (T213904, T223820)
+
+
6.4.0
-----
*01 July 2021*
diff --git a/ROADMAP.rst b/ROADMAP.rst
index f6f242f..adce3c4 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,18 +1,7 @@
Current release changes
^^^^^^^^^^^^^^^^^^^^^^^
-* Add support for jvwikisource (T286247)
-* Handle missingtitle error code when deleting
-* Check for outdated setuptools in pwb.py wrapper (T286980)
-* Remove traceback for original exception for known API error codes
-* Unused strm parameter of init_handlers was removed
-* Ignore throttle.pid if a Site object cannot be created (T286848)
-* Explicitly return an empty string with OutputProxyOption.out property (T286403)
-* Explicitly return None from ContextOption.result() (T286403)
-* Add support for Lingua Libre family (T286303)
-* Catch invalid titles in Category.isCategoryRedirect()
-* L10N updates
-* Provide structured data on Commons (T213904, T223820)
+* (no changes yet)
Deprecations
diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py
index c876738..e6a5924 100644
--- a/pywikibot/__metadata__.py
+++ b/pywikibot/__metadata__.py
@@ -11,7 +11,7 @@
__name__ = 'pywikibot'
-__version__ = '6.5.0'
+__version__ = '6.5.1.dev0'
__description__ = 'Python MediaWiki Bot Framework'
__maintainer__ = 'The Pywikibot team'
__maintainer_email__ = 'pywikibot(a)lists.wikimedia.org'
diff --git a/scripts/__init__.py b/scripts/__init__.py
index be05800..60690e2 100644
--- a/scripts/__init__.py
+++ b/scripts/__init__.py
@@ -29,4 +29,4 @@
#
# Distributed under the terms of the MIT license.
#
-__version__ = '6.5.0'
+__version__ = '6.5.1'
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710265
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I68db34d474d4b5c42bc13eff921d5880beaefa5d
Gerrit-Change-Number: 710265
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710257 )
Change subject: [doc] Update ROADMAP.rst
......................................................................
[doc] Update ROADMAP.rst
Change-Id: Icfc253bd0e55bb077f56828d52dcad11533cff71
---
M ROADMAP.rst
1 file changed, 10 insertions(+), 0 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst
index b47c094..f6f242f 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,6 +1,14 @@
Current release changes
^^^^^^^^^^^^^^^^^^^^^^^
+* Add support for jvwikisource (T286247)
+* Handle missingtitle error code when deleting
+* Check for outdated setuptools in pwb.py wrapper (T286980)
+* Remove traceback for original exception for known API error codes
+* Unused strm parameter of init_handlers was removed
+* Ignore throttle.pid if a Site object cannot be created (T286848)
+* Explicitly return an empty string with OutputProxyOption.out property (T286403)
+* Explicitly return None from ContextOption.result() (T286403)
* Add support for Lingua Libre family (T286303)
* Catch invalid titles in Category.isCategoryRedirect()
* L10N updates
@@ -10,6 +18,8 @@
Deprecations
^^^^^^^^^^^^
+* 6.5.0: OutputOption.output() method will be removed in favour of OutputOption.out property
+* 6.5.0: tools.RotatingFileHandler will be removed in favour of logging.handlers.RotatingFileHandler
* 6.4.0: Pywikibot `began using semantic versioning
<https://www.mediawiki.org/wiki/Manual:Pywikibot/Development/Guidelines#Depr…>`_,
all deprecated code will be removed in Pywikibot version 7.0.0.
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/710257
To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Icfc253bd0e55bb077f56828d52dcad11533cff71
Gerrit-Change-Number: 710257
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged