File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ def run(self):
232232 "python2" : "" ,
233233 "reports" : "lxml" ,
234234 "install-types" : "pip" ,
235+ "faster-cache" : "orjson" ,
235236 },
236237 python_requires = ">=3.8" ,
237238 include_package_data = True ,
Original file line number Diff line number Diff line change @@ -19,15 +19,18 @@ passenv =
1919 PROGRAMDATA
2020 PROGRAMFILES(X86)
2121 PYTEST_ADDOPTS
22- deps = -rtest-requirements.txt
22+ deps =
23+ -r test-requirements.txt
24+ # This is a bit of a hack, but ensures the faster-cache path is tested in CI
25+ orjson; python_version=='3.12'
2326commands = python -m pytest {posargs}
2427
2528[testenv:dev]
2629description = generate a DEV environment, that has all project libraries
2730usedevelop = True
2831deps =
29- -rtest -requirements.txt
30- -rdocs /requirements-docs.txt
32+ -r test -requirements.txt
33+ -r docs /requirements-docs.txt
3134commands =
3235 python -m pip list --format =columns
3336 python -c ' import sys; print(sys.executable)'
@@ -37,7 +40,7 @@ commands =
3740description = invoke sphinx-build to build the HTML docs
3841passenv =
3942 VERIFY_MYPY_ERROR_CODES
40- deps = -rdocs /requirements-docs.txt
43+ deps = -r docs /requirements-docs.txt
4144commands =
4245 sphinx-build -n -d " {toxworkdir}/docs_doctree" docs/source " {toxworkdir}/docs_out" --color -W -bhtml {posargs}
4346 python -c ' import pathlib; print("documentation available under file://\{ 0\} ".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'
You can’t perform that action at this time.
0 commit comments