Python 3 support

2016-05-12 Thread Stefan Fuhrmann
Hi all, Under Linux, /trunk has now support for running our test suite with Python 3. I tested various parameter combinations, ra layers as well as backends and I call it quits. On Windows, Python 3 will not work b/c win-tests.py has not been adapted. Furthermore, there are fundamental issues wi

Re: svn commit: r1743183 - in /subversion/trunk/subversion/tests/cmdline: svnrdump_tests.py svntest/actions.py svntest/main.py svntest/sandbox.py svntest/verify.py svntest/wc.py

2016-05-12 Thread Stefan Fuhrmann
On 10.05.2016 17:26, Evgeny Kotkov wrote: Stefan Fuhrmann writes: * subversion/tests/cmdline/svntest/actions.py (run_and_verify_dump): If we accept any output, "None" is the better option as it works with both Python versions. [...] exit_code, output, errput

Re: svn commit: r1743217 - in /subversion/trunk/subversion/tests/cmdline: svnadmin_tests.py svntest/main.py

2016-05-12 Thread Stefan Fuhrmann
On 10.05.2016 17:59, Evgeny Kotkov wrote: Stefan Fuhrmann writes: (patch_format, is_sharded): The format file is easiest handled as plain text. [...] format_path = os.path.join(repo_dir, "db", "format") - contents = open(format_path, 'rb').read() + contents = open(format_path,

Re: svn commit: r1743236 - in /subversion/trunk/subversion/tests/cmdline: merge_tests.py svntest/actions.py svntest/tree.py

2016-05-12 Thread Stefan Fuhrmann
On 12.05.2016 23:49, Evgeny Kotkov wrote: Stefan Fuhrmann writes: * subversion/tests/cmdline/svntest/actions.py (set_prop): If we write a bytes string to a prop, treat it as binary that can't be passed directly via command line argument. [...] - if value and (value[0] ==

Re: svn commit: r1743591 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Branko Čibej
On 13.05.2016 04:19, stef...@apache.org wrote: > Author: stefan2 > Date: Fri May 13 02:19:12 2016 > New Revision: 1743591 > > URL: http://svn.apache.org/viewvc?rev=1743591&view=rev > Log: > Make our test runner locale independent in Python 3. > > Running our test suite with autodavcheck will change

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Stefan Fuhrmann
On 12.05.2016 22:20, Branko Čibej wrote: On 12.05.2016 22:05, stef...@apache.org wrote: Author: stefan2 Date: Thu May 12 20:05:38 2016 New Revision: 1743556 URL: http://svn.apache.org/viewvc?rev=1743556&view=rev Log: Get the Python 3 tests running without the GLOBAL_SCHEDULER option. * build/r

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Stefan Fuhrmann
On 13.05.2016 00:00, Evgeny Kotkov wrote: Stefan Fuhrmann writes: TestHarness._run_test): The log is binary data, so write byte strings to it. [...] if self.opts.list_tests: - log.write('LISTING: %s\n' % progbase) + log.write(('LISTING: %s\n

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Branko Čibej
On 13.05.2016 00:00, Evgeny Kotkov wrote: > Stefan Fuhrmann writes: > >>TestHarness._run_test): The log is binary data, so write byte strings >> to it. > [...] > >> if self.opts.list_tests: >> - log.write('LISTING: %s\n' % progbase) >> + log.write(('

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Evgeny Kotkov
Stefan Fuhrmann writes: >TestHarness._run_test): The log is binary data, so write byte strings > to it. [...] > if self.opts.list_tests: > - log.write('LISTING: %s\n' % progbase) > + log.write(('LISTING: %s\n' % progbase).encode()) > else: >

Re: svn commit: r1743550 - in /subversion/trunk: build/ contrib/server-side/ tools/client-side/ tools/dev/benchmarks/RepoPerf/ tools/dev/benchmarks/suite1/ tools/dist/

2016-05-12 Thread James McCoy
On Thu, May 12, 2016 at 07:42:36PM -, stef...@apache.org wrote: > Author: stefan2 > Date: Thu May 12 19:42:36 2016 > New Revision: 1743550 > > URL: http://svn.apache.org/viewvc?rev=1743550&view=rev > Log: > Fix the usage of empty line print() under Python 2. > … > Modified: subversion/trunk/b

Re: svn commit: r1743236 - in /subversion/trunk/subversion/tests/cmdline: merge_tests.py svntest/actions.py svntest/tree.py

2016-05-12 Thread Evgeny Kotkov
Stefan Fuhrmann writes: > * subversion/tests/cmdline/svntest/actions.py > (set_prop): If we write a bytes string to a prop, treat it as binary > that can't be passed directly via command line argument. [...] > - if value and (value[0] == '-' or '\x00' in value or sys.platform =

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Branko Čibej
On 12.05.2016 22:05, stef...@apache.org wrote: > Author: stefan2 > Date: Thu May 12 20:05:38 2016 > New Revision: 1743556 > > URL: http://svn.apache.org/viewvc?rev=1743556&view=rev > Log: > Get the Python 3 tests running without the GLOBAL_SCHEDULER option. > > * build/run_tests.py > (TestHarness

Re: [PATCH] Troubleshooting section for release template

2016-05-12 Thread Stefan Hett
On 5/12/2016 8:47 AM, Branko Čibej wrote: On 12.05.2016 02:27, Stefan wrote: Hi, the idea of adding a troubleshooting section to release notes was discussed shortly on IRC a few days ago between brane and myself (Bert was following the discussion too) in light of a user who ran into problems du