From 09854b3ccbecd260ff70f3936807f053461b58a4 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 30 Aug 2019 20:52:29 -0500 Subject: [PATCH 1/4] Azure: Tweak some version specs --- azure-pipelines.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c096006..2514b9e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,13 +2,15 @@ jobs: - job: 'Pytest' pool: - vmImage: 'ubuntu-16.04' + vmImage: 'ubuntu-latest' strategy: matrix: Python27: python.version: '2.7' Python36: python.version: '3.6' + Python37: + python.version: '3.7' steps: - @@ -38,7 +40,7 @@ jobs: strategy: matrix: Python36: - python.version: '3.6' + python.version: '3.7' steps: - @@ -61,7 +63,7 @@ jobs: strategy: matrix: Python36: - python.version: '3.6' + python.version: '3.7' steps: - -- GitLab From 37b93ef245af514525ed01c0417234d870f4c95b Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 30 Aug 2019 20:53:25 -0500 Subject: [PATCH 2/4] Azure: Eradicate some more specific Ubuntu version numbers --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2514b9e..b9850f2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -36,7 +36,7 @@ jobs: - job: 'Flake8' pool: - vmImage: 'ubuntu-16.04' + vmImage: 'ubuntu-latest' strategy: matrix: Python36: @@ -59,7 +59,7 @@ jobs: - job: 'Pylint' pool: - vmImage: 'ubuntu-16.04' + vmImage: 'ubuntu-latest' strategy: matrix: Python36: -- GitLab From c8321a19f2b2aa046a8af4f9f342252103558613 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 30 Aug 2019 21:33:17 -0500 Subject: [PATCH 3/4] Fix inaccurate Azure job names --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b9850f2..15053f7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -39,7 +39,7 @@ jobs: vmImage: 'ubuntu-latest' strategy: matrix: - Python36: + Python37: python.version: '3.7' steps: @@ -62,7 +62,7 @@ jobs: vmImage: 'ubuntu-latest' strategy: matrix: - Python36: + Python37: python.version: '3.7' steps: @@ -76,6 +76,6 @@ jobs: set -e EXTRA_INSTALL="pymbolic matplotlib" curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh - . ./prepare-and-run-pylint.sh pytools test/test_*.py + . ./prepare-and-run-pylint.sh islpy test/test_*.py displayName: 'Pylint' -- GitLab From f981cb0f9d59efb9eb3067f4d71e60f2e2a09c33 Mon Sep 17 00:00:00 2001 From: "[6~" Date: Tue, 22 Oct 2019 13:28:46 -0500 Subject: [PATCH 4/4] Decode stderr from UTF-8 in prefork, to avoid \n'd together mess for error messages --- pytools/prefork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytools/prefork.py b/pytools/prefork.py index be388f3..864c168 100644 --- a/pytools/prefork.py +++ b/pytools/prefork.py @@ -53,7 +53,7 @@ class DirectForker(object): if error_on_nonzero and popen.returncode: raise ExecError("status %d invoking '%s': %s" % (popen.returncode, " ".join(cmdline), - stderr_data)) + stderr_data.decode("utf-8", errors="replace"))) return popen.returncode, stdout_data, stderr_data except OSError as e: -- GitLab