From 02fe542bde5e3ba57b8471ed58aca3a70ed638f7 Mon Sep 17 00:00:00 2001 From: William Hart Date: Sat, 21 Apr 2018 11:28:08 -0600 Subject: [PATCH 1/4] Attempting to fix Python 3.4 builds --- .appveyor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 76503652d64..632afede3da 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -71,9 +71,11 @@ install: # # Update conda, then force it to NOT update itself again # + # Somehow, the update stalls for Python 3.4, so we're disabling it for now. + # - conda config --set always_yes yes - - conda update -q -y -c anaconda conda - - conda config --set auto_update_conda false + #- conda update -q -y -c anaconda conda + #- conda config --set auto_update_conda false # - "%CONDAFORGE% setuptools pip" - "IF %PYTHON_VERSION%==2.6 (python -m pip install ordereddict)" From 6b0b394745990a3d88f7dee875dc59d7ad929bdb Mon Sep 17 00:00:00 2001 From: William Hart Date: Sat, 21 Apr 2018 11:48:54 -0600 Subject: [PATCH 2/4] Another hack for appveyor --- .appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 632afede3da..b356dff7074 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -74,8 +74,8 @@ install: # Somehow, the update stalls for Python 3.4, so we're disabling it for now. # - conda config --set always_yes yes - #- conda update -q -y -c anaconda conda - #- conda config --set auto_update_conda false + - conda update -q -y conda + - conda config --set auto_update_conda false # - "%CONDAFORGE% setuptools pip" - "IF %PYTHON_VERSION%==2.6 (python -m pip install ordereddict)" From e43834b3c5779b4fedc4f75bc4df514d5ddf5b66 Mon Sep 17 00:00:00 2001 From: William Hart Date: Sat, 21 Apr 2018 20:43:04 -0600 Subject: [PATCH 3/4] Documenting fix. --- CHANGELOG.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9a409c5aa90..3c69ea0cc18 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -6,6 +6,7 @@ Pyomo CHANGELOG Current Development ------------------------------------------------------------------------------- +- Resolved Python 3.4 build errors on Appveyor. - Wrap Vars in value() for assignment to numpy vectors (#436) - Adding TerminationCondition and SolverStatus to pyomo.environ (#429) From 80b529989743163f74a73644e05b6b5aea325f5a Mon Sep 17 00:00:00 2001 From: William Hart Date: Tue, 24 Apr 2018 09:01:11 -0600 Subject: [PATCH 4/4] Updating comment. --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index b356dff7074..b1b66437dc3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -71,7 +71,7 @@ install: # # Update conda, then force it to NOT update itself again # - # Somehow, the update stalls for Python 3.4, so we're disabling it for now. + # Somehow, the update from anaconda stalls for Python 3.4. So we're not specifying the channel here. # - conda config --set always_yes yes - conda update -q -y conda