[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems running testsuite on Windows with Python 3

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Sun, 19 Apr 2020 14:47:18 +0200

On Sun, Apr 19, 2020 at 10:49 AM Yasuhito FUTATSUKI <futatuki_at_poem.co.jp> wrote:
>
> On 2020/04/19 3:26, Johan Corveleyn wrote:
> > On Fri, Apr 17, 2020 at 11:21 PM Yasuhito FUTATSUKI <futatuki_at_poem.co.jp> wrote:
> >>
> >> On 2020/04/17 5:53, Johan Corveleyn wrote:
> >>
> >>> Running the testsuite with Py 3.8.2 with PYTHONLEGACYWINDOWSSTDIO
> >>> defined in the environment allows it to complete. It results in 68
> >>> FAILS (for ra_local x fsfs). See attached fails.log.
> >>
> >> I hope a part of the problems may fixed by attached patch, however,
> >> I can't see why these test was passed in Python 2.7.
> >
> > Thanks! That fixes two of the tests. These two now pass after applying
> > your patch (so feel free to commit -- I also checked again with Python
> > 2.7 and still all tests successful):
>
> Thank you for testing. I commited it in r1876707.
>
> One more fix.
> > FAIL: blame_tests.py 18: blame_youngest_to_oldest
>
> The patch attached address to this one.

Confirmed! Thanks :-).

Would you also have an idea on how to fix the PYTHONLEGACYWINDOWSSTDIO issue?
I mean: would it ever be possible to run the testsuite without
defining that envvar? Or will that remain necessary?

(see https://stackoverflow.coma/questions/52373180/python-on-windows-handle-invalid-when-redirecting-stdout-writing-to-file)

-- 
Johan
Received on 2020-04-19 14:57:55 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.