jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[4.0] Prepare next release 4.0

- update ROADMAP.rst and HISTORY.rst
- update pywikibot/README.rst
- Update version number in pywikibot/__init__.py and setup.py

detached from f95296a6fb

Change-Id: Ica52e91a7998a2af58574231720e2b55965fc351
---
M HISTORY.rst
M ROADMAP.rst
M pywikibot/README.rst
M pywikibot/__init__.py
M setup.py
5 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/HISTORY.rst b/HISTORY.rst
index a9792fd..57bb03f 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -1,6 +1,21 @@
Release history
===============

+3.0.20200703
+------------
+
+* Page.botMayEdit() method was improved (T253709)
+* PageNotFound, SpamfilterError, UserActionRefuse exceptions were removed (T253681)
+* tools.ip submodule has been removed (T243171)
+* Wait in BaseBot.exit() until asynchronous saving pages are completed
+* Solve IndexError when showing an empty diff with a non-zero context (T252724)
+* linktrails were added or updated for a lot of sites
+* Resolve namespaces with underlines (T252940)
+* Fix getversion_svn for Python 3.6+ (T253617, T132292)
+* Bugfixes and improvements
+* Localisation updates
+
+
3.0.20200609
------------

diff --git a/ROADMAP.rst b/ROADMAP.rst
index 8b316bd..f33490c 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -1,29 +1,16 @@
Current release
~~~~~~~~~~~~~~~

- **Note: This is the last release supporting Python 2 and Python 3.4**
-
-* Page.botMayEdit() method was improved (T253709)
-* PageNotFound, SpamfilterError, UserActionRefuse exceptions were removed (T253681)
-* tools.ip submodule has been removed (T243171)
-* Wait in BaseBot.exit() until asynchronous saving pages are completed
-* Solve IndexError when showing an empty diff with a non-zero context (T252724)
-* linktrails were added or updated for a lot of sites
-* Resolve namespaces with underlines (T252940)
-* Fix getversion_svn for Python 3.6+ (T253617, T132292)
-* Bugfixes and improvements
-* Localisation updates
+* Support for Python 2 and 3.4 has been dropped (T213287, T239542)

Future releases
~~~~~~~~~~~~~~~

-* (current) Unsupported debug parameter of UploadRobot will be removed
-* (current) Unported compat decode parameter of Page.title() will be removed
-* (current) tools.count, tools.Counter, tools.OrderedDict and ContextManagerWrapper will be removed
-* (current) getFilesFromAnHash and getImagesFromAnHash Site methods will be removed
+* 3.0.30300703: Unsupported debug parameter of UploadRobot will be removed
+* 3.0.30300703: Unported compat decode parameter of Page.title() will be removed
+* 3.0.30300703: tools.count, tools.Counter, tools.OrderedDict and ContextManagerWrapper will be removed
+* 3.0.30300703: getFilesFromAnHash and getImagesFromAnHash Site methods will be removed
* 3.0.20200508: Page.getVersionHistory and Page.fullVersionHistory() methods will be removed (T136513, T151110)
* 3.0.20200405: Site and Page methods deprecated for 10 years or longer will be removed
* 3.0.20200326: Functions dealing with stars list will be removed
* 3.0.20200306: Support of MediaWiki releases below 1.19 will be dropped (T245350)
-* 3.0.20200111: Support for Python 3.4 will be dropped shortly (T239542)
-* 3.0.20190722: Support for Python 2 will be dropped shortly (T213287)
diff --git a/pywikibot/README.rst b/pywikibot/README.rst
index 4513f58..08b668f 100644
--- a/pywikibot/README.rst
+++ b/pywikibot/README.rst
@@ -27,12 +27,10 @@
* python-tkinter (optional, used by some experimental GUI stuff)


-You need to have at least Python version `2.7.4 <http://www.python.org/download/>`_
+You need to have at least Python version `3.5.0 <http://www.python.org/download/>`_
or newer installed on your computer to be able to run any of the code in this
-package, but not 3.0-3.3. Support for older versions of Python is not planned
-and versions 2.7 and 3.4 will be dropped soon as well. It works fine with 3.5+
-versions of Python installed. Please refer the manual at mediawiki for further
-details and restrictions.
+package. Please refer the manual at mediawiki for further details and
+restrictions.


You do not need to "install" this package to be able to make use of
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py
index 1e08813..8bd01df 100644
--- a/pywikibot/__init__.py
+++ b/pywikibot/__init__.py
@@ -7,7 +7,7 @@
#
from __future__ import absolute_import, division, unicode_literals

-__version__ = __release__ = '3.1.dev0'
+__version__ = __release__ = '4.0.dev0'
__url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot'

import atexit
diff --git a/setup.py b/setup.py
index 21711c2..5d5a2e5 100644
--- a/setup.py
+++ b/setup.py
@@ -167,7 +167,7 @@
@return: pywikibot module version string
@rtype: str
"""
- version = '3.0'
+ version = '4.0'
try:
import subprocess
date = subprocess.check_output(

To view, visit change 609515. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ica52e91a7998a2af58574231720e2b55965fc351
Gerrit-Change-Number: 609515
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged