Summary: | devel/py-pytest and devel/py-py: circular dependency | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Alexey Dokuchaev <danfe> |
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | bdrewery, w.schwarzenfeld |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(python) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Alexey Dokuchaev
2017-06-26 12:23:54 UTC
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. |