]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix tox warning about PYTHONPATH 37414/head
authorVolker Theile <vtheile@suse.com>
Thu, 1 Oct 2020 13:14:08 +0000 (15:14 +0200)
committerVolker Theile <vtheile@suse.com>
Thu, 1 Oct 2020 13:14:08 +0000 (15:14 +0200)
commitd8af8b83b9a91ceb5ccaa78df789248059be92ce
treef88c29eee960d2fac6f2cdae658468b4564a4efb
parent0c3f9480a5673ab6eb3a0e60b0fae9665dbfe700
mgr/dashboard: Fix tox warning about PYTHONPATH

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>
src/pybind/mgr/dashboard/tox.ini