From 8f9521828563364e29b5f10a5671e5a06052ee44 Mon Sep 17 00:00:00 2001 From: Forest Gregg Date: Thu, 20 Jun 2024 11:45:08 -0400 Subject: [PATCH] update deps --- .github/workflows/pythonpackage.yml | 6 ++++-- pyproject.toml | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 689fddd..7c62854 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -12,9 +12,9 @@ jobs: python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -35,6 +35,8 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v2 + with: + python-version: "3.12" - name: Set up QEMU if: runner.os == 'Linux' uses: docker/setup-qemu-action@v2 diff --git a/pyproject.toml b/pyproject.toml index a8189d5..432f5ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,4 +2,5 @@ requires = ["setuptools", "wheel", "cython", - "oldest_supported_numpy"] + "numpy>=2.0.0; python_version>='3.9'", + "oldest_supported_numpy; python_version<'3.9'"]