Skip to content

Commit

Permalink
Appveyor: Cleaned up cygwin 32-bit envs
Browse files Browse the repository at this point in the history
Details:

* Updated notes in appveyor.yml why 32-bit cygwin with Python 2.7 does
  not work. Most recent symptom is that M2Crypto does not install with
  raising:

  OSError: Unknown format of swig -version output.

* Changed order of 32-bit vs 64-bit cygwin envs in appveyor.yml.

Note that tox.ini was already in sync with appveyor.yml.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
  • Loading branch information
andy-maier committed Jun 21, 2020
1 parent 94cc8eb commit c21ad59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ environment:

# Note: On CygWin with Python 3.x, LC_ALL/LANG need to be set to utf-8 for Click to install/work

# TODO: Disabled because python2.7 with cygwin 32-bit fails with:
# "virtualenv is not compatible with this system or executable"
# Note: The 32-bit version of CygWin fails with Python 2.7 and has therefore
# been disabled. There have been different symptoms over time, including:
# - "virtualenv is not compatible with this system or executable".
# - M2Crypto installation raises "OSError: Unknown format of swig -version output"
# - TOX_ENV: cygwin32_py27
# UNIX_PATH: C:\cygwin\bin
# PYTHON_CMD: python2.7
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -167,26 +167,26 @@ basepython = python2.7
platform = cygwin
basepython = python2.7

[testenv:cygwin64_py36]
[testenv:cygwin32_py36]
platform = cygwin
basepython = python3.6

[testenv:cygwin32_py36]
[testenv:cygwin64_py36]
platform = cygwin
basepython = python3.6

[testenv:cygwin64_py37]
[testenv:cygwin32_py37]
platform = cygwin
basepython = python3.7

[testenv:cygwin32_py37]
[testenv:cygwin64_py37]
platform = cygwin
basepython = python3.7

[testenv:cygwin64_py38]
[testenv:cygwin32_py38]
platform = cygwin
basepython = python3.8

[testenv:cygwin32_py38]
[testenv:cygwin64_py38]
platform = cygwin
basepython = python3.8

0 comments on commit c21ad59

Please sign in to comment.