From ebcab2af7ff9788d959de21865e22e15267ec7ff Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Wed, 2 Aug 2023 15:29:16 -0400 Subject: [PATCH] update version. tweak the test (install cython 3.0 for non-x64) --- .github/workflows/build-and-test-MACS3-non-x64.yml | 1 + MACS3/Utilities/Constants.py | 2 +- conda/macs3/meta.yaml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test-MACS3-non-x64.yml b/.github/workflows/build-and-test-MACS3-non-x64.yml index d3db164..314f1db 100644 --- a/.github/workflows/build-and-test-MACS3-non-x64.yml +++ b/.github/workflows/build-and-test-MACS3-non-x64.yml @@ -79,6 +79,7 @@ jobs: pip install --progress-bar off --upgrade pip # install dependencies that are not in Debian/Linux + pip install --upgrade-strategy only-if-needed --progress-bar off Cython pip install --upgrade-strategy only-if-needed --progress-bar off hmmlearn pip install --upgrade-strategy only-if-needed --progress-bar off cykhash pip install --upgrade --progress-bar off pytest diff --git a/MACS3/Utilities/Constants.py b/MACS3/Utilities/Constants.py index 527aade..6b6a3f6 100644 --- a/MACS3/Utilities/Constants.py +++ b/MACS3/Utilities/Constants.py @@ -1,4 +1,4 @@ -MACS_VERSION = "3.0.0b3" +MACS_VERSION = "3.0.0b4" MAX_PAIRNUM = 1000 MAX_LAMBDA = 100000 FESTEP = 20 diff --git a/conda/macs3/meta.yaml b/conda/macs3/meta.yaml index 16a4d30..2168c7d 100644 --- a/conda/macs3/meta.yaml +++ b/conda/macs3/meta.yaml @@ -18,7 +18,7 @@ requirements: - {{ compiler('c') }} - python >=3.11 - numpy >=1.25 - - cython >=0.29 + - Cython ~=3.0 - cykhash >=2.0 - setuptools >=68.0 - hmmlearn >=0.3 @@ -26,6 +26,7 @@ requirements: host: - python >=3.11 - numpy >=1.25 + - Cython ~=3.0 - cykhash >=2.0 run: - python >=3.11 -- 2.11.4.GIT