Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.13 #460

Merged
merged 3 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
numpy-version: [""]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
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,9 +66,9 @@ jobs:
fetch-depth: 0

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

- name: Store wheel artifacts
uses: actions/upload-artifact@v4
Expand Down
10 changes: 10 additions & 0 deletions RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ Release Notes
These are the major changes made in each release. For details of the changes
see the commit log at https://github.com/pydata/bottleneck

Bottleneck 1.4.1
================

*Release date: 2024-10-12

Enhancements
~~~~~~~~~~~~
- Deprecate Python 3.7 and 3.8
- Add python 3.13 build

Bottleneck 1.4.0
================

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[build-system]
requires = [
# Setuptools has removed support for msvccompiler
# this is needed to build old versions of bottleneck
"setuptools",
"versioneer",
"wheel",
"oldest-supported-numpy ; python_version < '3.9'",
# Comments on numpy build requirement range:
#
# 1. >=2.0.x is the numpy requirement for wheel builds for distribution
Expand All @@ -14,5 +15,5 @@ requires = [
# and disabling build isolation.
# 3. The <2.3 upper bound is for matching the numpy deprecation policy,
# it should not be loosened
"numpy>=2.0.0rc1,<2.3 ; python_version >= '3.9'",
"numpy>=2,<2.3"
]
Loading