jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/481330 )
Change subject: [cleanup] Move TODOs to phabricator
......................................................................
[cleanup] Move TODOs to phabricator
New task is T212623
Change-Id: Iaf90510382da782bef0c4386ae858b14bd545291
---
M pywikibot/data/api.py
1 file changed, 0 insertions(+), 13 deletions(-)
Approvals:
Dvorapa: Looks good to me, but someone else must approve
Zhuyifei1999: Looks good to me, but someone else must approve
D3r1ck01: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py
index f7e4745..d3b4000 100644
--- a/pywikibot/data/api.py
+++ b/pywikibot/data/api.py
@@ -173,19 +173,6 @@
MW 1.10 not supported as module prefixes are not extracted from API 'help'.
It does not support the format modules.
-
- TODO: establish a data structure in the class which prefills
- the param information available for a site given its
- version, using the API information available for each
- API version.
-
- TODO: module aliases: in 1.25wmf
- list=deletedrevs becomes list=alldeletedrevisions
- prop=deletedrevs becomes prop=deletedrevisions
-
- TODO: share API parameter information between sites using
- similar versions of the API, especially all sites in the
- same family.
"""
paraminfo_keys = frozenset(['modules', 'querymodules', 'formatmodules',
--
To view, visit https://gerrit.wikimedia.org/r/481330
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: Iaf90510382da782bef0c4386ae858b14bd545291
Gerrit-Change-Number: 481330
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <alangiderick(a)gmail.com>
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)
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/484004 )
Change subject: [tests] Install oauthlib<3.0.0 first
......................................................................
[tests] Install oauthlib<3.0.0 first
Bug: T213635
Change-Id: Iefa32968a46d6ec20f7cd92c9368a6f1c66b34de
---
M requirements.txt
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Dvorapa: Looks good to me, but someone else must approve
D3r1ck01: Looks good to me, approved
jenkins-bot: Verified
diff --git a/requirements.txt b/requirements.txt
index 551d858..c52d3e2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -31,6 +31,9 @@
# OAuth support
# mwoauth 0.2.4 is needed because it supports getting identity information
# about the user
+# due to T213635 we have to install oauthlib first
+# because requests-oauthlib 1.1.0 and lower does not support oauthlib 3.0.0
+oauthlib<3.0.0
mwoauth>=0.2.4,!=0.3.1
# core interwiki_graph.py:
--
To view, visit https://gerrit.wikimedia.org/r/484004
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: Iefa32968a46d6ec20f7cd92c9368a6f1c66b34de
Gerrit-Change-Number: 484004
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <alangiderick(a)gmail.com>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/484016 )
Change subject: [bugfix] "-step" is a global option, not needed to deprecate it
......................................................................
[bugfix] "-step" is a global option, not needed to deprecate it
"-step" is a global option handled by pywikibot.handle_args.
This also solves the missing "instead" parameter for issue_deprecation_warning
Change-Id: I595b6a022ca7a02f5d07aebfc5bd792221ce03b3
---
M scripts/redirect.py
1 file changed, 0 insertions(+), 7 deletions(-)
Approvals:
Mpaa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/redirect.py b/scripts/redirect.py
index 311c8b9..3c962b4 100755
--- a/scripts/redirect.py
+++ b/scripts/redirect.py
@@ -87,9 +87,7 @@
from pywikibot import i18n, xmlreader
from pywikibot.bot import (OptionHandler, SingleSiteBot, ExistingPageBot,
RedirectPageBot)
-from pywikibot.exceptions import ArgumentDeprecationWarning
from pywikibot.textlib import extract_templates_and_params_regex_simple
-from pywikibot.tools import issue_deprecation_warning
if sys.version_info[0] > 2:
basestring = (str, )
@@ -744,11 +742,6 @@
gen_options[option] = int(value)
elif option in ('page', 'start', 'until'):
gen_options[option] = value
- # deprecated or unknown options
- elif option == 'step':
- issue_deprecation_warning('The usage of "{0}"'.format(arg),
- 2, ArgumentDeprecationWarning,
- since='20160210')
else:
pywikibot.output('Unknown argument: ' + arg)
--
To view, visit https://gerrit.wikimedia.org/r/484016
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: I595b6a022ca7a02f5d07aebfc5bd792221ce03b3
Gerrit-Change-Number: 484016
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <alangiderick(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/482522 )
Change subject: [tests] Do not use pytest 4.1.0 with pytest-cov < 2.6.1
......................................................................
[tests] Do not use pytest 4.1.0 with pytest-cov < 2.6.1
pytest 4.1.0 causes a lot of failures
AttributeError: 'TestCaseFunction' object has no attribute 'get_marker'
see https://api.travis-ci.org/v3/job/476035849/log.txt
Change-Id: Ia292cbaed69e923e19ce466ed638b9126ff9e60d
---
M dev-requirements.txt
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Dvorapa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/dev-requirements.txt b/dev-requirements.txt
index ce53141..ea8424c 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -5,7 +5,7 @@
pytest>=3.6.0
pytest-timeout
pytest-runner
-pytest-cov
+pytest-cov>=2.6.1
pytest-attrib>=0.1.3
pytest-httpbin
--
To view, visit https://gerrit.wikimedia.org/r/482522
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: Ia292cbaed69e923e19ce466ed638b9126ff9e60d
Gerrit-Change-Number: 482522
Gerrit-PatchSet: 3
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot (75)
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/482517 )
Change subject: [doc] Prepare next release
......................................................................
[doc] Prepare next release
Tag 3.0.2019016 is published
Change-Id: I247516a82d1d4e467cb4ddcef3eb648f2ee8c24f
---
M HISTORY.rst
M docs/conf.py
2 files changed, 7 insertions(+), 1 deletion(-)
Approvals:
Dvorapa: Looks good to me, approved
jenkins-bot: Verified
diff --git a/HISTORY.rst b/HISTORY.rst
index 1aa881d..0033fb2 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -4,6 +4,12 @@
Current release
---------------
+* Bugfixes and improvements
+* Localisation updates
+
+3.0.20190106
+------------
+
* Ensure "modules" parameter of ParamInfo._fetch is a set (T122763)
* Support adding new claims with qualifiers and/or references (T112577, T170432)
* Support LZMA and XZ compression formats
diff --git a/docs/conf.py b/docs/conf.py
index 5bdf21b..ab3abdc 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -71,7 +71,7 @@
# The short X.Y version.
version = '3.0'
# The full version, including alpha/beta/rc tags.
-release = '3.0.20181203'
+release = '3.0.20190106'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
--
To view, visit https://gerrit.wikimedia.org/r/482517
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: I247516a82d1d4e467cb4ddcef3eb648f2ee8c24f
Gerrit-Change-Number: 482517
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)