Making PyPI's test suite 81% faster
blog.trailofbits.com | blog | #supply-chain | #open-source | #pypi | #python | #testing | #pytest | #engineering-practice
Summary
Trail of Bits cut PyPI's Warehouse test suite from 163 to 30 seconds via pytest-xdist parallelization, Python 3.12 sys.monitoring coverage, optimized test discovery, and trimmed imports.
- Published
- Collected
--- id: 1401 title: "Making PyPI's test suite 81% faster" source_domain: blog.trailofbits.com source_url: "https://blog.trailofbits.com/2025/05/01/making-pypis-test-suite-81-faster/" published_at: "2025-05-01 13:00" tags: ["supply-chain", "open-source", "pypi", "python", "testing", "pytest", "engineering-practice"] phying_url: "https://phying.com/item/1401" lang: en --- # Making PyPI's test suite 81% faster ## Summary Trail of Bits cut PyPI's Warehouse test suite from 163 to 30 seconds via pytest-xdist parallelization, Python 3.12 sys.monitoring coverage, optimized test discovery, and trimmed imports. ## Intelligence Metadata - **Sources:** blog.trailofbits.com - **Published:** 2025-05-01 13:00 - **Original:** https://blog.trailofbits.com/2025/05/01/making-pypis-test-suite-81-faster/ - **Phying News:** https://phying.com/item/1401