[MacPorts] #62277: Port rdeps --full, circular dependency

MacPorts noreply at macports.org
Sat Feb 13 01:42:50 UTC 2021


#62277: Port rdeps --full, circular dependency
--------------------------+----------------------------------------
 Reporter:  Dave-Allured  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Low           |  Milestone:
Component:  base          |    Version:  2.6.4
 Keywords:                |       Port:  py38-attrs py38-hypothesis
--------------------------+----------------------------------------
 Here is a fun little puzzle for a cold Friday night.  I can't tell if this
 is a base bug or a port bug.  Current base 2.6.4, fresh build, fresh
 selfupdate, no ports installed.  This makes an infinite loop with console
 spewage:
 {{{
 port rdeps --full py38-attrs
 }}}
 py38-attrs @20.3.0_0 \\
 py38-hypothesis @5.48.0_0 \\
 macOS 10.14.5 18F132 \\
 Xcode 10.2.1 10E1001

 There is a circular dependency py38-attrs --> py38-hypothesis -->
 py38-attrs.  However, I am confused because py38-hypothesis is only a
 **test** dependency of py38-attrs, not a **build** or **library**
 dependency.  This does not loop unless `--full` is included.

 So which one is this?
 * Test dependency does not matter.  It is still a circular dependency, and
 one of the ports has a bug.
 * Test dependency is allowed to be circular.  It is a bug in `port rdeps`.
 * Don't care because nobody should ever run `port rdeps --full`.
 Your thoughts?

-- 
Ticket URL: <https://trac.macports.org/ticket/62277>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list