@@ -160,6 +160,8 @@ ignore_missing_imports = true
160160
161161[tool .tox ]
162162requires = [" tox>=4.19" , " pkgconfig" , " cython" , " wheel" , " setuptools_scm" ]
163+ # Important: when adding/removing Python versions here,
164+ # also update the section "Test environments with different FUSE implementations" accordingly.
163165env_list = [" py{310,311,312,313,314}-{none,fuse2,fuse3}" , " docs" , " ruff" , " mypy" , " bandit" ]
164166
165167[tool .tox .env_run_base ]
@@ -171,17 +173,56 @@ pass_env = ["*"] # fakeroot -u needs some env vars
171173[tool .tox .env_pkg_base ]
172174pass_env = [" *" ] # needed by tox4, so env vars are visible for building borg
173175
174- # Environment-specific configurations
175- [tool .tox .env ."py{310,311,312,313,314}-fuse2" ]
176+ # Test environments with different FUSE implementations
177+ [tool .tox .env .py310-none ]
178+
179+ [tool .tox .env .py310-fuse2 ]
176180set_env = {BORG_FUSE_IMPL = " llfuse" }
177- deps = [" -rrequirements.d/development.txt " , " llfuse" ]
181+ extras = [" llfuse" ]
178182
179- [tool .tox .env ."py{310,311,312,313,314} -fuse3" ]
183+ [tool .tox .env .py310 -fuse3 ]
180184set_env = {BORG_FUSE_IMPL = " pyfuse3" }
181- deps = [" -rrequirements.d/development.txt " , " pyfuse3" ]
185+ extras = [" pyfuse3" ]
182186
183- [tool .tox .env ."py{310,311,312,313,314}-none" ]
184- deps = [" -rrequirements.d/development.txt" ]
187+ [tool .tox .env .py311-none ]
188+
189+ [tool .tox .env .py311-fuse2 ]
190+ set_env = {BORG_FUSE_IMPL = " llfuse" }
191+ extras = [" llfuse" ]
192+
193+ [tool .tox .env .py311-fuse3 ]
194+ set_env = {BORG_FUSE_IMPL = " pyfuse3" }
195+ extras = [" pyfuse3" ]
196+
197+ [tool .tox .env .py312-none ]
198+
199+ [tool .tox .env .py312-fuse2 ]
200+ set_env = {BORG_FUSE_IMPL = " llfuse" }
201+ extras = [" llfuse" ]
202+
203+ [tool .tox .env .py312-fuse3 ]
204+ set_env = {BORG_FUSE_IMPL = " pyfuse3" }
205+ extras = [" pyfuse3" ]
206+
207+ [tool .tox .env .py313-none ]
208+
209+ [tool .tox .env .py313-fuse2 ]
210+ set_env = {BORG_FUSE_IMPL = " llfuse" }
211+ extras = [" llfuse" ]
212+
213+ [tool .tox .env .py313-fuse3 ]
214+ set_env = {BORG_FUSE_IMPL = " pyfuse3" }
215+ extras = [" pyfuse3" ]
216+
217+ [tool .tox .env .py314-none ]
218+
219+ [tool .tox .env .py314-fuse2 ]
220+ set_env = {BORG_FUSE_IMPL = " llfuse" }
221+ extras = [" llfuse" ]
222+
223+ [tool .tox .env .py314-fuse3 ]
224+ set_env = {BORG_FUSE_IMPL = " pyfuse3" }
225+ extras = [" pyfuse3" ]
185226
186227[tool .tox .env .ruff ]
187228skip_install = true
0 commit comments