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'"]