Skip to content

Commit 45e2a13

Browse files
authored
Merge pull request #8 from segevfiner/python3.13
Updates for Python 3.13 wheels
2 parents 263a05f + c55c16f commit 45e2a13

File tree

7 files changed

+21
-13
lines changed

7 files changed

+21
-13
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest]
18-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
18+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1919
include:
2020
- os: windows-latest
21-
python-version: '3.11'
22-
- os: macos-latest
23-
python-version: '3.11'
21+
python-version: '3.12'
22+
- os: macos-13
23+
python-version: '3.12'
2424

2525
steps:
2626
- uses: actions/checkout@v4

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5
1515
with:
16-
python-version: '3.11'
16+
python-version: '3.12'
1717
- name: Set up Homebrew
1818
id: set-up-homebrew
1919
uses: Homebrew/actions/setup-homebrew@master

.github/workflows/wheels.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- master
77
tags:
88
- 'v[0-9].*'
9+
workflow_dispatch:
910

1011
jobs:
1112
build_wheels:
@@ -14,24 +15,24 @@ jobs:
1415
strategy:
1516
fail-fast: false
1617
matrix:
17-
os: [ubuntu-20.04, windows-2019, macos-11]
18+
os: [ubuntu-20.04, windows-2019, macos-12]
1819

1920
steps:
2021
- uses: actions/checkout@v4
2122

2223
# Used to host cibuildwheel
2324
- uses: actions/setup-python@v5
2425
with:
25-
python-version: '3.11'
26+
python-version: '3.12'
2627

2728
- name: Build sdist
2829
if: matrix.os == 'ubuntu-20.04'
2930
run: |
30-
pip install cython>=0.29.24 scikit-build==0.17.6
31-
python setup.py sdist
31+
pip install build
32+
python -m build --sdist
3233
3334
- name: Build wheels
34-
uses: pypa/cibuildwheel@v2.17.0
35+
uses: pypa/cibuildwheel@v2.21.3
3536
env:
3637
CIBW_SKIP: 'cp36-* pp* *-musllinux* *linux_i686'
3738
CIBW_ENVIRONMENT: >

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
v0.1.4 (2024-11-02)
5+
-------------------
6+
Added
7+
^^^^^
8+
* Python 3.13 wheels.
9+
410
v0.1.3 (2023-09-12)
511
-------------------
612

bpf_asm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
from ._bpf_asm import *
2323

2424

25-
__version__ = "0.1.3"
25+
__version__ = "0.1.4"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "scikit-build>=0.17.6", "cmake", "ninja", "cython"]
2+
requires = ["setuptools>=59.0", "scikit-build>=0.17.6", "cmake", "ninja; sys_platform != 'win32'", "cython"]
33
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@
4747
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
4848
"Programming Language :: Cython",
4949
"Programming Language :: Python :: 3",
50-
"Programming Language :: Python :: 3.6",
5150
"Programming Language :: Python :: 3.7",
5251
"Programming Language :: Python :: 3.8",
5352
"Programming Language :: Python :: 3.9",
5453
"Programming Language :: Python :: 3.10",
5554
"Programming Language :: Python :: 3.11",
55+
"Programming Language :: Python :: 3.12",
56+
"Programming Language :: Python :: 3.13",
5657
],
5758
keywords="bpf",
5859
zip_safe=False,

0 commit comments

Comments
 (0)