[Bug 51918] wine-gecko 2.47.2 fails to build on host systems with python 3.10

WineHQ Bugzilla wine-bugs at winehq.org
Sun Nov 14 14:25:15 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=51918

--- Comment #4 from Patrick <patrick+winehq.org at laimbock.com> ---
Created attachment 71046
  --> https://bugs.winehq.org/attachment.cgi?id=71046
More py3.10 fixes

More py3.10 fixes in virtualenv.py

Replaced some tabs with spaces.

- if sysconfig._get_default_scheme() == 'posix_local':
+ if sysconfig.get_default_scheme() == 'posix_local':

And a fix for an assertion due to an incorrect version test: sys.version[:3]
gives 3.1 with python 3.10.

- assert os.path.basename(lib_dir) == 'python%s' % sys.version[:3], (
+ assert os.path.basename(lib_dir) == 'python%s.%s' % (sys.version_info[0],
sys.version_info[1]), (

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list