From 79a4eafce24614a7071aef8889332b68c330d69d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Thu, 28 May 2020 19:13:24 +0200 Subject: [PATCH] =?UTF-8?q?Bump=20version:=200.10.0=20=E2=86=92=200.10.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- mwclient/client.py | 4 ++-- setup.cfg | 5 ++--- setup.py | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 05c5edb4..fc0cf9c9 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ For functions not available in the current MediaWiki, a `MediaWikiVersionError` is raised. The current stable -[version 0.10.0](https://github.com/mwclient/mwclient/archive/v0.10.0.zip) +[version 0.10.1](https://github.com/mwclient/mwclient/archive/v0.10.1.zip) is [available through PyPI](https://pypi.python.org/pypi/mwclient): ``` diff --git a/mwclient/client.py b/mwclient/client.py index 86615969..b3057a85 100644 --- a/mwclient/client.py +++ b/mwclient/client.py @@ -21,7 +21,7 @@ except ImportError: gzip = None -__version__ = '0.10.0' +__version__ = '0.10.1' log = logging.getLogger(__name__) @@ -376,7 +376,7 @@ def raw_call(self, script, data, files=None, retry_on_error=True, http_method='P host = self.host if isinstance(host, (list, tuple)): warnings.warn( - 'Specifying host as a tuple is deprecated as of mwclient 0.10.0. ' + 'Specifying host as a tuple is deprecated as of mwclient 0.10.1. ' + 'Please use the new scheme argument instead.', DeprecationWarning ) diff --git a/setup.cfg b/setup.cfg index 98b875d9..9bcb0a78 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.10.0 +current_version = 0.10.1 commit = True tag = True @@ -22,6 +22,5 @@ addopts = --cov mwclient test [flake8] max-line-length = 90 -ignore = +ignore = W503 # Line break before binary operator - diff --git a/setup.py b/setup.py index d6a5a83e..0ea858a5 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ pytest_runner = ['pytest-runner'] if needs_pytest else [] setup(name='mwclient', - version='0.10.0', # Use bumpversion to update + version='0.10.1', # Use bumpversion to update description='MediaWiki API client', long_description=README, long_description_content_type='text/markdown',