Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2018 03:08:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 227862] devel/py-tox: update to 3.0.0
Message-ID:  <bug-227862-21822-gzQyeaIp6e@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227862-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227862-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227862

--- Comment #5 from Kubilay Kocak <koobs@FreeBSD.org> ---
(In reply to Kai from comment #4)

testport -i is different to -I so may produce different results, but the te=
st
target for ports already installs build/run depends and has them installed =
at
that point, so theoretically the behaviour shouldn't be different.

The issue with tox is that is creates a virtualenv that doesn't inherit from
system site-packages by default, so those environments cant see the modules
that were installed by ports (poudriere), and so tox tries to install them.

I tried to make tox allow (enable) --sitepackages, but saw a different set =
of
test failures in that case, which is why I switched it back to using bare
pytest (which is what tox calls anyway).

Warnings, all else being equal, either imply dependencies in setup.py
(*_requires) are incorrect/incomplete and need to be fixed, but in this cas=
e i
dont believe that's the cause.

My current thought is that maybe since pluggy (etc) are *run time*
dependencies, but building docs (with sphinx) is a *build* time activity,
that's whats producing the warnings. That would imply pluggy (if it is inde=
ed
required to build docs), should be a setup_requires, at least conditionally=
 in
the setup.py build docs target. However, I'm guessing its not actually
required, but instead the warnings are an artifact of something else.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227862-21822-gzQyeaIp6e>