Skip to content

Commit

Permalink
[redis] Don't recommend uninstalling types-redis (#10694)
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Sep 12, 2023
1 parent 66771da commit c31e12f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion stubs/redis/METADATA.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ 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
obsolete_since = "5.0.0" # Released on 2023-08-15
# 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.\
"""

[tool.stubtest]
ignore_missing_stub = true
Expand Down

0 comments on commit c31e12f

Please sign in to comment.