Skip to content

Commit 32afd9d

Browse files
committed
Ignore package status for validation
We are not using these values anymore
1 parent 6d07626 commit 32afd9d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/validate_package.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ def validate_tarball(filename: str) -> str:
9393
def validate_package(archive_fname: str, pkgdir: str, pkg_name: str) -> None:
9494
pkg_json = metadata(pkg_name)
9595

96-
# validate Status
97-
status = pkg_json["Status"]
98-
if not status in ["accepted", "deposited"]:
99-
warning(f"{pkg_name}: Status is {status}, should be 'accepted' or 'deposited'")
100-
10196
# validate PackageInfoURL (download_to_memory raises an exception if download fails)
10297
data = download_to_memory(pkg_json["PackageInfoURL"])
10398
# We deliberately do not compare the SHA256 of `data` against PackageInfoSHA256

0 commit comments

Comments
 (0)