Skip to content

Commit

Permalink
Ignore package status for validation
Browse files Browse the repository at this point in the history
We are not using these values anymore
  • Loading branch information
fingolfin committed Mar 13, 2024
1 parent 6d07626 commit 32afd9d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/validate_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ def validate_tarball(filename: str) -> str:
def validate_package(archive_fname: str, pkgdir: str, pkg_name: str) -> None:
pkg_json = metadata(pkg_name)

# validate Status
status = pkg_json["Status"]
if not status in ["accepted", "deposited"]:
warning(f"{pkg_name}: Status is {status}, should be 'accepted' or 'deposited'")

# validate PackageInfoURL (download_to_memory raises an exception if download fails)
data = download_to_memory(pkg_json["PackageInfoURL"])
# We deliberately do not compare the SHA256 of `data` against PackageInfoSHA256
Expand Down

0 comments on commit 32afd9d

Please sign in to comment.