Skip to content

Commit

Permalink
Skip packages without dates.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Aug 29, 2024
1 parent a27c3fc commit 2a5c29c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/check_conda_nightly_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ def check_env(json_path):
f"The following packages are less than {OLD_PACKAGE_THRESHOLD_DAYS} days old:"
)
for package, date in sorted(rapids_package_dates.items()):
if date is None:
continue
date_string = date.strftime("%Y-%m-%d")
status = WARNING if date < today else OKGREEN
print(f"{status} - {package}: {date_string}{ENDC}")
Expand Down

0 comments on commit 2a5c29c

Please sign in to comment.