diff --git a/.github/workflows/bleeding-edge.yaml b/.github/workflows/bleeding-edge.yaml index 9778bff..0040ea4 100644 --- a/.github/workflows/bleeding-edge.yaml +++ b/.github/workflows/bleeding-edge.yaml @@ -32,7 +32,7 @@ jobs: python-version: 3.13-dev - uses: yezz123/setup-uv@v4 with: - uv-version: 0.2.18 + uv-version: 0.2.33 uv-venv: .venv - name: Install dependencies diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index a1b6e91..f20602e 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -50,7 +50,7 @@ jobs: python-version: ${{ matrix.python-version }} - uses: yezz123/setup-uv@v4 with: - uv-version: 0.2.18 + uv-version: 0.2.33 uv-venv: .venv - run: uv pip install --requirement test_requirements.txt diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml index a46f281..30e9a4a 100644 --- a/.github/workflows/wheels.yaml +++ b/.github/workflows/wheels.yaml @@ -18,8 +18,8 @@ jobs: strategy: matrix: os: - - ubuntu-20.04 - - windows-2019 + - ubuntu-latest + - windows-latest - macos-13 # x86_64 - macos-14 # arm64 @@ -31,11 +31,11 @@ jobs: - uses: yezz123/setup-uv@v4 with: - uv-version: 0.2.18 + uv-version: 0.2.33 uv-venv: .venv - name: Build wheels for CPython - uses: pypa/cibuildwheel@v2.19.2 + uses: pypa/cibuildwheel@v2.20.0 with: output-dir: dist env: @@ -76,15 +76,15 @@ jobs: python-version: 3.x - uses: yezz123/setup-uv@v4 with: - uv-version: 0.2.18 + uv-version: 0.2.33 uv-venv: .venv - name: install check-manifest run: uv pip install check-manifest - name: Install build time dependencies shell: bash run: | - uv pip install "Cython>=3.0,<3.1" - uv pip install oldest-supported-numpy + uv pip install "Cython>=3.0" + uv pip install numpy>=2.0.0 uv pip install --upgrade wheel uv pip install --upgrade setuptools - name: Build diff --git a/pyproject.toml b/pyproject.toml index a2088ee..c0c464b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,9 @@ [build-system] +# keep in sync with wheels.yaml requires = [ "setuptools>=61.2", "Cython>=3.0", - "numpy>=2.0.0rc1", + "numpy>=2.0.0", ] [project] @@ -30,6 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] [project.license] @@ -84,7 +86,7 @@ select = [ combine-as-imports = true [tool.cibuildwheel] -build = "cp39-* cp310-* cp311-* cp312-*" +build = "cp39-* cp310-* cp311-* cp312-* cp313-*" build-frontend = "build[uv]" build-verbosity = 1 test-skip = "*-musllinux*"