Skip to content

Commit 7620f84

Browse files
committed
add Python 3.12 and update wheel building
1 parent 583f1a5 commit 7620f84

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v3
2020
with:
2121
repository: pybind/pybind11
22-
ref: v2.10.3
22+
ref: v2.11.1
2323
path: contrib/pybind11
2424

2525
- uses: actions/checkout@v3
@@ -31,16 +31,17 @@ jobs:
3131
- uses: actions/checkout@v3
3232
with:
3333
repository: osmcode/libosmium
34-
ref: v2.19.0
34+
ref: v2.20.0
3535
path: contrib/libosmium
3636

3737

3838
- name: Build wheels
39-
uses: pypa/cibuildwheel@v2.11.3
39+
uses: pypa/cibuildwheel@v2.16.2
4040
env:
4141
CIBW_ARCHS: native
4242
CIBW_SKIP: "pp* *musllinux*"
4343
CIBW_TEST_REQUIRES: pytest pytest-httpserver shapely
44+
CIBW_TEST_REQUIRES_LINUX: urllib3<2.0 pytest pytest-httpserver shapely
4445
CIBW_TEST_COMMAND: pytest {project}/test
4546
CIBW_BUILD_FRONTEND: build
4647
CIBW_BEFORE_BUILD_LINUX: yum install -y sparsehash-devel expat-devel boost-devel zlib-devel bzip2-devel lz4-devel

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ jobs:
7878
python -m build
7979
shell: bash
8080

81+
- name: Set up Python 3.12
82+
uses: actions/setup-python@v4
83+
with:
84+
python-version: "3.12"
85+
86+
- name: Build package 3.12
87+
run: |
88+
pip install build wheel
89+
python -m build
90+
shell: bash
91+
8192
- name: Upload Artifact
8293
uses: actions/upload-artifact@v3
8394
with:
@@ -91,7 +102,7 @@ jobs:
91102
strategy:
92103
fail-fast: false
93104
matrix:
94-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
105+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11", "3.12"]
95106

96107
steps:
97108
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)