[ovs-git] [openvswitch/ovs] 73ac79: python-windows: Update python3 environment variabl...

GitHub noreply at github.com
Mon Apr 16 20:10:43 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 73ac791f11b3398af6e9bc3ce5a9fbb2027ca7f8
      https://github.com/openvswitch/ovs/commit/73ac791f11b3398af6e9bc3ce5a9fbb2027ca7f8
  Author: Alin Gabriel Serdean <aserdean at ovn.org>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M tests/atlocal.in

  Log Message:
  -----------
  python-windows: Update python3 environment variables on Windows

Starting from Python 3.6 two new environment variables have been introduced
on Windows:
PYTHONLEGACYWINDOWSFSENCODING
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSFSENCODING
PYTHONLEGACYWINDOWSSTDIO
https://docs.python.org/3/using/cmdline.html#envvar-PYTHONLEGACYWINDOWSSTDIO

To keep backwards compatibility when running tests under Windows we define and
set the two variables thus ensuring default filesystem encoding (mbcs).

Fixes tests on Python version >=3.6:
2030: simple idl, writing via IDL with unicode - Python3
2032: simple idl, writing via IDL with unicode - Python3 - register_columns
2034: simple idl, writing via IDL with unicode - Python3 - tcp

Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
Co-authored-by: Alin Balutoiu <abalutoiu at cloudbasesolutions.com>
Signed-off-by: Alin Balutoiu <abalutoiu at cloudbasesolutions.com>
Acked-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list