Skip to content

Commit

Permalink
[deploy] Update PyPI assertion to not use more than 20GiB at PyPI (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-goldstein committed Sep 21, 2023
1 parent 45b1c72 commit 13536b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hail/scripts/assert_pypi_has_room.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

print(f'Wheel size: {wheel_size / 1024 / 1024:.0f}MiB. PyPI used storage: {pypi_used_storage / 1024 / 1024:.0f}MiB.')

if wheel_size + pypi_used_storage > 10 * 1024 * 1024 * 1024:
if wheel_size + pypi_used_storage > 20 * 1024 * 1024 * 1024:
print('Insufficient space available at PyPI.')
sys.exit(1)
print('Sufficient space is available at PyPI.')

0 comments on commit 13536b5

Please sign in to comment.