Skip to content

Commit

Permalink
Use mockcache3.
Browse files Browse the repository at this point in the history
  • Loading branch information
iurisilvio committed Jan 14, 2023
1 parent 0d01778 commit bbc7b91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ $ pip install django-cache-mock

Also, it is possible to install with the backends you want.

For `mockcache`, it installs a fork of the original package because it doesn´t
work for new versions of Python.
For `mockcache`, it installs [`mockcache3`](https://pypi.org/project/mockcache3/),
a fork from original package because it doesn´t work for new versions of Python.

```shell
$ pip install django-cache-mock[mockcache]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ packages = [{include = "django_cache_mock"}]
[tool.poetry.dependencies]
python = "^3.8"
django = "^3 || ^4"
mockcache = { url = "https://github.com/buserbrasil/mockcache/archive/28fcd581ed185095cc93529954b5fceb704c1a34.zip", optional = true }
mockcache3 = { version = "*", optional = true }
fakeredis = { version = "*", optional = true }
redislite = { version = "*", optional = true }
django-redis = { version = "*", optional = true }
Expand All @@ -23,7 +23,7 @@ pytest-flake8 = "^1.1.1"
pytest-isort = "^3.1.0"

[tool.poetry.extras]
mockcache = ["mockcache"]
mockcache = ["mockcache3"]
fakeredis = ["fakeredis"]
redislite = ["redislite"]
django-redis = ["django-redis"]
Expand Down

0 comments on commit bbc7b91

Please sign in to comment.