@@ -32,10 +32,7 @@ def create_executions(self, pytest_args: List[str]) -> List[PytestExecution]:
3232 processed_args = self .process_arguments (pytest_args )
3333
3434 # Check if we need two-phase execution
35- if self ._should_use_two_phase_execution (processed_args ):
36- processed_args = self ._ensure_generate_all_formats_for_tarball (processed_args )
37- return self ._create_two_phase_executions (processed_args )
38- elif "--use-pre-alloc-groups" in processed_args :
35+ if "--use-pre-alloc-groups" in processed_args :
3936 # Only phase 2: using existing pre-allocation groups
4037 return self ._create_single_phase_with_pre_alloc_groups (processed_args )
4138 else :
@@ -47,27 +44,6 @@ def create_executions(self, pytest_args: List[str]) -> List[PytestExecution]:
4744 )
4845 ]
4946
50- def _create_two_phase_executions (self , args : List [str ]) -> List [PytestExecution ]:
51- """Create two-phase execution: pre-allocation group generation + fixture filling."""
52- # Phase 1: Pre-allocation group generation (clean and minimal output)
53- phase1_args = self ._create_phase1_args (args )
54-
55- # Phase 2: Main fixture generation (full user options)
56- phase2_args = self ._create_phase2_args (args )
57-
58- return [
59- PytestExecution (
60- config_file = self .config_path ,
61- args = phase1_args ,
62- description = "generating pre-allocation groups" ,
63- ),
64- PytestExecution (
65- config_file = self .config_path ,
66- args = phase2_args ,
67- description = "filling test fixtures" ,
68- ),
69- ]
70-
7147 def _create_single_phase_with_pre_alloc_groups (self , args : List [str ]) -> List [PytestExecution ]:
7248 """Create single execution using existing pre-allocation groups."""
7349 return [
@@ -155,12 +131,6 @@ def _should_use_two_phase_execution(self, args: List[str]) -> bool:
155131 or self ._is_tarball_output (args )
156132 )
157133
158- def _ensure_generate_all_formats_for_tarball (self , args : List [str ]) -> List [str ]:
159- """Auto-add --generate-all-formats for tarball output."""
160- if self ._is_tarball_output (args ) and "--generate-all-formats" not in args :
161- return args + ["--generate-all-formats" ]
162- return args
163-
164134 def _is_tarball_output (self , args : List [str ]) -> bool :
165135 """Check if output argument specifies a tarball (.tar.gz) path."""
166136 from pathlib import Path
0 commit comments