Skip to content

Commit

Permalink
Fix warn to warnings in conda-lock w/o vendored deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zklaus committed Jun 11, 2024
1 parent 53ab722 commit b0a50b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda_lock/conda_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ def _get_repodata_record(
with open(record) as f:
repodata: FetchAction = json.load(f)
return repodata
logger.warn(
logger.warning(
f"Failed to find repodata_record.json for {dist_name}. "
f"Retrying in 0.1 seconds ({retry}/{NUM_RETRIES})"
)
time.sleep(0.1)
logger.warn(f"Failed to find repodata_record.json for {dist_name}. Giving up.")
logger.warning(f"Failed to find repodata_record.json for {dist_name}. Giving up.")
return None


Expand Down

0 comments on commit b0a50b1

Please sign in to comment.