From ca0fd8893453a8c13ef8cd8ecb8fe0da1a87b811 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Fri, 25 Jul 2025 11:53:23 -0700 Subject: [PATCH] chore: clean up temporary test scripts --- check_pyzmq_wheels.py | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 check_pyzmq_wheels.py diff --git a/check_pyzmq_wheels.py b/check_pyzmq_wheels.py deleted file mode 100644 index 6b84a6c..0000000 --- a/check_pyzmq_wheels.py +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env python3 -"""Check which pyzmq versions have manylinux2014 wheels available.""" - -import json -import urllib.request - - -def check_pyzmq_wheels(): - url = "https://pypi.org/pypi/pyzmq/json" - with urllib.request.urlopen(url) as response: - data = json.loads(response.read()) - - versions_with_manylinux2014 = {} - - for version, releases in data["releases"].items(): - manylinux_wheels = [] - for release in releases: - filename = release["filename"] - if "manylinux2014" in filename or "manylinux_2_17" in filename: - if "cp310" in filename: # Python 3.10 - manylinux_wheels.append(filename) - - if manylinux_wheels: - versions_with_manylinux2014[version] = manylinux_wheels - - # Sort versions - from packaging.version import parse - - sorted_versions = sorted( - versions_with_manylinux2014.keys(), key=parse, reverse=True - ) - - print("PyZMQ versions with manylinux2014 wheels for Python 3.10:") - for version in sorted_versions[:10]: # Show top 10 - print(f" {version}") - for wheel in versions_with_manylinux2014[version]: - print(f" - {wheel}") - - -if __name__ == "__main__": - check_pyzmq_wheels()