@@ -99,7 +99,7 @@ def build_explicit_req_info(
99
99
{"free-package" : [build_req_info ("free-package" )]},
100
100
[],
101
101
{},
102
- (True , True , math .inf , True , "free-package" ),
102
+ (True , True , True , math .inf , True , "free-package" ),
103
103
),
104
104
# Test case for "direct" preference (explicit URL)
105
105
(
@@ -119,15 +119,15 @@ def build_explicit_req_info(
119
119
},
120
120
[],
121
121
{},
122
- (False , True , False , math .inf , False , "upper-bound-lte-package" ),
122
+ (True , True , False , math .inf , False , "upper-bound-lte-package" ),
123
123
),
124
124
# Upper bounded with < operator
125
125
(
126
126
"upper-bound-lt-package" ,
127
127
{"upper-bound-lt-package" : [build_req_info ("upper-bound-lt-package<2.0" )]},
128
128
[],
129
129
{},
130
- (False , True , False , math .inf , False , "upper-bound-lt-package" ),
130
+ (True , True , False , math .inf , False , "upper-bound-lt-package" ),
131
131
),
132
132
# Upper bounded with ~= operator
133
133
(
@@ -139,15 +139,15 @@ def build_explicit_req_info(
139
139
},
140
140
[],
141
141
{},
142
- (False , True , False , math .inf , False , "upper-bound-compatible-package" ),
142
+ (True , True , False , math .inf , False , "upper-bound-compatible-package" ),
143
143
),
144
144
# Not upper bounded, using only >= operator
145
145
(
146
146
"lower-bound-package" ,
147
147
{"lower-bound-package" : [build_req_info ("lower-bound-package>=1.0" )]},
148
148
[],
149
149
{},
150
- (False , True , True , math .inf , False , "lower-bound-package" ),
150
+ (True , True , True , math .inf , False , "lower-bound-package" ),
151
151
),
152
152
],
153
153
)
0 commit comments