Skip to content

Commit d1c921e

Browse files
authored
Temporary disable including sha256 in nightly packages (#6213)
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
1 parent db284c6 commit d1c921e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

s3_management/manage.py

+7
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,14 @@ def to_simple_package_html(
381381
out.append(' <body>')
382382
out.append(' <h1>Links for {}</h1>'.format(package_name.lower().replace("_", "-")))
383383
for obj in sorted(self.gen_file_list(subdir, package_name)):
384+
384385
maybe_fragment = f"#sha256={obj.checksum}" if obj.checksum else ""
386+
387+
# Temporary skip assigning sha256 to nightly index
388+
# to be reverted on Jan 24, 2025.
389+
if subdir is not None and "nightly" in subdir:
390+
maybe_fragment = ""
391+
385392
pep658_attribute = ""
386393
if obj.pep658:
387394
pep658_sha = f"sha256={obj.pep658}"

0 commit comments

Comments
 (0)