Skip to content

Commit aa3bc93

Browse files
committed
re-enable tests for python 3.12 now that numpy 1.26 is released
- add python 3.12 to ci build matrix - bump ci/pre-commit versions
1 parent 13ccab7 commit aa3bc93

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: [ubuntu-latest, macos-latest, windows-latest]
42-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
42+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
4343
steps:
4444
- uses: actions/checkout@v3
4545

.github/workflows/pypi.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest, windows-latest, macos-latest]
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Build wheels
16-
uses: pypa/cibuildwheel@v2.15
16+
uses: pypa/cibuildwheel@v2.16
1717

1818
- uses: actions/upload-artifact@v3
1919
with:

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: mixed-line-ending
99

1010
- repo: https://github.com/psf/black
11-
rev: 23.7.0
11+
rev: 23.9.1
1212
hooks:
1313
- id: black
1414

@@ -29,7 +29,7 @@ repos:
2929
- id: clang-format
3030

3131
- repo: https://github.com/pre-commit/mirrors-prettier
32-
rev: v3.0.1
32+
rev: v3.0.3
3333
hooks:
3434
- id: prettier
3535
ci:

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15..3.26)
33
# Set a name and a version number for your project:
44
project(
55
pybind11-numpy-example
6-
VERSION 0.0.6
6+
VERSION 0.0.7
77
LANGUAGES CXX)
88

99
# Initialize some default paths

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "pybind11-numpy-example"
7-
version = "0.0.6"
7+
version = "0.0.7"
88
description = "An example of using numpy with pybind11"
99
readme = "README.md"
1010
license = {text = "MIT"}
@@ -42,4 +42,4 @@ BUILD_DOCS = "OFF"
4242
[tool.cibuildwheel]
4343
test-extras = "test"
4444
test-command = "python -m pytest {project}/python/tests -v"
45-
test-skip = "pp* *-musllinux* *-manylinux_i686 cp312-*"
45+
test-skip = "pp* *-musllinux* *-manylinux_i686"

0 commit comments

Comments
 (0)