[MacPorts] #62277: py-attrs @20.3.0: Circular dependency (was: Port rdeps --full, circular dependency)

MacPorts noreply at macports.org
Sat Apr 17 18:45:53 UTC 2021


#62277: py-attrs @20.3.0: Circular dependency
---------------------------------------------+----------------------------
  Reporter:  Dave-Allured                    |      Owner:  kurthindenburg
      Type:  defect                          |     Status:  assigned
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:  2.6.4
Resolution:                                  |   Keywords:
      Port:  py-attrs py38-attrs py39-attrs  |
---------------------------------------------+----------------------------
Changes (by Dave-Allured):

 * port:  py-attrs py-hypothesis => py-attrs py38-attrs py39-attrs


Old description:

> 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?

New description:

 New summary:

 py-attrs --> py-hypothesis --> py-attrs\\
 Via **test dependency** py-attrs --> py-hypothesis\\
 Causes infinite loop in `port rdeps --full py-attrs`

 Old summary:

 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?

--

Comment:

 Including subports in port list, to make this ticket visible on subport
 status pages on ports.macports.org.

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


More information about the macports-tickets mailing list