Wine Gecko 2.47.1 is not compatible with Python 2 or 3

Jacek Caban jacek at codeweavers.com
Fri Dec 20 10:51:55 CST 2019


On 12/19/19 11:53 PM, Michael Cronenworth wrote:
> On 12/19/19 4:37 PM, Jacek Caban wrote:
>>
>> This code path is taken only when linux_distribution() is not 
>> available and, according to documentation, it should be available 
>> since version 2.6. Please look at why it's not available. 
>
> Python 3.8 removes dist() and linux_distribution(). Fedora 32+ will 
> use Python 3.8.
>
> https://bugs.python.org/issue28167


So if we'd like to support all Python version, we'd need a third branch 
using the distro package and hope it will work for at least a few 
years... Great job, Python.


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.


Jacek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191220/7b13b340/attachment.bin>


More information about the wine-devel mailing list