@@ -99,7 +99,7 @@ def build_explicit_req_info(
9999 {"free-package" : [build_req_info ("free-package" )]},
100100 [],
101101 {},
102- (True , True , math .inf , True , "free-package" ),
102+ (True , True , True , math .inf , True , "free-package" ),
103103 ),
104104 # Test case for "direct" preference (explicit URL)
105105 (
@@ -119,15 +119,15 @@ def build_explicit_req_info(
119119 },
120120 [],
121121 {},
122- (False , True , False , math .inf , False , "upper-bound-lte-package" ),
122+ (True , True , False , math .inf , False , "upper-bound-lte-package" ),
123123 ),
124124 # Upper bounded with < operator
125125 (
126126 "upper-bound-lt-package" ,
127127 {"upper-bound-lt-package" : [build_req_info ("upper-bound-lt-package<2.0" )]},
128128 [],
129129 {},
130- (False , True , False , math .inf , False , "upper-bound-lt-package" ),
130+ (True , True , False , math .inf , False , "upper-bound-lt-package" ),
131131 ),
132132 # Upper bounded with ~= operator
133133 (
@@ -139,15 +139,15 @@ def build_explicit_req_info(
139139 },
140140 [],
141141 {},
142- (False , True , False , math .inf , False , "upper-bound-compatible-package" ),
142+ (True , True , False , math .inf , False , "upper-bound-compatible-package" ),
143143 ),
144144 # Not upper bounded, using only >= operator
145145 (
146146 "lower-bound-package" ,
147147 {"lower-bound-package" : [build_req_info ("lower-bound-package>=1.0" )]},
148148 [],
149149 {},
150- (False , True , True , math .inf , False , "lower-bound-package" ),
150+ (True , True , True , math .inf , False , "lower-bound-package" ),
151151 ),
152152 ],
153153)
0 commit comments