Currently, devel/py-pytest RUN_DEPENDS on devel/py-py, which in turn lists devel/py-pytest as its TEST_DEPENDS. This creates circular dependency in environments when both RUN and TEST dependencies are attempted to install (e.g. in a tinderbox), breaking unattended builds of all ports that depend on these ports (like sysutils/qzeitgeist) and just does not look good in general.
Any news here?
I'll take a very good look at both project dependencies, but I am almost completely sure both dependencies are absolutely correct and necessary, in that pytest literally uses py library code and py uses pytest specific test suite & tests.
The dependencies are correct. But we have to unregister either RUN_DEPENDS from py-pytest or TEST_DEPENDS from py-py to avoid circular dependency. I plan to remove TEST_DEPENDS from py-py to avoid circular dependency.
A commit references this bug: Author: sunpoet Date: Thu Feb 22 19:51:25 UTC 2018 New revision: 462637 URL: https://svnweb.freebsd.org/changeset/ports/462637 Log: Remove TEST_DEPENDS to avoid circular dependency PR: 220284 Reported by: danfe Changes: head/devel/py-py/Makefile
Committed. Thanks!
(In reply to Sunpoet Po-Chuan Hsieh from comment #3) > The dependencies are correct. > But we have to unregister either RUN_DEPENDS from py-pytest or TEST_DEPENDS > from py-py to avoid circular dependency. > I plan to remove TEST_DEPENDS from py-py to avoid circular dependency. Where is the cyclic dependency you are fixing? I don't think any change to either port is proper. Really there is no cyclic dependency if you consider the whole picture. Reading comment #0 I see: py-pytest needs py-py installed to run. py-py needs py-pytest installed to *test*. No cyclic dependency present. The real problem here is tinderbox (and is why Poudriere has not yet implemented 'make test'). Tinderbox needs to do 2 passes, build everything, then test everything. So the bug here is in TINDERBOX, not these ports.
A commit references this bug: Author: sunpoet Date: Mon Mar 5 17:15:11 UTC 2018 New revision: 463662 URL: https://svnweb.freebsd.org/changeset/ports/463662 Log: Revert r462637 PR: 220284 Pointed out by: bdrewery Reference: https://lists.freebsd.org/pipermail/svn-ports-all/2018-February/175369.html https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220284#c6 Changes: head/devel/py-py/Makefile
The commit is reverted.
(In reply to Sunpoet Po-Chuan Hsieh from comment #8) > The commit is reverted. Thank you. For the record, I have been working towards getting 'make test' support in Poudriere.