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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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.
Comment by Alex Shpilkin (alex.shpilkin) - Thursday, 24 January 2019, 20:19 GMT
Now that I look at this, it should probably be Severity: High (main functionality doesn’t work), but I can’t edit the task anymore. Sorry.
Comment by Rafael Fontenelle (josephg) - Thursday, 31 October 2019, 11:24 GMT
Duplicated of  FS#61109 . As I mentioned in there, this is fixed in translate-toolkit 2.4.0
Comment by Alex Shpilkin (alex.shpilkin) - Thursday, 31 October 2019, 13:11 GMT
I confirm that I can no longer reproduce this bug with translate-toolkit 2.4.0-1.

Loading...