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 @@ -19,15 +19,18 @@ passenv =
19
19
PROGRAMDATA
20
20
PROGRAMFILES(X86)
21
21
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'
23
26
commands = python -m pytest {posargs}
24
27
25
28
[testenv:dev]
26
29
description = generate a DEV environment, that has all project libraries
27
30
usedevelop = True
28
31
deps =
29
- -rtest -requirements.txt
30
- -rdocs /requirements-docs.txt
32
+ -r test -requirements.txt
33
+ -r docs /requirements-docs.txt
31
34
commands =
32
35
python -m pip list --format =columns
33
36
python -c ' import sys; print(sys.executable)'
@@ -37,7 +40,7 @@ commands =
37
40
description = invoke sphinx-build to build the HTML docs
38
41
passenv =
39
42
VERIFY_MYPY_ERROR_CODES
40
- deps = -rdocs /requirements-docs.txt
43
+ deps = -r docs /requirements-docs.txt
41
44
commands =
42
45
sphinx-build -n -d " {toxworkdir}/docs_doctree" docs/source " {toxworkdir}/docs_out" --color -W -bhtml {posargs}
43
46
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