[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 22 Apr 2020 13:45:43 +0000

Nathan Hartman wrote on Wed, 22 Apr 2020 13:18 +00:00:
> Please check for accuracy:
>
> (I haven't tested this myself -- haven't reached this point yet in my
> Windows setup!)
>

I don't have a Windows build either, but a few suggested edits:

> [[[
>
> When using Python 3.6 or higher on Windows, the test suite fails to
> run because of changes in Python's implementation of console I/O.
>

Quote the error message here for greppability?

> Several workarounds are available:
>
> Either:
>
> * Use Python 2.7, or Python 3.5 or below, or
>

Suggest to s/3.5/3.5.x/ to make it clear that 3.5.x with x>0 are fine.

> * Run the test suite with the --log-to-stdout command line argument,
> or
>
> * Set the PYTHONLEGACYWINDOWSSTDIO environment variable before running
> the test suite, or

s/variable/variable to a non-empty string/

(reference: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO)

> * Apply r1876707 and r[insert number here] and run the test suite.
>
> This problem is (expected to be) fixed in 1.14.1.
>
> ]]]
Received on 2020-04-22 15:46:08 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.