@@ -96,12 +96,8 @@ def should_update_common_wheels(session: nox.Session) -> bool:
9696 return need_to_repopulate
9797
9898
99- # -----------------------------------------------------------------------------
100- # Development Commands
101- # -----------------------------------------------------------------------------
102- @nox .session (python = ["3.9" , "3.10" , "3.11" , "3.12" , "3.13" , "3.14" , "pypy3" ])
103- def test (session : nox .Session ) -> None :
104- # Get the common wheels.
99+ def get_common_wheels (session : nox .Session ) -> None :
100+ """Build the common wheels needed by tests."""
105101 if should_update_common_wheels (session ):
106102 # fmt: off
107103 run_with_protected_pip (
@@ -115,6 +111,21 @@ def test(session: nox.Session) -> None:
115111 msg = f"Reusing existing common-wheels at { LOCATIONS ['common-wheels' ]} ."
116112 session .log (msg )
117113
114+
115+ # -----------------------------------------------------------------------------
116+ # Development Commands
117+ # -----------------------------------------------------------------------------
118+ @nox .session (name = "common-wheels" )
119+ def common_wheels (session : nox .Session ) -> None :
120+ """Build the common wheels needed by tests."""
121+ get_common_wheels (session )
122+
123+
124+ @nox .session (python = ["3.9" , "3.10" , "3.11" , "3.12" , "3.13" , "3.14" , "pypy3" ])
125+ def test (session : nox .Session ) -> None :
126+ # Get the common wheels.
127+ get_common_wheels (session )
128+
118129 # Build source distribution
119130 # HACK: we want to skip building and installing pip when nox's --no-install
120131 # flag is given (to save time when running tests back to back with different
0 commit comments