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 @@ -20,15 +20,18 @@ passenv =
2020 PROGRAMDATA
2121 PROGRAMFILES(X86)
2222 PYTEST_ADDOPTS
23- deps = -rtest-requirements.txt
23+ deps =
24+ -r test-requirements.txt
25+ # This is a bit of a hack, but ensures the faster-cache path is tested in CI
26+ orjson; python_version=='3.12'
2427commands = python -m pytest {posargs}
2528
2629[testenv:dev]
2730description = generate a DEV environment, that has all project libraries
2831usedevelop = True
2932deps =
30- -rtest -requirements.txt
31- -rdocs /requirements-docs.txt
33+ -r test -requirements.txt
34+ -r docs /requirements-docs.txt
3235commands =
3336 python -m pip list --format =columns
3437 python -c ' import sys; print(sys.executable)'
@@ -38,7 +41,7 @@ commands =
3841description = invoke sphinx-build to build the HTML docs
3942passenv =
4043 VERIFY_MYPY_ERROR_CODES
41- deps = -rdocs /requirements-docs.txt
44+ deps = -r docs /requirements-docs.txt
4245commands =
4346 sphinx-build -n -d " {toxworkdir}/docs_doctree" docs/source " {toxworkdir}/docs_out" --color -W -bhtml {posargs}
4447 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