Opened 4 years ago

Last modified 4 years ago

#62277 assigned defect

Port rdeps --full, circular dependency — at Initial Version

Reported by: Dave-Allured (Dave Allured) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: py-attrs py38-attrs py39-attrs

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?

Change History (0)

Note: See TracTickets for help on using tickets.