Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary disable including sha256 in nightly packages #6213

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading