Get rid of the warning "WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration." by declaring "passenv=PYTHONPATH" according to the tox documentation.
> PYTHONPATH will be passed down if explicitly defined. If PYTHONPATH exists in the host environment but is not declared in passenv a warning will be emitted.
See https://tox.readthedocs.io/en/latest/config.html?highlight=passenv#conf-passenv.
Signed-off-by: Volker Theile <vtheile@suse.com>
{[base]deps}
{[base-test]deps}
-rrequirements-extra.txt
+passenv =
+ PYTHONPATH
setenv =
CFLAGS = -DXMLSEC_NO_SIZE_T
PYTHONUNBUFFERED=1
deps =
{[base]deps}
{[base-test]deps}
+passenv =
+ PYTHONPATH
setenv =
UNITTEST = true
PYTHONPATH=$PYTHONPATH:..