diff --git a/README.md b/README.md index 05c5edb..fc0cf9c 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 8661596..b3057a8 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 98b875d..9bcb0a7 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 d6a5a83..0ea858a 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',