@@ -13,7 +13,7 @@ dynamic = ["version"]
1313description = " Sphinx plugin for documentation of Rust projects."
1414authors = [{ name = " Chris Sewell" , email = " chrisj_sewell@hotmail.com" }]
1515readme = " README.md"
16- requires-python = " >=3.8 "
16+ requires-python = " >=3.9 "
1717license = { file = " LICENSE" }
1818keywords = [
1919 " sphinx" ,
@@ -26,7 +26,6 @@ classifiers = [
2626 " License :: OSI Approved :: MIT License" ,
2727 " Operating System :: OS Independent" ,
2828 " Programming Language :: Python" ,
29- " Programming Language :: Python :: 3.8" ,
3029 " Programming Language :: Python :: 3.9" ,
3130 " Programming Language :: Python :: 3.10" ,
3231 " Programming Language :: Python :: 3.11" ,
@@ -47,9 +46,12 @@ Documentation = "http://sphinx-rust.readthedocs.io"
4746
4847[project .optional-dependencies ]
4948dev = [
50- " pytest" ,
5149 " ipython"
5250]
51+ test = [
52+ " pytest" ,
53+ " defusedxml" ,
54+ ]
5355docs = [
5456 " furo" ,
5557 " myst-parser" ,
@@ -111,6 +113,16 @@ allowlist_externals = bash
111113commands_pre = bash -c "unset CONDA_PREFIX; maturin develop"
112114commands = {posargs:ipython}
113115
116+ [testenv:test-{py39,py310,py311,py312}]
117+ extras = test
118+ passenv = TERM
119+ ; ensure that the compilation is up-to-date
120+ ; There is an issue with mixing maturin with tox-conda, raising:
121+ ; Both VIRTUAL_ENV and CONDA_PREFIX are set. Please unset one of them
122+ allowlist_externals = bash
123+ commands_pre = bash -c "unset CONDA_PREFIX; maturin develop"
124+ commands = pytest {posargs}
125+
114126[testenv:docs]
115127extras = docs
116128passenv = TERM
0 commit comments