From ebb7b32894bbefab420d09879bfe1f9f207af9e9 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Mon, 9 Sep 2024 15:58:04 +0200 Subject: [PATCH] add python 3.13 - drop python 3.7 support - bump cmake, cibuildwheel versions - fix typo in cmake_minimum_required - bump version --- .github/workflows/ci.yml | 2 +- .github/workflows/pypi.yml | 2 +- .pre-commit-config.yaml | 2 +- CMakeLists.txt | 4 ++-- pyproject.toml | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48c94ec..a8e23a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 4500e79..254530d 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.18 + uses: pypa/cibuildwheel@v2.20 - uses: actions/upload-artifact@v4 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 975ab6f..2e141d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: - id: mixed-line-ending - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.8.0 hooks: - id: black diff --git a/CMakeLists.txt b/CMakeLists.txt index bb96b2d..705caf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ -cmake_minimum_required(VERSION 3.15..3.29) +cmake_minimum_required(VERSION 3.16...3.30) # Set a name and a version number for your project: project( pybind11-numpy-example - VERSION 1.0.0 + VERSION 1.0.1 LANGUAGES CXX) # Initialize some default paths diff --git a/pyproject.toml b/pyproject.toml index d4d0949..de8e2ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,24 +4,24 @@ build-backend = "scikit_build_core.build" [project] name = "pybind11-numpy-example" -version = "1.0.0" +version = "1.0.1" description = "An example of using numpy with pybind11" readme = "README.md" license = {text = "MIT"} authors=[{name="Liam Keegan", email="liam@keegan.ch"}] maintainers=[{name="Liam Keegan", email="liam@keegan.ch"}] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = ["numpy"] keywords = ["pybind11", "cibuildwheel", "c++", "pypi", "numpy", "simple", "example", "wheel", "pypi", "conda-forge"] classifiers=[ "Programming Language :: C++", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Operating System :: MacOS :: MacOS X",