Skip to content

Commit

Permalink
Bump version to 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rexzhang committed Sep 8, 2020
1 parent d502c14 commit c7b840d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
CHANGES
=======

0.8.0 (2020-09-08)
------------------
- Rewrite almost code
- Redesigned API
- Support unicode string for key
- Support flags
- Support URI
- More test coverage

0.7.0 (2020-08-28)
------------------
- Change pypi packages name to aiomemcached
Expand Down
2 changes: 1 addition & 1 deletion aiomemcached/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def example():
)

__name__ = 'AioMemcached'
__version__ = '0.7.0'
__version__ = '0.8.0'

__author__ = 'Nikolay Kim'
__author_email__ = '[email protected]'
Expand Down
7 changes: 3 additions & 4 deletions test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ async def run_func_with_mocked_execute_raw_cmd(
client, server_response: bytes, func, *args, **kwargs
):
if version_info.major <= 3 and version_info.minor <= 7:
# py37
# object _io.BytesIO can't be used in 'await' expression
# TODO py38+
# py37 say: object _io.BytesIO can't be used in 'await' expression
return

response = BytesIO()
Expand Down Expand Up @@ -448,8 +448,7 @@ async def test_incr_decr(client):

# NOT_FOUND
async def func_1(*args, **kwargs):
result = await client.incr(*args, **kwargs)
assert result is None
assert await client.incr(*args, **kwargs) is None

await run_func_with_mocked_execute_raw_cmd(
client, b'NOT_FOUND\r\n', func_1, b'not:' + key
Expand Down

0 comments on commit c7b840d

Please sign in to comment.