Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into fix-aesara
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Aug 19, 2022
2 parents 97aea90 + 033290c commit 494e496
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions recipe/gen_patch_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,19 @@ def _gen_new_index_per_key(repodata, subdir, index_key):
record.setdefault('constrains', []).extend((
"chardet >=3.0.2,<5",
))

# jaxlib was built with grpc-cpp 1.46.4 that
# was only available at abseil-cpp 20220623.0
# and thus it needs to be explicitily constrained
# no grpc-cpp fix can fix this retro
# fixed in https://github.com/conda-forge/jaxlib-feedstock/pull/133
if record_name == "jaxlib" and (
pkg_resources.parse_version(record["version"]) ==
pkg_resources.parse_version("0.3.15") and
record["build_number"] == 0
):
record["depends"].append("abseil-cpp ==20220623.0")

# Different patch versions of ipopt can be ABI incompatible
# See https://github.com/conda-forge/ipopt-feedstock/issues/85
if has_dep(record, "ipopt") and record.get('timestamp', 0) < 1656352053694:
Expand All @@ -1745,6 +1758,11 @@ def _gen_new_index_per_key(repodata, subdir, index_key):
if dep_name == "importlib_metadata" and ">=" not in dep:
record["depends"][i] = "importlib_metadata >=3.6"

# Pin NSIS on constructor
# https://github.com/conda/constructor/issues/526
if record_name == "constructor" and record.get("timestamp", 0) <= 1658913358571:
_replace_pin("nsis >=3.01", "nsis 3.01", record["depends"], record)

if (record_name == "grpcio-status" and
record["version"] == "1.48.0" and
record["build_number"] == 0):
Expand Down

0 comments on commit 494e496

Please sign in to comment.