conda-forge/conda-forge-repodata-patches-feedstock

wrong patch for xz from #316

beckermr opened this issue · 0 comments

It appears that in PR #316 we may have had a small typo

We currently have:

if any(dep.startswith("pango >=1.48") for dep in deps):
    _pin_looser(fn, record, "pango", max_pin="x")
if any(dep.startswith("pango >=5.2") for dep in deps):
    _pin_looser(fn, record, "xz", max_pin="x")

and I think it should read

if any(dep.startswith("pango >=1.48") for dep in deps):
    _pin_looser(fn, record, "pango", max_pin="x")
if any(dep.startswith("xz >=5.2") for dep in deps):
    _pin_looser(fn, record, "xz", max_pin="x")

I suspect this because

  • pango's highest version is 1.50.*
  • xz has a version 5.2
  • pango is one line above and so it looks like a minor copy-paste error

cc @conda-forge/core