File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818 strategy :
1919 matrix :
20- python-version : ["3.9"]
20+ python-version : ["3.7", "3.8", "3. 9"]
2121
2222 steps :
2323 - uses : " actions/checkout@v2"
Original file line number Diff line number Diff line change 1- appdirs == 1.4.4
2- appnope == 0.1.2
3- asttokens == 2.0.5
4- async-timeout == 3.0.1
5- attrs == 20.3.0
6- backcall == 0.2.0
71black == 20.8b1
8- certifi == 2020.12.5
9- chardet == 4.0.0
10- cheap-repr == 0.4.5
11- click == 7.1.2
12- colorclass == 2.2.0
132coverage == 5.5
14- decorator == 5.0.7
15- distlib == 0.3.1
16- docopt == 0.6.2
17- executing == 0.6.0
183fakeredis == 1.5.0
19- fastapi == 0.63.0
20- filelock == 3.0.12
214flake8 == 3.9.1
22- h11 == 0.12.0
23- hiredis == 2.0.0
24- idna == 2.10
25- iniconfig == 1.1.1
26- ipython == 7.22.0
27- ipython-genutils == 0.2.0
285isort == 5.8.0
29- jedi == 0.18.0
30- mccabe == 0.6.1
31- mypy-extensions == 0.4.3
32- packaging == 20.9
33- parso == 0.8.2
34- pathspec == 0.8.1
35- pexpect == 4.8.0
36- pickleshare == 0.7.5
37- pip-upgrader == 1.4.15
38- pluggy == 0.13.1
39- prompt-toolkit == 3.0.18
40- psutil == 5.8.0
41- ptyprocess == 0.7.0
42- py == 1.10.0
43- pycodestyle == 2.7.0
44- pydantic == 1.8.1
45- pyflakes == 2.3.1
46- Pygments == 2.8.1
47- pyparsing == 2.4.7
486pytest == 6.2.3
497pytest-cov == 2.11.1
508pytest-flake8 == 1.0.7
519pytest-random-order == 1.0.4
52- python-dateutil == 2.8.1
53- redis == 3.5.3
54- regex == 2021.4.4
5510requests == 2.25.1
56- six == 1.15.0
57- snoop == 0.3.0
58- sortedcontainers == 2.3.0
59- starlette == 0.13.6
60- terminaltables == 3.1.0
61- toml == 0.10.2
62- tox == 3.23.0
63- traitlets == 5.0.5
64- typed-ast == 1.4.3
65- typing-extensions == 3.7.4.3
66- urllib3 == 1.26.4
67- uvicorn == 0.13.4
68- virtualenv == 20.4.4
69- wcwidth == 0.2.5
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ addopts =
1212 --verbose
1313 # clear cache before each run
1414 --cache-clear
15- # randomize tests at the package level
16- --random-order-bucket =package
1715norecursedirs =
1816 .git
1917 .pytest_cache
2018 .vscode
2119 venv
20+ build
21+ dist
2222 custom_scripts
2323
2424[flake8]
Original file line number Diff line number Diff line change 2121 "Operating System :: MacOS :: MacOS X" ,
2222 "Operating System :: POSIX :: Linux" ,
2323 "Operating System :: Unix" ,
24+ "Programming Language :: Python :: 3.7" ,
2425 "Programming Language :: Python :: 3.8" ,
2526 "Programming Language :: Python :: 3.9" ,
2627 "Programming Language :: Python :: 3 :: Only" ,
3132 "python-dateutil" ,
3233 "redis" ,
3334]
35+ DEV_REQUIRES = [
36+ "black" ,
37+ "coverage" ,
38+ "fakeredis" ,
39+ "flake8" ,
40+ "isort" ,
41+ "pytest" ,
42+ "pytest-cov" ,
43+ "pytest-flake8" ,
44+ "pytest-random-order" ,
45+ "requests" ,
46+ ]
3447
3548exec (open (str (APP_ROOT / "src/fastapi_redis_cache/version.py" )).read ())
3649setup (
4962 packages = find_packages (where = "src" ),
5063 package_dir = {"" : "src" },
5164 include_package_data = True ,
52- python_requires = ">=3.8 " ,
65+ python_requires = ">=3.7 " ,
5366 classifiers = CLASSIFIERS ,
5467 install_requires = INSTALL_REQUIRES ,
68+ extras_require = {"dev" : DEV_REQUIRES },
5569)
Original file line number Diff line number Diff line change 11# flake8: noqa
2- __version_info__ = ("0" , "1 " , "4 " ) # pragma: no cover
2+ __version_info__ = ("0" , "2 " , "0 " ) # pragma: no cover
33__version__ = "." .join (__version_info__ ) # pragma: no cover
Original file line number Diff line number Diff line change 11[tox]
2- minversion = 3.6 .0
3- envlist = py39
2+ minversion = 3.7 .0
3+ envlist = py37, py38, py39
44isolated_build =True
55
66[gh-actions]
77python =
8+ 3.7: py37
9+ 3.8: py38
810 3.9: py39
911
1012[testenv]
1719 pytest
1820 pytest-cov
1921 pytest-flake8
20- pytest-mock
2122 pytest-random-order
2223 requests
2324
You can’t perform that action at this time.
0 commit comments