[Python-modules-commits] [aioredis] 01/05: Import aioredis_1.0.0.orig.tar.gz

Piotr Ożarowski piotr at moszumanska.debian.org
Thu Nov 30 09:53:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

piotr pushed a commit to branch master
in repository aioredis.

commit dda1067f12fc83fbf37bfaec0afe092136cc2286
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Thu Nov 30 10:36:13 2017 +0100

    Import aioredis_1.0.0.orig.tar.gz
---
 .appveyor.yml                             |   29 -
 .bumpversion.cfg                          |    9 -
 .gitignore                                |   63 -
 .pyup.yml                                 |    3 -
 .travis.yml                               |   72 --
 CHANGES.txt                               |   80 +-
 CONTRIBUTORS.txt                          |   45 +-
 HISTORY.rst                               |  320 -----
 Makefile                                  |  111 --
 PKG-INFO                                  |  112 +-
 README.rst                                |   25 +-
 aioredis.egg-info/PKG-INFO                |  112 +-
 aioredis.egg-info/SOURCES.txt             |   47 +-
 aioredis/__init__.py                      |   17 +-
 aioredis/abc.py                           |    7 +-
 aioredis/commands/__init__.py             |  114 +-
 aioredis/commands/generic.py              |   22 +-
 aioredis/commands/geo.py                  |   12 +-
 aioredis/commands/hash.py                 |   31 +-
 aioredis/commands/pubsub.py               |    7 +-
 aioredis/commands/server.py               |    2 +-
 aioredis/commands/set.py                  |   25 +-
 aioredis/commands/sorted_set.py           |   78 +-
 aioredis/commands/transaction.py          |   75 +-
 aioredis/connection.py                    |  153 ++-
 aioredis/errors.py                        |   38 +-
 aioredis/locks.py                         |    5 +-
 aioredis/pool.py                          |  185 ++-
 aioredis/pubsub.py                        |  120 +-
 aioredis/sentinel/commands.py             |   34 +-
 aioredis/sentinel/pool.py                 |  128 +-
 aioredis/stream.py                        |   96 ++
 aioredis/streams.py                       |   53 -
 aioredis/util.py                          |  185 +--
 docs/Makefile                             |  183 ---
 docs/_build/man/aioredis.1                | 1887 +++++++++++++++++++----------
 docs/_templates/layout.html               |   23 -
 docs/api_reference.rst                    |  219 +++-
 docs/conf.py                              |  294 -----
 docs/examples.rst                         |   57 -
 docs/index.rst                            |   16 +-
 docs/migration.rst                        |  238 ++++
 docs/mixins.rst                           |  105 +-
 docs/mpsc.rst                             |    4 +-
 docs/requirements.txt                     |    4 -
 docs/sentinel.rst                         |  251 +++-
 docs/spelling_wordlist.txt                |  132 --
 docs/start.rst                            |    4 +-
 examples/commands.py                      |    4 +-
 examples/connection.py                    |    2 +-
 examples/iscan.py                         |    2 +-
 examples/pipeline.py                      |    2 +-
 examples/pool.py                          |    2 +-
 examples/pool2.py                         |    2 +-
 examples/pool_pubsub.py                   |    4 +-
 examples/pubsub.py                        |    4 +-
 examples/pubsub2.py                       |    4 +-
 examples/py34/commands.py                 |   22 -
 examples/py34/connection.py               |   30 -
 examples/py34/pipeline.py                 |   50 -
 examples/py34/pool.py                     |   24 -
 examples/py34/pool_pubsub.py              |   75 --
 examples/py34/pubsub.py                   |   37 -
 examples/py34/pubsub2.py                  |   59 -
 examples/py34/scan.py                     |   28 -
 examples/py34/transaction.py              |   27 -
 examples/py34/transaction2.py             |   25 -
 examples/redis-sentinel.conf              |    9 -
 examples/redis.conf                       |    7 -
 examples/scan.py                          |    2 +-
 examples/transaction.py                   |    2 +-
 examples/transaction2.py                  |    2 +-
 setup.py                                  |   12 +-
 tests/conftest.py                         |   84 +-
 tests/connection_commands_test.py         |   63 +-
 tests/connection_test.py                  |  359 +++---
 tests/encode_command_test.py              |    8 +
 tests/errors_test.py                      |   18 +
 tests/generic_commands_test.py            |  614 +++++-----
 tests/geo_commands_test.py                |  128 +-
 tests/hash_commands_test.py               |  342 +++---
 tests/hyperloglog_commands_test.py        |   54 +-
 tests/integration_test.py                 |   97 ++
 tests/integrational/integrational_test.py |  108 --
 tests/list_commands_test.py               |  305 +++--
 tests/locks_test.py                       |   19 +-
 tests/multi_exec_test.py                  |    8 +-
 tests/parse_url_test.py                   |  127 ++
 tests/pool_test.py                        |  323 ++---
 tests/pubsub_commands_test.py             |  240 ++--
 tests/pubsub_receiver_test.py             |  173 ++-
 tests/py35_generic_commands_test.py       |   46 -
 tests/py35_hash_commands_test.py          |   53 -
 tests/py35_pool_test.py                   |   23 -
 tests/py35_pubsub_commands_test.py        |   23 -
 tests/py35_pubsub_receiver_test.py        |   56 -
 tests/py35_set_commands_test.py           |   49 -
 tests/py35_sorted_set_commands_test.py    |   42 -
 tests/pyreader_test.py                    |   19 +-
 tests/requirements.txt                    |    7 -
 tests/scripting_commands_test.py          |   82 +-
 tests/sentinel_commands_test.py           |  144 ++-
 tests/sentinel_failover_test.py           |  122 +-
 tests/server_commands_test.py             |  179 +--
 tests/set_commands_test.py                |  282 +++--
 tests/sorted_set_commands_test.py         |  627 ++++++----
 tests/ssl/Makefile                        |   15 -
 tests/ssl/cafile.crt                      |   21 -
 tests/ssl/cert.pem                        |   49 -
 tests/ssl/dhparam.pem                     |    8 -
 tests/ssl_test.py                         |   20 +-
 tests/stream_test.py                      |   52 +
 tests/string_commands_test.py             |  531 ++++----
 tests/task_cancellation.py                |   34 +
 tests/task_cancellation_test.py           |    8 +-
 tests/transaction_commands_test.py        |  174 +--
 116 files changed, 6145 insertions(+), 5860 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
deleted file mode 100644
index 745c82b..0000000
--- a/.appveyor.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-version: 1.0.0b1{build}
-build: off
-
-environment:
-  REDIS: "C:\\ProgramData\\chocolatey\\lib\\redis-64"
-  PYTHONASYNCIODEBUG: "1"
-  matrix:
-  - PYTHON: "C:\\Python35"
-  - PYTHON: "C:\\Python35-x64"
-  - PYTHON: "C:\\Python36"
-  - PYTHON: "C:\\Python36-x64"
-
-install:
-- "cinst redis-64"
-- "%PYTHON%\\python.exe -m pip install -r tests/requirements.txt"
-- "%PYTHON%\\python.exe -m pip install -e ."
-
-test_script:
-- "%REDIS%\\redis-server.exe --version"
-- "%PYTHON%\\python.exe -c \"import sys; print(sys.version)\""
-- "%PYTHON%\\python.exe -m pytest -svv --cov --cov-report=xml --junit-xml=results.xml --redis-server=%REDIS%\\redis-server.exe"
-
-on_finish:
-- ps: >-
-    $wc = New-Object 'System.Net.WebClient'
-
-    $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path results.xml))
-- "%PYTHON%\\python.exe -m pip install codecov"
-- "%PYTHON%\\python.exe -m codecov -f \"coverage.xml\""
diff --git a/.bumpversion.cfg b/.bumpversion.cfg
deleted file mode 100644
index 93751ba..0000000
--- a/.bumpversion.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-[bumpversion]
-current_version = 1.0.0
-commit = True
-tag = True
-
-[bumpversion:file:aioredis/__init__.py]
-
-[bumpversion:file:docs/conf.py]
-
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index d82541e..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Byte-compiled / optimized / DLL files
-__pycache__/
-*.py[cod]
-
-# C extensions
-*.so
-
-# Distribution / packaging
-.Python
-env/
-bin/
-build/
-develop-eggs/
-dist/
-eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-*.egg-info/
-.installed.cfg
-*.egg
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-htmlcov/
-.tox/
-.coverage
-.cache
-nosetests.xml
-coverage.xml
-
-# Translations
-*.mo
-
-# Mr Developer
-.mr.developer.cfg
-.project
-.pydevproject
-
-#PyCharm
-.idea/
-
-# Rope
-.ropeproject
-
-# Django stuff:
-*.log
-*.pot
-
-# Sphinx documentation
-docs/_build/
-
-# OS hidden files
-.DS_Store
-
-# Vim
-.vim
-tests/ssl
diff --git a/.pyup.yml b/.pyup.yml
deleted file mode 100644
index 09f1ffc..0000000
--- a/.pyup.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-# Label PRs with `deps-update` label
-label_prs: deps-update
-branch: pyup
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 6f628f6..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,72 +0,0 @@
-sudo: false
-dist: trusty
-
-language: python
-
-addons:
-  apt:
-    packages:
-    - socat
-    - enchant
-    - aspell
-    - aspell-en
-
-env:
-  global:
-  - REDIS_TAGS="2.6.17 2.8.22 3.0.7 3.2.8 4.0-rc2" INSTALL_DIR=$HOME/redis PYPY_RELEASE="pypy3-v5.7.1-linux64"
-
-python:
-- "3.3"
-- "3.4"
-- "3.5"
-- "3.6"
-- "pypy-5.3.1"
-
-matrix:
-  include:
-  - python: "3.6"
-    env: DOCS_SPELL_CHECK="y"
-    install:
-    - pip install -r docs/requirements.txt
-    - pip install -e. -c tests/requirements.txt
-    script:
-    - make spelling
-  - python: "3.6"
-    env: UVLOOP="y"
-  allow_failures:
-  - env: UVLOOP="y"
-  - python: "pypy-5.3.1"
-
-install:
-- make -j ci-build-redis
-- |
-    if [ "$TRAVIS_PYTHON_VERSION" = "pypy-5.3.1" ]; then
-      wget -nv -c "https://bitbucket.org/pypy/pypy/downloads/$PYPY_RELEASE.tar.bz2" -O - | tar -xjC $HOME
-      export PYPY_VERSION="$($HOME/$PYPY_RELEASE/bin/pypy3 -V | grep PyPy | cut -d ' ' -f2)"
-      $HOME/$PYPY_RELEASE/bin/pypy3 -m venv --clear $HOME/virtualenvs/pypy3
-      $HOME/$PYPY_RELEASE/bin/pypy3 -m venv $HOME/virtualenvs/pypy3
-      source $HOME/virtualenvs/pypy3/bin/activate
-      python --version
-      pip --version
-    fi
-- |
-    if [ "$UVLOOP" = "y" ]; then
-      export TEST_ARGS="$TEST_ARGS --uvloop"
-      pip install uvloop
-    fi;
-- pip install codecov
-- pip install -r tests/requirements.txt
-- pip install -e .
-
-script:
-- make flake
-- make ci-test
-- make examples
-
-cache: pip
-before_cache:
-  - rm -rf $HOME/.cache/pip/http  # drop tar.gz cache; keep only wheels
-  - rm -f $HOME/.cache/pip/log/debug.log
-
-after_script:
-- codecov
diff --git a/CHANGES.txt b/CHANGES.txt
index 1badcd3..8ff9237 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,18 +1,38 @@
 Changes
 -------
 
-1.0.0 (2017-xx-xx)
+1.0.0 (2017-11-17)
 ^^^^^^^^^^^^^^^^^^
 
 **NEW**:
 
-* Connections pool has been refactored; now ``create_redis``
+* **Important!** Drop Python 3.3, 3.4 support;
+  (see `#321 <https://github.com/aio-libs/aioredis/pull/321>`_,
+  `#323 <https://github.com/aio-libs/aioredis/pull/323>`_
+  and `#326 <https://github.com/aio-libs/aioredis/pull/326>`_);
+
+* **Important!** Connections pool has been refactored; now ``create_redis``
   function will yield ``Redis`` instance instead of ``RedisPool``
   (see `#129 <https://github.com/aio-libs/aioredis/pull/129>`_);
 
+* **Important!** Change sorted set commands reply format:
+  return list of tuples instead of plain list for commands
+  accepting ``withscores`` argument
+  (see `#334 <https://github.com/aio-libs/aioredis/pull/334>`_);
+
+* **Important!** Change ``hscan`` command reply format:
+  return list of tuples instead of mixed key-value list
+  (see `#335 <https://github.com/aio-libs/aioredis/pull/335>`_);
+
+* Implement Redis URI support as supported ``address`` argument value
+  (see `#322 <https://github.com/aio-libs/aioredis/pull/322>`_);
+
 * Dropped ``create_reconnecting_redis``, ``create_redis_pool`` should be
   used instead;
 
+* Implement custom ``StreamReader``
+  (see `#273 <https://github.com/aio-libs/aioredis/pull/273>`_);
+
 * Implement Sentinel support
   (see `#181 <https://github.com/aio-libs/aioredis/pull/181>`_);
 
@@ -29,8 +49,33 @@ Changes
   ``command_info`` commands
   (see `#229 <https://github.com/aio-libs/aioredis/pull/229>`_);
 
+* Add ``ping`` support in pubsub connection
+  (see `#264 <https://github.com/aio-libs/aioredis/pull/264>`_);
+
+* Add ``exist`` parameter to ``zadd`` command
+  (see `#288 <https://github.com/aio-libs/aioredis/pull/288>`_);
+
+* Add ``MaxClientsError`` and implement ``ReplyError`` specialization
+  (see `#325 <https://github.com/aio-libs/aioredis/pull/325>`_);
+
+* Add ``encoding`` parameter to sorted set commands
+  (see `#289 <https://github.com/aio-libs/aioredis/pull/289>`_);
+
 **FIX**:
 
+* Fix ``CancelledError`` in ``conn._reader_task``
+  (see `#301 <https://github.com/aio-libs/aioredis/pull/301>`_);
+
+* Fix pending commands cancellation with ``CancelledError``,
+  use explicit exception instead of calling ``cancel()`` method
+  (see `#316 <https://github.com/aio-libs/aioredis/pull/316>`_);
+
+* Correct error message on Sentinel discovery of master/slave with password
+  (see `#327 <https://github.com/aio-libs/aioredis/pull/327>`_);
+
+* Fix ``bytearray`` support as command argument
+  (see `#329 <https://github.com/aio-libs/aioredis/pull/329>`_);
+
 * Fix critical bug in patched asyncio.Lock
   (see `#256 <https://github.com/aio-libs/aioredis/pull/256>`_);
 
@@ -59,6 +104,37 @@ Changes
 
 * Update dependencies versions;
 
+* Add missing Python 3.6 classifier;
+
+
+0.3.5 (2017-11-08)
+^^^^^^^^^^^^^^^^^^
+
+**FIX**:
+
+* Fix for indistinguishable futures cancellation with
+  ``asyncio.CancelledError``
+  (see `#316 <https://github.com/aio-libs/aioredis/pull/316>`_),
+  cherry-picked from master;
+
+
+0.3.4 (2017-10-25)
+^^^^^^^^^^^^^^^^^^
+
+**FIX**:
+
+* Fix time command result decoding when using connection-wide encoding setting
+  (see `#266 <https://github.com/aio-libs/aioredis/pull/266>`_);
+
+
+0.3.3 (2017-06-30)
+^^^^^^^^^^^^^^^^^^
+
+**FIX**:
+
+* Critical bug fixed in patched asyncio.Lock
+  (see `#256 <https://github.com/aio-libs/aioredis/pull/256>`_);
+
 
 0.3.2 (2017-06-21)
 ^^^^^^^^^^^^^^^^^^
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index c832b1e..3d698ef 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -1,29 +1,32 @@
-Acknowledgements
-----------------
-
-Andrew Svetlov
-Paul Colomiets
-
-
 Contributors
 ------------
 
-Nickolai Novik
-Alexander Shorin
+Adam Rothman
 Aider Ibragimov
-SeungHyun Hwang
-Taku Fukada
-Volodymyr Hotsyk
-Jeff Moser
+Alexander Shorin
+Aliaksei Urbanski
+Andrew Svetlov
+Anton Verinov
+<cynecx>
 Dima Kruk
+Hugo <hugovk>
+Ihor Gorobets
+Ihor Liubymov
+James Hilliard
+Jan Špaček
+Jeff Moser
+SeungHyun Hwang
 Leonid Shvechikov
+Manuel Miranda
+Marijn Giesen
+Martin <the-panda>
+Nickolai Novik
+Pau Freixes
+Paul Colomiets
 Samuel Colvin
-Ihor Gorobets
+Samuel Dion-Girardeau
+Taku Fukada
+Taras Voinarovskyi
 Thanos Lefteris
-Ilya Goncharov
-Brett Rosen
-Pau Freixes
-Aliaksei Urbanski
-Martin <the-panda>
-Marijn Giesen
-Anton Verinov
+Thomas Steinacher
+Volodymyr Hotsyk
diff --git a/HISTORY.rst b/HISTORY.rst
deleted file mode 100644
index 7802dd8..0000000
--- a/HISTORY.rst
+++ /dev/null
@@ -1,320 +0,0 @@
-0.2.9 (2016-10-24)
-^^^^^^^^^^^^^^^^^^
-
-**NEW**:
-
-* Allow multiple keys in ``EXISTS`` command
-  (see `#156 <https://github.com/aio-libs/aioredis/issues/156>`_
-  and `#157 <https://github.com/aio-libs/aioredis/issues/157>`_);
-
-**FIX**:
-
-* Close RedisPool when connection to Redis failed
-  (see `#136 <https://github.com/aio-libs/aioredis/issues/136>`_);
-
-* Add simple ``INFO`` command argument validation
-  (see `#140 <https://github.com/aio-libs/aioredis/issues/140>`_);
-
-* Remove invalid uses of ``next()``
-
-**MISC**:
-
-* Update devel.rst docs; update Pub/Sub Channel docs (cross-refs);
-
-* Update MANIFEST.in to include docs, examples and tests in source bundle;
-
-
-0.2.8 (2016-07-22)
-^^^^^^^^^^^^^^^^^^
-
-**NEW**:
-
-* Add ``hmset_dict`` command
-  (see `#130 <https://github.com/aio-libs/aioredis/issues/130>`_);
-
-* Add ``RedisConnection.address`` property;
-
-* RedisPool ``minsize``/``maxsize`` must not be ``None``;
-
-* Implement ``close()``/``wait_closed()``/``closed`` interface for pool
-  (see `#128 <https://github.com/aio-libs/aioredis/issues/128>`_);
-
-**FIX**:
-
-* Add test for ``hstrlen``;
-
-* Test fixes
-
-**MISC**:
-
-* Enable Redis 3.2.0 on Travis;
-
-* Add spell checking when building docs
-  (see `#132 <https://github.com/aio-libs/aioredis/issues/132>`_);
-
-* Documentation updated;
-
-
-0.2.7 (2016-05-27)
-^^^^^^^^^^^^^^^^^^
-
-* ``create_pool()`` minsize default value changed to 1;
-
-* Fixed cancellation of wait_closed
-  (see `#118 <https://github.com/aio-libs/aioredis/issues/118>`_);
-
-* Fixed ``time()`` convertion to float
-  (see `#126 <https://github.com/aio-libs/aioredis/issues/126>`_);
-
-* Fixed ``hmset()`` method to return bool instead of ``b'OK'``
-  (see `#126`_);
-
-* Fixed multi/exec + watch issue (changed watch variable was causing
-  ``tr.execute()`` to fail)
-  (see `#121 <https://github.com/aio-libs/aioredis/issues/121>`_);
-
-* Replace ``asyncio.Future`` uses with utility method
-  (get ready to Python 3.5.2 ``loop.create_future()``);
-
-* Tests switched from unittest to pytest (see `#126`_);
-
-* Documentation updates;
-
-
-0.2.6 (2016-03-30)
-^^^^^^^^^^^^^^^^^^
-
-* Fixed Multi/Exec transactions cancellation issue
-  (see `#110 <https://github.com/aio-libs/aioredis/issues/110>`_
-  and `#114 <https://github.com/aio-libs/aioredis/issues/114>`_);
-
-* Fixed Pub/Sub subscribe concurrency issue
-  (see `#113 <https://github.com/aio-libs/aioredis/issues/113>`_
-  and `#115 <https://github.com/aio-libs/aioredis/issues/115>`_);
-
-* Add SSL/TLS support
-  (see  `#116 <https://github.com/aio-libs/aioredis/issues/116>`_);
-
-* ``aioredis.ConnectionClosedError`` raised in ``execute_pubsub`` as well
-  (see `#108 <https://github.com/aio-libs/aioredis/issues/108>`_);
-
-* ``Redis.slaveof()`` method signature changed: now to disable
-  replication one should call ``redis.slaveof(None)`` instead of ``redis.slaveof()``;
-
-* More tests added;
-
-
-0.2.5 (2016-03-02)
-^^^^^^^^^^^^^^^^^^
-
-* Close all Pub/Sub channels on connection close
-  (see `#88 <https://github.com/aio-libs/aioredis/issues/88>`_);
-
-* Add ``iter()`` method to ``aioredis.Channel`` allowing to use it
-  with ``async for``
-  (see `#89 <https://github.com/aio-libs/aioredis/issues/89>`_);
-
-* Inline code samples in docs made runnable and downloadable
-  (see `#92 <https://github.com/aio-libs/aioredis/issues/92>`_);
-
-* Python 3.5 examples converted to use ``async``/``await`` syntax
-  (see `#93 <https://github.com/aio-libs/aioredis/issues/93>`_);
-
-* Fix Multi/Exec to honor encoding parameter
-  (see `#94 <https://github.com/aio-libs/aioredis/issues/94>`_
-  and `#97 <https://github.com/aio-libs/aioredis/issues/97>`_);
-
-* Add debug message in ``create_connection``
-  (see `#90 <https://github.com/aio-libs/aioredis/issues/90>`_);
-
-* Replace ``asyncio.async`` calls with wrapper that respects asyncio version
-  (see `#101 <https://github.com/aio-libs/aioredis/issues/101>`_);
-
-* Use NODELAY option for TCP sockets
-  (see `#105 <https://github.com/aio-libs/aioredis/issues/105>`_);
-
-* New ``aioredis.ConnectionClosedError`` exception added. Raised if
-  connection to Redis server is lost
-  (see `#108 <https://github.com/aio-libs/aioredis/issues/108>`_
-  and `#109 <https://github.com/aio-libs/aioredis/issues/109>`_);
-
-* Fix RedisPool to close and drop connection in subscribe mode on release;
-
-* Fix ``aioredis.util.decode`` to recursively decode list responses;
-
-* More examples added and docs updated;
-
-* Add google groups link to README;
-
-* Bump year in LICENSE and docs;
-
-
-0.2.4 (2015-10-13)
-^^^^^^^^^^^^^^^^^^
-
-* Python 3.5 ``async`` support:
-
-  - New scan commands API (``iscan``, ``izscan``, ``ihscan``);
-
-  - Pool made awaitable (allowing ``with await pool: ...`` and ``async
-    with pool.get() as conn:`` constructs);
-
-* Fixed dropping closed connections from free pool
-  (see `#83 <https://github.com/aio-libs/aioredis/issues/83>`_);
-
-* Docs updated;
-
-
-0.2.3 (2015-08-14)
-^^^^^^^^^^^^^^^^^^
-
-* Redis cluster support work in progress;
-
-* Fixed pool issue causing pool growth over max size & ``acquire`` call hangs
-  (see `#71 <https://github.com/aio-libs/aioredis/issues/71>`_);
-
-* ``info`` server command result parsing implemented;
-
-* Fixed behavior of util functions
-  (see `#70 <https://github.com/aio-libs/aioredis/issues/70>`_);
-
-* ``hstrlen`` command added;
-
-* Few fixes in examples;
-
-* Few fixes in documentation;
-
-
-0.2.2 (2015-07-07)
-^^^^^^^^^^^^^^^^^^
-
-* Decoding data with ``encoding`` parameter now takes into account
-  list (array) replies
-  (see `#68 <https://github.com/aio-libs/aioredis/pull/68>`_);
-
-* ``encoding`` parameter added to following commands:
-
-  - generic commands: keys, randomkey;
-
-  - hash commands: hgetall, hkeys, hmget, hvals;
-
-  - list commands: blpop, brpop, brpoplpush, lindex, lpop, lrange, rpop, rpoplpush;
-
-  - set commands: smembers, spop, srandmember;
-
-  - string commands: getrange, getset, mget;
-
-* Backward incompatibility:
-
-  ``ltrim`` command now returns bool value instead of 'OK';
-
-* Tests updated;
-
-
-0.2.1 (2015-07-06)
-^^^^^^^^^^^^^^^^^^
-
-* Logging added (aioredis.log module);
-
-* Fixed issue with ``wait_message`` in pub/sub
-  (see `#66 <https://github.com/aio-libs/aioredis/issues/66>`_);
-
-
-0.2.0 (2015-06-04)
-^^^^^^^^^^^^^^^^^^
-
-* Pub/Sub support added;
-
-* Fix in ``zrevrangebyscore`` command
-  (see `#62 <https://github.com/aio-libs/aioredis/pull/62>`_);
-
-* Fixes/tests/docs;
-
-
-0.1.5 (2014-12-09)
-^^^^^^^^^^^^^^^^^^
-
-* AutoConnector added;
-
-* wait_closed method added for clean connections shutdown;
-
-* ``zscore`` command fixed;
-
-* Test fixes;
-
-
-0.1.4 (2014-09-22)
-^^^^^^^^^^^^^^^^^^
-
-* Dropped following Redis methods -- ``Redis.multi()``,
-  ``Redis.exec()``, ``Redis.discard()``;
-
-* ``Redis.multi_exec`` hack'ish property removed;
-
-* ``Redis.multi_exec()`` method added;
-
-* High-level commands implemented:
-
-  * generic commands (tests);
-
-  * transactions commands (api stabilization).
-
-* Backward incompatibilities:
-
-  * Following sorted set commands' API changed:
-
-    ``zcount``, ``zrangebyscore``, ``zremrangebyscore``, ``zrevrangebyscore``;
-
-  * set string command' API changed;
-
-
-
-0.1.3 (2014-08-08)
-^^^^^^^^^^^^^^^^^^
-
-* RedisConnection.execute refactored to support commands pipelining
-  (see `#33 <http://github.com/aio-libs/aioredis/issues/33>`_);
-
-* Several fixes;
-
-* WIP on transactions and commands interface;
-
-* High-level commands implemented and tested:
-
-  * hash commands;
-  * hyperloglog commands;
-  * set commands;
-  * scripting commands;
-  * string commands;
-  * list commands;
-
-
-0.1.2 (2014-07-31)
-^^^^^^^^^^^^^^^^^^
-
-* ``create_connection``, ``create_pool``, ``create_redis`` functions updated:
-  db and password arguments made keyword-only
-  (see `#26 <http://github.com/aio-libs/aioredis/issues/26>`_);
-
-* Fixed transaction handling
-  (see `#32 <http://github.com/aio-libs/aioredis/issues/32>`_);
-
-* Response decoding
-  (see `#16 <http://github.com/aio-libs/aioredis/issues/16>`_);
-
-
-0.1.1 (2014-07-07)
-^^^^^^^^^^^^^^^^^^
-
-* Transactions support (in connection, high-level commands have some issues);
-* Docs & tests updated.
-
-
-0.1.0 (2014-06-24)
-^^^^^^^^^^^^^^^^^^
-
-* Initial release;
-* RedisConnection implemented;
-* RedisPool implemented;
-* Docs for RedisConnection & RedisPool;
-* WIP on high-level API.
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 19f4d78..0000000
--- a/Makefile
+++ /dev/null
@@ -1,111 +0,0 @@
-PYTHON ?= python3
-FLAKE ?= flake8
-PYTEST ?= py.test
-
-REDIS_VERSION ?= "$(shell redis-cli INFO SERVER | sed -n 2p)"
-REDIS_TAGS ?= 2.6.17 2.8.22 3.0.7 3.2.8 4.0-rc2
-
-ARCHIVE_URL = https://github.com/antirez/redis/archive
-INSTALL_DIR ?= build
-
-TEST_ARGS ?= "-n 4"
-
-REDIS_TARGETS = $(foreach T,$(REDIS_TAGS),$(INSTALL_DIR)/$T/redis-server)
-
-# Python version and implementation
-PYTHON_IMPL = $(shell $(PYTHON) -c "import sys; print(sys.implementation.name)")
-PYTHON_35 = $(shell $(PYTHON) -c "import sys; print(sys.version_info >= (3, 5))")
-
-ifeq ($(PYTHON_35), True)
-FLAKE_ARGS = aioredis tests examples
-EXAMPLES = $(shell find examples -name "*.py")
-else
-FLAKE_ARGS = --exclude=py35_* aioredis tests examples/py34
-EXAMPLES = $(shell find examples/py34 -name "*.py")
-endif
-
-.PHONY: all flake doc man-doc spelling test cov dist devel clean
-all: aioredis.egg-info flake doc cov
-
-doc: spelling
-	make -C docs html
-man-doc: spelling
-	make -C docs man
-spelling:
-	@echo "Running spelling check"
-	make -C docs spelling
-
-ifeq ($(PYTHON_IMPL), cpython)
-flake:
-	$(FLAKE) $(FLAKE_ARGS)
-else
-flake:
-	@echo "Job is not configured to run on $(PYTHON_IMPL); skipped."
-endif
-
-test:
-	$(PYTEST)
-
-cov coverage:
-	$(PYTEST) --cov
-
-dist: clean man-doc
-	$(PYTHON) setup.py sdist bdist_wheel
-
-clean:
-	-rm -r docs/_build
-	-rm -r build dist aioredis.egg-info
-
-devel: aioredis.egg-info
-	pip install -U pip
-	pip install -U \
-		sphinx \
-		sphinx_rtd_theme \
-		bumpversion \
-		wheel
-	pip install -Ur tests/requirements.txt
-	pip install -Ur docs/requirements.txt
-
-aioredis.egg-info:
-	pip install -Ue .
-
-
-ifdef TRAVIS
-examples: .start-redis $(EXAMPLES)
-else
-examples: $(EXAMPLES)
-endif
-
-$(EXAMPLES):
-	@export REDIS_VERSION="$(redis-cli INFO SERVER | sed -n 2p)"
-	$(PYTHON) $@
-
-.start-redis: $(lastword $(REDIS_TARGETS))
-	$< ./examples/redis.conf
-	$< ./examples/redis-sentinel.conf --sentinel
-	sleep 5s
-	echo "QUIT" | nc localhost 6379
-	echo "QUIT" | nc localhost 26379
-
-.PHONY: $(EXAMPLES)
-
-
-certificate:
-	make -C tests/ssl
-
-ci-test: $(REDIS_TARGETS)
-	@$(call echo, "Tests run")
-	py.test -rsxX --cov \
-		$(foreach T,$(REDIS_TARGETS),--redis-server=$T) $(TEST_ARGS)
-
-ci-test-%: $(INSTALL_DIR)/%/redis-server
-	py.test -rsxX --cov --redis-server=$< $(TEST_ARGS)
-
-ci-build-redis: $(REDIS_TARGETS)
-
-$(INSTALL_DIR)/%/redis-server:
-	@echo "Building redis-$*..."
-	wget -nv -c $(ARCHIVE_URL)/$*.tar.gz -O - | tar -xzC /tmp
-	make -j -C /tmp/redis-$* \
-		INSTALL_BIN=$(abspath $(INSTALL_DIR))/$* install >/dev/null 2>/dev/null
-	@echo "Done building redis-$*"
diff --git a/PKG-INFO b/PKG-INFO
index f4217d7..f09c298 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: aioredis
-Version: 1.0.0b2
+Version: 1.0.0
 Summary: asyncio (PEP 3156) Redis support
 Home-page: https://github.com/aio-libs/aioredis
 Author: Alexey Popravka
 Author-email: alexey.popravka at horsedevel.com
 License: MIT
+Description-Content-Type: UNKNOWN
 Description: aioredis
         ========
         
@@ -35,9 +36,9 @@ Description: aioredis
         Sentinel support                    Yes [1]_
         Redis Cluster support               WIP
         Trollius (python 2.7)               No
-        Tested CPython versions             `3.3, 3.4, 3.5, 3.6 <travis_>`_
-        Tested PyPy3 versions               `5.7.1 <travis_>`_
-        Tested for Redis server             `2.6, 2.8, 3.0, 3.2 <travis_>`_
+        Tested CPython versions             `3.5, 3.6 <travis_>`_ [2]_
+        Tested PyPy3 versions               `5.9.0 <travis_>`_
+        Tested for Redis server             `2.6, 2.8, 3.0, 3.2, 4.0 <travis_>`_
         Support for dev Redis server        through low-level API
         ================================  ==============================
         
@@ -45,6 +46,8 @@ Description: aioredis
         .. [1] Sentinel support is available in master branch.
            This feature is not yet stable and may have some issues.
         
+        .. [2] For Python 3.3, 3.4 support use aioredis v0.3.
+        
         Documentation
         -------------
         
@@ -64,7 +67,7 @@ Description: aioredis
         
             async def go():
                 conn = await aioredis.create_connection(
-                    ('localhost', 6379), loop=loop)
+                    'redis://localhost', loop=loop)
                 await conn.execute('set', 'my-key', 'value')
                 val = await conn.execute('get', 'my-key')
                 print(val)
@@ -84,7 +87,7 @@ Description: aioredis
         
             async def go():
... 19513 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/aioredis.git



More information about the Python-modules-commits mailing list