Skip to content

Commit

Permalink
conda-content-trust is incompatible with cryptography=41.0.0 (#462)
Browse files Browse the repository at this point in the history
* conda-content-trust doesn't work with cryptography 41.0.0

* Update recipe/gen_patch_json.py

Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>

---------

Co-authored-by: jaimergp <jaimergp@users.noreply.github.com>
Co-authored-by: Jannis Leidel <jannis@leidel.info>
  • Loading branch information
3 people authored Jun 6, 2023
1 parent 5c37c95 commit 7f31355
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipe/gen_patch_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -3044,6 +3044,9 @@ def _gen_new_index_per_key(repodata, subdir, index_key):
_replace_pin("werkzeug >=1.0,<3.0", "werkzeug >=1.0,<2.3", record["depends"], record)
record["depends"].remove("importlib-metadata >=1")

if record_name == "conda-content-trust" and record.get("timestamp", 0) < 1685589411000: # 2023-06-01
_replace_pin("cryptography", "cryptography <41.0.0a0", record["depends"], record)

# noarch depfinder packages are broken for python >=3.10
if (
record_name == "depfinder"
Expand Down

0 comments on commit 7f31355

Please sign in to comment.