@@ -93,15 +93,15 @@ def __init__(self):
9393 self .allow_dup = False
9494 self .only_dup = False
9595 self .pre = False
96- self .tag_or_range = None
96+ self .tag_or_range = []
9797 self ._expect_tag_or_range = False
9898 self .latest_micro = False
9999 self .report = False
100100
101101 def add_arg (self , arg ):
102102 if arg [:1 ] != "-" :
103103 if self ._expect_tag_or_range :
104- self .tag_or_range = tag_or_range (arg )
104+ self .tag_or_range . append ( tag_or_range (arg ) )
105105 self ._expect_tag_or_range = False
106106 return False
107107 self .target = arg
@@ -158,7 +158,8 @@ def execute(self, versions, context):
158158 if not self .pre and v .is_prerelease :
159159 continue
160160 if self .tag_or_range and not any (
161- self .tag_or_range .satisfied_by (CompanyTag (i ["company" ], t ))
161+ r .satisfied_by (CompanyTag (i ["company" ], t ))
162+ for r in self .tag_or_range
162163 for t in i ["install-for" ]
163164 ):
164165 continue
@@ -257,8 +258,8 @@ def parse_cli(args):
257258 plan_split [3 ].report = True
258259 plan_split [0 ].pre = plan_split [1 ].pre = plan_split [2 ].pre = True
259260 plan_split [0 ].latest_micro = True
260- plan_split [0 ].tag_or_range = tag_or_range (">=3.11.0" )
261- plan_split [1 ].tag_or_range = tag_or_range (">=3.11.0" )
261+ plan_split [0 ].tag_or_range = [ tag_or_range (">=3.11" ), tag_or_range ( ">=3.13t" )]
262+ plan_split [1 ].tag_or_range = [ tag_or_range (">=3.11" ), tag_or_range ( ">=3.13t" )]
262263 elif a == "-i" :
263264 action = ReadFile ()
264265 plan_read .append (action )
0 commit comments