FS#61525 - [translate-toolkit] Broken by outdated dependency upstream
Attached to Project:
Community Packages
Opened by Alex Shpilkin (alex.shpilkin) - Thursday, 24 January 2019, 20:16 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Saturday, 02 November 2019, 19:25 GMT
Opened by Alex Shpilkin (alex.shpilkin) - Thursday, 24 January 2019, 20:16 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Saturday, 02 November 2019, 19:25 GMT
|
Details
Description:
The requirements.txt file from upstream lists a dependency on diff-match-patch==20121119; meanwhile, Arch packages diff-match-patch 20181111. This makes any utility from this package refuse to work, throwing pkg_resources.DistributionNotFound due to version mismatch. To make the utilities work, one would need to either ship an old version of diff-match-patch as well, or patch out the strict dependency. Note that the [relevant file][1] gives some sort of compatibility issue as motivation for this dependency---it might not be relevant to us, I’m not sure. In any case, it’s either ship a separate (and incompatible?) diff-match-patch, patch this out, or drop the package. [1]: https://github.com/translate/translate/blob/master/requirements/required.txt Additional info: * Using latest [community]: translate-toolkit 2.3.1-1 and python-diff-match-patch 20181111-1. Steps to reproduce: * Install community/translate-toolkit * Try to launch po2csv * Observe the error |
This task depends upon
Closed by Jaroslav Lichtblau (Dragonlord)
Saturday, 02 November 2019, 19:25 GMT
Reason for closing: Upstream
Additional comments about closing: Upstream fixed it.
Saturday, 02 November 2019, 19:25 GMT
Reason for closing: Upstream
Additional comments about closing: Upstream fixed it.
FS#61109. As I mentioned in there, this is fixed in translate-toolkit 2.4.0