From b635465d0ee0e62cc1952c60405a5a04cf50e47a Mon Sep 17 00:00:00 2001 From: lalit97 Date: Wed, 18 Jun 2025 11:37:11 +0530 Subject: [PATCH] Use Numpy<=1.26.4 to avoid overflow error --- .github/workflows/main.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b53f3a8..dc73619 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,6 @@ jobs: python-version: ${{ matrix.python }} - name: Install dependencies run: | - pip install nose2 numpy scipy scikit-learn + pip install nose2 numpy<=1.26.4 scipy scikit-learn - name: Run tests run: nose2 -v --pretty-assert diff --git a/setup.py b/setup.py index 929475d..bc62a6c 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ include_package_data = True, platforms = 'any', install_requires = [ - 'numpy', + 'numpy<=1.26.4', ], tests_require = [ 'nose2',