From 156025a2b6f984c29148df2b9fa72ed21af09ce2 Mon Sep 17 00:00:00 2001 From: Salvatore Mesoraca Date: Wed, 12 Jun 2024 17:42:50 +0200 Subject: [PATCH 1/2] Fix URLs after valkey-io adoption Signed-off-by: Salvatore Mesoraca --- README.md | 12 ++++++------ setup.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5ae96f50..c6414933 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@ The Python interface to the Valkey key-value store. -[![CI](https://github.com/aiven-sal/valkey-py/workflows/CI/badge.svg?branch=main)](https://github.com/aiven-sal/valkey-py/actions?query=workflow%3ACI+branch%3Amain) +[![CI](https://github.com/valkey-io/valkey-py/workflows/CI/badge.svg)](https://github.com/valkey-io/valkey-py/actions?query=workflow%3ACI+branch%3Amain) [![docs](https://readthedocs.org/projects/valkey-py/badge/?version=latest&style=flat)](https://valkey-py.readthedocs.io/en/latest/) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![pypi](https://badge.fury.io/py/valkey.svg)](https://pypi.org/project/valkey/) -[![pre-release](https://img.shields.io/github/v/release/aiven-sal/valkey-py?include_prereleases&label=latest-prerelease)](https://github.com/aiven-sal/valkey-py/releases) -[![codecov](https://codecov.io/gh/aiven-sal/valkey-py/branch/main/graph/badge.svg?token=yenl5fzxxr)](https://codecov.io/gh/aiven-sal/valkey-py) +[![pre-release](https://img.shields.io/github/v/release/valkey-io/valkey-py?include_prereleases&label=latest-prerelease)](https://github.com/valkey-io/valkey-py/releases) +[![codecov](https://codecov.io/gh/valkey-io/valkey-py/branch/main/graph/badge.svg?token=yenl5fzxxr)](https://codecov.io/gh/valkey-io/valkey-py) -[Installation](#installation) | [Usage](#usage) | [Advanced Topics](#advanced-topics) | [Contributing](https://github.com/aiven-sal/valkey-py/blob/main/CONTRIBUTING.md) +[Installation](#installation) | [Usage](#usage) | [Advanced Topics](#advanced-topics) | [Contributing](https://github.com/valkey-io/valkey-py/blob/main/CONTRIBUTING.md) --------------------------------------------- @@ -71,7 +71,7 @@ Alternatively, you might want to look at [Async connections](https://valkey-py.r ### Valkey Commands -There is built-in support for all of the [out-of-the-box Valkey commands](https://valkey.io/commands). They are exposed using the raw Redis command names (`HSET`, `HGETALL`, etc.) except where a word (i.e. del) is reserved by the language. The complete set of commands can be found [here](https://github.com/aiven-sal/valkey-py/tree/main/valkey/commands), or [the documentation](https://valkey-py.readthedocs.io/en/stable/commands.html). +There is built-in support for all of the [out-of-the-box Valkey commands](https://valkey.io/commands). They are exposed using the raw Redis command names (`HSET`, `HGETALL`, etc.) except where a word (i.e. del) is reserved by the language. The complete set of commands can be found [here](https://github.com/valkey-io/valkey-py/tree/main/valkey/commands), or [the documentation](https://valkey-py.readthedocs.io/en/stable/commands.html). ## Advanced Topics @@ -127,7 +127,7 @@ The following example shows how to utilize [Valkey Pub/Sub](https://redis.io/doc ### Author valkey-py can be found [here]( -https://github.com/aiven-sal/valkey-py), or downloaded from [pypi](https://pypi.org/project/valkey/). +https://github.com/valkey-io/valkey-py), or downloaded from [pypi](https://pypi.org/project/valkey/). It was created as a fork of [redis-py](https://github.com/redis/redis-py) Special thanks to: diff --git a/setup.py b/setup.py index 4c0f9039..e6e25520 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ "Code": "https://github.com/valkey-io/valkey-py", "Issue tracker": "https://github.com/valkey-io/valkey-py/issues", }, - author="placeholder", + author="valkey-py authors", author_email="placeholder@valkey.io", python_requires=">=3.8", install_requires=[ From 136bb1311f8f23bfae381ee876c1bff21b1da5be Mon Sep 17 00:00:00 2001 From: Salvatore Mesoraca Date: Wed, 12 Jun 2024 18:13:31 +0200 Subject: [PATCH 2/2] Fix remaining references to redis-py Signed-off-by: Salvatore Mesoraca --- README.md | 2 +- tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c6414933..52611038 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ The above code connects to localhost on port 6379, sets a value in Redis, and re #### RESP3 Support -To enable support for RESP3, ensure you have at least version 5.0 of the client, and change your connection object to include *protocol=3* +To enable support for RESP3 change your connection object to include *protocol=3* ``` python >>> import valkey diff --git a/tasks.py b/tasks.py index 1175bcdd..b3b89f69 100644 --- a/tasks.py +++ b/tasks.py @@ -46,7 +46,7 @@ def tests(c, uvloop=False, protocol=2): """Run the valkey-py test suite against the current python, with and without hiredis. """ - print("Starting Redis tests") + print("Starting Valkey tests") standalone_tests(c, uvloop=uvloop, protocol=protocol) cluster_tests(c, uvloop=uvloop, protocol=protocol)