From d8673e920174084d0f39aac638db6140f06c97cc Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 5 Aug 2021 08:56:02 +1000 Subject: [PATCH] ci: fix pidiff since introduction of pubtools dep A dependency of (pubtools-pulplib => pubtools) was recently introduced. This appears to break pidiff's handling of this library. Previously, in a venv with pubtools-pulplib installed, "pubtools" would be the root module for pubtools-pulplib code (only). Now it is the root namespace sharing code for both "pubtools-pulplib" and "pubtools", and pidiff can't automatically tell the difference. It can be fixed by explicitly telling the tool which module should be checked. {posargs} were also added so that one can run e.g. "tox -e pidiff -- -vv" for debugging purposes. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8f063835..71c53324 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ commands= [testenv:pidiff] deps=pidiff skip_install=true -commands=pidiff pubtools-pulplib . +commands=pidiff pubtools-pulplib . pubtools.pulplib {posargs} [testenv:cov] deps=