diff options
author | laixintao <laixintaoo@gmail.com> | 2024-04-15 17:04:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 17:04:57 +0800 |
commit | 69dfcfe2edb734e87ccaf974bf9da0f3457a3d3c (patch) | |
tree | 992713be665cbd4a497906e3b886265cdaa335a0 | |
parent | 499769aaaf154d589a51277eb91ea98c258b9516 (diff) | |
parent | 4089dd330c8d9e907f1b6fb95437d70eafa43cea (diff) |
Merge pull request #483 from deronnax/add-python-3.12-support
Add python 3.12 support
-rw-r--r-- | .github/workflows/test.yaml | 2 | ||||
-rw-r--r-- | iredis/commands.py | 2 | ||||
-rw-r--r-- | pyproject.toml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index feedaa5..6fb30ca 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-20.04"] - python: ["3.8", "3.9", "3.10", "3.11.1"] + python: ["3.8", "3.9", "3.10", "3.11.1", "3.12"] redis: [5, 6, 7, 7.2] runs-on: ${{ matrix.os }} diff --git a/iredis/commands.py b/iredis/commands.py index 3580cdb..481fc74 100644 --- a/iredis/commands.py +++ b/iredis/commands.py @@ -115,7 +115,7 @@ def split_command_args(command): command = command.strip() for command_name in all_commands: - # for command that is paritaly input, like `command in`, we should + # for command that is partially input, like `command in`, we should # match with `command info`, otherwise, `command in` will result in # `command` with `args` is ('in') which is an invalid case. normalized_input_command = " ".join(command.split()).upper() diff --git a/pyproject.toml b/pyproject.toml index adede4b..7b20d3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - # "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.12", "Topic :: Database", "License :: OSI Approved :: MIT License", "Intended Audience :: Developers", |