#71287 closed defect (fixed)
Cyclic dependencies in MacPorts
Reported by: | szhorvat (Szabolcs Horvát) | Owned by: | reneeotten (Renee Otten) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | stromnov (Andrey Stromnov) | |
Port: | py-zipp |
Description
Recently a cyclic dependency was introduced in MacPorts.
py37-importlib-metadata
depends-lib on py37-zipp
py37-zipp
depends-build on py37-setuptools-scm
py37-setuptools-scm
depends-lib on py37-importlib-metadata
This cycle wasn't present a couple of weeks ago (see #71182). It is only present for the py37 subports, not any of the later Python versions.
Change History (9)
comment:1 Changed 2 days ago by szhorvat (Szabolcs Horvát)
comment:2 Changed 2 days ago by jmroot (Joshua Root)
Owner: | set to reneeotten |
---|---|
Port: | py-zipp added |
Status: | new → assigned |
Introduced by [5914783c914e8b726b0b09b4a06297994c55a99d/macports-ports].
comment:3 Changed 2 days ago by reneeotten (Renee Otten)
well, that build dependency is needed for py-zipp
:
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"]
comment:4 Changed 2 days ago by reneeotten (Renee Otten)
oh, sorry... I see it was my mistake indeed :( I added the build dependency unconditionally and it shouldn't be there for older versions. I'll fix this shortly - thanks for reporting it!
comment:5 Changed 2 days ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 2 days ago by szhorvat (Szabolcs Horvát)
We have a remaining cycle after the fixes:
{"py39-build" -> "py39-importlib-metadata", "py39-importlib-metadata" -> "py39-zipp", "py39-zipp" -> "py39-setuptools_scm", "py39-setuptools_scm" -> "py39-build"}
Should the dependency "py39-zipp" -> "py39-setuptools_scm"
continue to exist?
comment:7 Changed 34 hours ago by jmroot (Joshua Root)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Right. See also the comments on the commit.
comment:8 Changed 21 hours ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:9 Changed 21 hours ago by reneeotten (Renee Otten)
okay, well perhaps fixed now. It appears to work for me and I don't get any messages about circular dependencies...
There are two more cycles in the dependency graph, and no more:
A couple of weeks ago the dependency graph was acyclic, so these two are new as well.