FS#48252 - multiple packages can satisfy dependency range restriction
|
Details
In specifying
depends=('dependency>=3' 'dependency<=4') a package writer usually intends to express that pacman should only allow a package to be installed when there is another package present that provides a version of "dependency" between 3 and 5. However, current pacman instead allows both restrictions to be satisfied by different packages, for example, one providing "dependency=2" and another one providing "dependency=5". A test for the expected behavior was already brought up via the mailing list [1] and merged into the repository. When the XFAIL on test/pacman/tests/deprange001.py turns into a PASS, this bug can be considered resolved. [1]: https://lists.archlinux.org/pipermail/pacman-dev/2015-December/020639.html |
This task depends upon