Skip to content

Commit

Permalink
Mark redis as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Jul 25, 2024
1 parent 0b1d358 commit 1309ae6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions stubs/redis/METADATA.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@ upstream_repository = "https://github.com/redis/redis-py"
# Requires a version of cryptography with a `py.typed` file
requires = ["cryptography>=35.0.0", "types-pyOpenSSL"]
partial_stub = true
# While upstream added a py.typed file, the upstream annotations are rather
# incomplete. By using "obsolete_since" we recommend deinstalling this
# package, which isn't the best idea at the moment.
# obsolete_since = "5.0.0" # Released on 2023-08-15
extra_description = """\
Note: Redis-py 5.0.0 added a py.typed file, but the inline annotations \
are incomplete. Continuing to use `types-redis` for the time being may \
lead to superior results.\
"""
obsolete_since = "5.0.0" # Released on 2023-08-15, marked obsolete 2024-07-25

[tool.stubtest]
ignore_missing_stub = true
Expand Down

0 comments on commit 1309ae6

Please sign in to comment.