From 9e66417e852783a4a1da4df0e11deae4d16fee86 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 7 Jan 2021 19:21:42 +0100 Subject: [PATCH 1/4] Run CI for mac on 3.9 --- .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 daa10fea7..7b0418a11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: strategy: matrix: os: [ macos-latest ] - python-version: [3.7, 3.8] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 @@ -146,7 +146,7 @@ jobs: run: | cd build_helpers && ./install_ta-lib.sh ${HOME}/dependencies/; cd .. - - name: Installation - *nix + - name: Installation - macOS run: | python -m pip install --upgrade pip export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH From 54ab61d18a717a3e00b57ae8acdbc60d698f37f9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 7 Jan 2021 19:27:35 +0100 Subject: [PATCH 2/4] Install hdf5 via brew --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b0418a11..41ac0770d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,6 +148,7 @@ jobs: - name: Installation - macOS run: | + brew install hdf5 python -m pip install --upgrade pip export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH export TA_LIBRARY_PATH=${HOME}/dependencies/lib From 124cb5c5bff02a536da3529e05742fa353a87cb5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 7 Jan 2021 19:36:50 +0100 Subject: [PATCH 3/4] Add cblosc brew dependency --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41ac0770d..961dfef71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,7 +148,7 @@ jobs: - name: Installation - macOS run: | - brew install hdf5 + brew install hdf5 c-blosc python -m pip install --upgrade pip export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH export TA_LIBRARY_PATH=${HOME}/dependencies/lib From 2e7faa782c7980d0a49d56ebb8c8d08399e0100c Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 8 Jan 2021 06:51:37 +0100 Subject: [PATCH 4/4] Add documentation section for macOS installation error on 3.999999999 --- docs/installation.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index 73e791c56..a23399441 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -245,6 +245,19 @@ open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10 If this file is inexistent, then you're probably on a different version of MacOS, so you may need to consult the internet for specific resolution details. +### MacOS installation error with python 3.9 + +When using python 3.9 on macOS, it's currently necessary to install some os-level modules to allow dependencies to compile. +The errors you'll see happen during installation and are related to the installation of `tables` or `blosc`. + +You can install the necessary libraries with the following command: + +``` bash +brew install hdf5 c-blosc +``` + +After this, please run the installation (script) again. + ----- Now you have an environment ready, the next step is