Commit 6399269
committed
Prevent duplicated package versions
The function get_versions_for_package_from_repo might return
duplicated package versions in case the specified version is present
both as wheel and as sdist package.
Duplicated entries cause the package resolution to take longer.
The new behavior is that the package version is considered if the
package is present as either whel or sdist package.
Signed-off-by: Stefano Bennati <stefano.bennati@here.com>1 parent a5891f4 commit 6399269
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| 370 | + | |
| 371 | + | |
370 | 372 | | |
371 | | - | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
377 | | - | |
378 | | - | |
379 | 378 | | |
380 | | - | |
| 379 | + | |
381 | 380 | | |
382 | | - | |
383 | | - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
0 commit comments