Skip to content

Commit

Permalink
MNT: Remove special branch for numpy 2 now that is released
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbisme committed Oct 13, 2024
1 parent 4144929 commit 4a3cd27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
numpy-version: [""]
architecture: [x86, x64]
os:
[
Expand All @@ -28,11 +27,6 @@ jobs:
architecture: x86
- os: macos-12
architecture: x86
include:
- python-version: "3.12"
numpy-version: ">=2.0.0rc1"
architecture: x64
os: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -49,7 +43,7 @@ jobs:
- name: Test with pytest
run: |
pip install pytest "numpy${{ matrix.numpy-version }}"
pip install pytest
pytest --pyargs bottleneck
check:
Expand All @@ -72,7 +66,7 @@ jobs:
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_SKIP: pp* cp36-*

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ requires = [
"versioneer",
"wheel",
"oldest-supported-numpy ; python_version < '3.9'",
# Setuptools has removed support for msvccompiler
# this is needed to build old versions of bottleneck
"setuptools<74 ; python_version < '3.9'",
# Comments on numpy build requirement range:
#
# 1. >=2.0.x is the numpy requirement for wheel builds for distribution
Expand Down

0 comments on commit 4a3cd27

Please sign in to comment.