From a2ca5cb9a8b9ab7f4e2531ce13c93412ef934120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=2E=20Armando=20Sol=C3=A9?= Date: Mon, 14 Dec 2020 17:13:05 +0100 Subject: [PATCH 1/3] Get rid of MacOS compilation errors under python 3.8 --- src/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h b/src/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h index d87659d0..4bfde10f 100644 --- a/src/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h +++ b/src/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h @@ -3,6 +3,10 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ +#ifndef _WIN32 + #include +#endif + #ifdef _LARGEFILE64_SOURCE # ifndef _LARGEFILE_SOURCE # define _LARGEFILE_SOURCE 1 From 5f063483aea6a7252aa868df78f7421ee1d8ef76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=2E=20Armando=20Sol=C3=A9?= Date: Mon, 14 Dec 2020 17:14:04 +0100 Subject: [PATCH 2/3] Enable MacOS testing. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61b7535f..e9ee8ee0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,11 +42,11 @@ jobs: BUILD_COMMAND: sdist H5PY_OLDER_VERSION: 2.9.0 - #- name-suffix: "bdist_wheel-h5py_2.9.0" - # os: macos-latest - # python-version: 3.8 - # BUILD_COMMAND: bdist_wheel - # H5PY_OLDER_VERSION: 2.9.0 + - name-suffix: "bdist_wheel-h5py_2.9.0" + os: macos-latest + python-version: 3.8 + BUILD_COMMAND: bdist_wheel + H5PY_OLDER_VERSION: 2.9.0 # Steps represent a sequence of tasks that will be executed as part of the job steps: From 5e547d59c696428a6da4ea83ff7c7b71ab494c94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=2E=20Armando=20Sol=C3=A9?= Date: Mon, 14 Dec 2020 17:23:30 +0100 Subject: [PATCH 3/3] 2.9.0 is not available as python 3.8 wheel for MacOS --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9ee8ee0..d0eea9ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,11 +42,11 @@ jobs: BUILD_COMMAND: sdist H5PY_OLDER_VERSION: 2.9.0 - - name-suffix: "bdist_wheel-h5py_2.9.0" + - name-suffix: "bdist_wheel-h5py_2.10.0" os: macos-latest python-version: 3.8 BUILD_COMMAND: bdist_wheel - H5PY_OLDER_VERSION: 2.9.0 + H5PY_OLDER_VERSION: 2.10.0 # Steps represent a sequence of tasks that will be executed as part of the job steps: