| 1 |
From: Stefano Rivera <[email protected]> |
| 2 |
Date: Fri, 11 Aug 2023 17:54:07 +0200 |
| 3 |
Subject: Support tox 4 |
| 4 |
|
| 5 |
External commands need to be listed in allowlist_externals. We can |
| 6 |
trivially drive pytest without executing an external command. |
| 7 |
|
| 8 |
Forwarded: https://github.com/RDFLib/rdflib-sqlalchemy/pull/102 |
| 9 |
Bug-Debian: https://bugs.debian.org/1042917 |
| 10 |
--- |
| 11 |
tox.ini | 2 +- |
| 12 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 |
|
| 14 |
diff --git a/tox.ini b/tox.ini |
| 15 |
index 01a6e87..2a72915 100644 |
| 16 |
--- a/tox.ini |
| 17 |
+++ b/tox.ini |
| 18 |
@@ -6,7 +6,7 @@ envlist = |
| 19 |
passenv = DB,DBURI |
| 20 |
commands = |
| 21 |
{envpython} setup.py clean --all |
| 22 |
- pytest --cov=rdflib_sqlalchemy |
| 23 |
+ {envpython} -m pytest --cov=rdflib_sqlalchemy |
| 24 |
|
| 25 |
deps = |
| 26 |
pytest>=3.4.0 |