diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index eebb3e678b..6695abfe4b 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 with: # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml config-name: release-drafter-config.yml diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index a48781aa84..f739a54242 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -8,7 +8,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Check Spelling - uses: rojopolis/spellcheck-github-actions@0.35.0 + uses: rojopolis/spellcheck-github-actions@0.36.0 with: config_path: .github/spellcheck-settings.yml task_name: Markdown diff --git a/redis/exceptions.py b/redis/exceptions.py index ddb4041da3..8af58cb0db 100644 --- a/redis/exceptions.py +++ b/redis/exceptions.py @@ -82,7 +82,7 @@ class LockError(RedisError, ValueError): # NOTE: For backwards compatibility, this class derives from ValueError. # This was originally chosen to behave like threading.Lock. - def __init__(self, message, lock_name=None): + def __init__(self, message=None, lock_name=None): self.message = message self.lock_name = lock_name diff --git a/setup.py b/setup.py index 8570babbdb..4175faf93a 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ install_requires=[ 'importlib-metadata >= 1.0; python_version < "3.8"', 'typing-extensions; python_version<"3.8"', - 'async-timeout>=4.0.3', + 'async-timeout>=4.0.3; python_full_version<"3.11.3"', ], classifiers=[ "Development Status :: 5 - Production/Stable",