File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ def run(self):
232
232
"python2" : "" ,
233
233
"reports" : "lxml" ,
234
234
"install-types" : "pip" ,
235
+ "faster-cache" : "orjson" ,
235
236
},
236
237
python_requires = ">=3.8" ,
237
238
include_package_data = True ,
Original file line number Diff line number Diff line change @@ -20,15 +20,18 @@ passenv =
20
20
PROGRAMDATA
21
21
PROGRAMFILES(X86)
22
22
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'
24
27
commands = python -m pytest {posargs}
25
28
26
29
[testenv:dev]
27
30
description = generate a DEV environment, that has all project libraries
28
31
usedevelop = True
29
32
deps =
30
- -rtest -requirements.txt
31
- -rdocs /requirements-docs.txt
33
+ -r test -requirements.txt
34
+ -r docs /requirements-docs.txt
32
35
commands =
33
36
python -m pip list --format =columns
34
37
python -c ' import sys; print(sys.executable)'
@@ -38,7 +41,7 @@ commands =
38
41
description = invoke sphinx-build to build the HTML docs
39
42
passenv =
40
43
VERIFY_MYPY_ERROR_CODES
41
- deps = -rdocs /requirements-docs.txt
44
+ deps = -r docs /requirements-docs.txt
42
45
commands =
43
46
sphinx-build -n -d " {toxworkdir}/docs_doctree" docs/source " {toxworkdir}/docs_out" --color -W -bhtml {posargs}
44
47
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