Commit ee5b186
authored
test: Pre-compile common wheels in base test env (#13715)
The test suite disables Python bytecode caching so if we don't
pre-compile the bytecode for coverage, setuptools, and pytest-subket
which are all preinstalled in the test environments, we pay a heavy
import time penalty (e.g., setuptools during a PEP 517 build). pip is
already pre-compiled, FWIW.
This is doubly bad for coverage and pytest-subket since they are
imported on every Python process startup.
Locally, this shaves a full minute from a full test suite run down to
2:45 from 3:45.1 parent e5fd9e4 commit ee5b186
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
| |||
0 commit comments