Skip to content

Commit

Permalink
Try flushing print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sapols committed Jan 23, 2024
1 parent 4f6ee6e commit 2e4a085
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ def pipeline_should_run(packages_to_ignore=['cdflib', 'geospacelab', 'heliopy',
all_packages = get_core_pyhc_packages() + get_other_pyhc_packages()
updates = check_for_package_updates(requirements_file_path, all_packages, packages_to_ignore)
if updates:
print("Updates required for the following PyHC packages:")
print("Updates required for the following PyHC packages:", flush=True)
for package, versions in updates.items():
print(
f"{package}: Current version {versions['current_version']}, Latest version {versions['latest_version']}")
f"{package}: Current version {versions['current_version']}, Latest version {versions['latest_version']}",
flush=True)
return True
else:
print("All PyHC packages are up to date.")
Expand Down

0 comments on commit 2e4a085

Please sign in to comment.