Wine Gecko 2.47.1 is not compatible with Python 2 or 3

Jacek Caban jacek at codeweavers.com
Mon Dec 23 10:47:29 CST 2019


On 12/20/19 6:05 PM, Michael Cronenworth wrote:
> On 12/20/19 10:51 AM, Jacek Caban wrote:
>> Let's not do that. Does the attached patch help? git grep suggests 
>> that that may be a few more usages in the tree, but most of them may 
>> not be relevant to our builds.
>
> It does help get past that usage of dist() but there are other uses of 
> it further on.
>
> ...
>  0:03.26$<2>   File 
> "/builddir/build/BUILD/wine-gecko-2.47.1/wine-gecko-2.47.1/python/virtualenv/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/download.py", 
> line 92, in user_agent
>  0:03.26$<2>     zip(["name", "version", "id"], 
> platform.linux_distribution()),
>  0:03.26$<2> AttributeError: module 'platform' has no attribute 
> 'linux_distribution'
>
> Being inside of a zipped file I'm not sure the best way to patch that 
> one. :(


Does it help if you cherry-pick commit 8812ca17fd5c720fc?


Thanks,

Jacek




More information about the wine-devel mailing list