From 9f46ede8b57800f8693d2a5b464b9f7b9febbad2 Mon Sep 17 00:00:00 2001 From: Dan Snow <31494343+dfsnow@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:50:08 -0500 Subject: [PATCH] Fix CI issues with Python version (#17) * Fix missing distutils * Bump Action versions * Add sudo to apt-get call * Bump numpy version * Add OpenBLAS dependency * Add OpenBLAS dependency to tests * Switch to wildcard package versions * Bump scipy version to grab new wheel * Lock Python version to 3.11 --- .github/workflows/pages.yaml | 4 ++-- .github/workflows/python-package.yaml | 2 +- .github/workflows/test-coverage.yaml | 2 +- requirements.txt | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 2f18138..9338e0d 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate HTML run: | @@ -24,7 +24,7 @@ jobs: uses: actions/configure-pages@v3 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: '_build/html' diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index 81a5184..f5eb8af 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index bfc6641..508e77e 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -17,7 +17,7 @@ jobs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: 3.11 - name: Run pytest run: | diff --git a/requirements.txt b/requirements.txt index 7b312c1..97d244a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -numpy==1.25.1 -pandas==2.0.3 -pyarrow==12.0.* +numpy==1.26.* +pandas==2.* +pyarrow==13.0.* pytest==7.3.1 pytest-cov==4.1.0 -scipy==1.11.1 +scipy==1.11.* setuptools==59.6.0 statsmodels==0.14.0