Skip to content

Commit

Permalink
add py3.7 test (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla authored Oct 25, 2024
1 parent d616cb1 commit b4eb93d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ tags:
toc_depth: 2
---

## v2.26.1

### 🐛 Bug Fixes

- Minor fix: using typing_extensions instead of typing for python 3.7 support #341/#343

## v2.26.0

### 🚀 Features
Expand Down
8 changes: 7 additions & 1 deletion fakeredis/_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
import time
import weakref
from collections import defaultdict
from typing import Dict, Tuple, Any, List, Optional, Union, Literal
from typing import Dict, Tuple, Any, List, Optional, Union

try:
from typing import Literal
except ImportError:
from typing_extensions import Literal


from fakeredis._helpers import Database, FakeSelector

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [
{ include = "fakeredis" },
{ include = "LICENSE", to = "fakeredis" },
]
version = "2.26.0"
version = "2.26.1"
description = "Python implementation of redis API, can be used for testing purposes."
readme = "README.md"
keywords = ["redis", "RedisJson", "RedisBloom", "tests", "redis-stack"]
Expand Down

0 comments on commit b4eb93d

Please sign in to comment.