Skip to content

Commit

Permalink
Temporary disable including sha256 in nightly packages (#6213)
Browse files Browse the repository at this point in the history
This to be reverted on Jan 24, 2025

To fix following failure:
https://github.com/pytorch/pytorch/actions/runs/12926060185/job/36048291540#step:4:124

Caused by: pytorch/pytorch#144887 and
#6172
  • Loading branch information
atalman authored Jan 23, 2025
1 parent db284c6 commit d1c921e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions s3_management/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,14 @@ def to_simple_package_html(
out.append(' <body>')
out.append(' <h1>Links for {}</h1>'.format(package_name.lower().replace("_", "-")))
for obj in sorted(self.gen_file_list(subdir, package_name)):

maybe_fragment = f"#sha256={obj.checksum}" if obj.checksum else ""

# Temporary skip assigning sha256 to nightly index
# to be reverted on Jan 24, 2025.
if subdir is not None and "nightly" in subdir:
maybe_fragment = ""

pep658_attribute = ""
if obj.pep658:
pep658_sha = f"sha256={obj.pep658}"
Expand Down

0 comments on commit d1c921e

Please sign in to comment.