Skip to content

Commit

Permalink
Added a DynamoDb backend to contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
ajenkinski committed Apr 19, 2022
1 parent 7944b57 commit 01c6abb
Show file tree
Hide file tree
Showing 9 changed files with 285 additions and 34 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
- {name: Linux, python: '3.9', os: ubuntu-latest, tox: py39}
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
- {name: '3.6', python: '3.6', os: ubuntu-latest, tox: py36}
- {name: 'PyPy', python: pypy3, os: ubuntu-latest, tox: pypy3}
- {name: 'PyPy', python: pypy-3.7, os: ubuntu-latest, tox: pypy37}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.25.0
rev: v2.32.0
hooks:
- id: pyupgrade
args: ["--py36-plus"]
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.6.0
rev: v3.0.1
hooks:
- id: reorder-python-imports
args: ["--application-directories", "src"]
- repo: https://github.com/psf/black
rev: 21.8b0
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear
- flake8-implicit-str-concat
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.2.0
hooks:
- id: fix-byte-order-marker
- id: trailing-whitespace
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Version 1.2.0

Unreleased

- cachelib is now used as backend. PR `#308 <https://github.com/pallets-eco/flask-caching/pull/308>`_.
- Cachelib is now used as backend. PR `#308 <https://github.com/pallets-eco/flask-caching/pull/308>`_.
- Drop support for python 3.6
- A ``DynamoDbCache`` backend has been add to the user contributed backends.


Version 1.10.1
Expand Down
24 changes: 11 additions & 13 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
#
alabaster==0.7.12
# via sphinx
async-timeout==4.0.2
# via redis
attrs==21.4.0
# via pytest
babel==2.9.1
# via sphinx
cachelib==0.6.0
# via -r tests.in
certifi==2021.10.8
backports-entry-points-selectable==1.1.0
# via requests
cfgv==3.3.1
# via pre-commit
Expand All @@ -27,24 +28,22 @@ deprecated==1.2.13
# via redis
distlib==0.3.4
# via virtualenv
docutils==0.16
docutils==0.17.1
# via
# sphinx
# sphinx-tabs
filelock==3.4.2
# via
# tox
# virtualenv
flask==2.0.3
flask==2.1.1
# via -r tests.in
identify==2.4.4
# via pre-commit
idna==3.3
# via requests
imagesize==1.3.0
# via sphinx
importlib-metadata==4.10.1
# via sphinx
iniconfig==1.1.1
# via pytest
itsdangerous==2.0.1
Expand Down Expand Up @@ -92,7 +91,7 @@ pylibmc==1.6.1
# via -r tests.in
pyparsing==3.0.6
# via packaging
pytest==6.2.5
pytest==7.1.1
# via
# -r tests.in
# pytest-xprocess
Expand All @@ -102,7 +101,7 @@ pytz==2021.3
# via babel
pyyaml==6.0
# via pre-commit
redis==4.1.1
redis==4.2.1
# via -r tests.in
requests==2.27.1
# via sphinx
Expand All @@ -112,7 +111,7 @@ six==1.16.0
# virtualenv
snowballstemmer==2.2.0
# via sphinx
sphinx==4.4.0
sphinx==4.5.0
# via
# -r docs.in
# pallets-sphinx-themes
Expand All @@ -121,7 +120,7 @@ sphinx==4.4.0
# sphinxcontrib-log-cabinet
sphinx-issues==3.0.1
# via -r docs.in
sphinx-tabs==3.2.0
sphinx-tabs==3.3.1
# via -r docs.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
Expand All @@ -140,10 +139,11 @@ sphinxcontrib-serializinghtml==1.1.5
toml==0.10.2
# via
# pre-commit
# pytest
# tox
tomli==2.0.0
# via pep517
# via
# pep517
# pytest
tox==3.24.5
# via -r dev.in
urllib3==1.26.8
Expand All @@ -158,8 +158,6 @@ wheel==0.37.1
# via pip-tools
wrapt==1.13.3
# via deprecated
zipp==3.7.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
10 changes: 3 additions & 7 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ certifi==2021.10.8
# via requests
charset-normalizer==2.0.10
# via requests
docutils==0.16
docutils==0.17.1
# via
# sphinx
# sphinx-tabs
idna==3.3
# via requests
imagesize==1.3.0
# via sphinx
importlib-metadata==4.10.1
# via sphinx
jinja2==3.0.3
# via sphinx
markupsafe==2.0.1
Expand All @@ -44,7 +42,7 @@ requests==2.27.1
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==4.4.0
sphinx==4.5.0
# via
# -r docs.in
# pallets-sphinx-themes
Expand All @@ -53,7 +51,7 @@ sphinx==4.4.0
# sphinxcontrib-log-cabinet
sphinx-issues==3.0.1
# via -r docs.in
sphinx-tabs==3.2.0
sphinx-tabs==3.3.1
# via -r docs.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
Expand All @@ -71,5 +69,3 @@ sphinxcontrib-serializinghtml==1.1.5
# via sphinx
urllib3==1.26.8
# via requests
zipp==3.7.0
# via importlib-metadata
10 changes: 6 additions & 4 deletions requirements/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# pip-compile tests.in
#
async-timeout==4.0.2
# via redis
attrs==21.4.0
# via pytest
cachelib==0.6.0
Expand All @@ -12,7 +14,7 @@ click==8.0.3
# via flask
deprecated==1.2.13
# via redis
flask==2.0.3
flask==2.1.1
# via -r tests.in
iniconfig==1.1.1
# via pytest
Expand All @@ -36,15 +38,15 @@ pylibmc==1.6.1
# via -r tests.in
pyparsing==3.0.6
# via packaging
pytest==6.2.5
pytest==7.1.1
# via
# -r tests.in
# pytest-xprocess
pytest-xprocess==0.18.1
# via -r tests.in
redis==4.1.1
redis==4.2.1
# via -r tests.in
toml==0.10.2
tomli==2.0.1
# via pytest
werkzeug==2.0.2
# via flask
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers =
packages = find:
package_dir = = src
include_package_data = true
python_requires = >= 3.6
python_requires = >= 3.7
# Dependencies are in setup.py for GitHub's dependency graph.

[options.packages.find]
Expand Down
Loading

0 comments on commit 01c6abb

Please sign in to comment.