Skip to content

Commit 2b4c16c

Browse files
authored
Triggering cibuildwheel on 3.14 (#201)
Added python 3.14 to build matrix. License spec.
1 parent a37d515 commit 2b4c16c

9 files changed

Lines changed: 13 additions & 11 deletions

File tree

.github/workflows/build_default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/checkout@master
5757

5858
- name: Build wheels
59-
uses: pypa/cibuildwheel@v2.23
59+
uses: pypa/cibuildwheel@v3.3.1
6060
with:
6161
config-file: cibuildwheel.toml
6262
output-dir: wheelhouse

.github/workflows/build_mkl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@master
2626

2727
- name: Build wheels
28-
uses: pypa/cibuildwheel@v2.23
28+
uses: pypa/cibuildwheel@v3.3.1
2929
with:
3030
package-dir: backend/mkl
3131
config-file: backend/mkl/cibuildwheel.toml

.github/workflows/build_mkl_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
rd /s/q "webimage_base_extracted"
5050
5151
- name: Build wheels
52-
uses: pypa/cibuildwheel@v2.23
52+
uses: pypa/cibuildwheel@v3.3.1
5353
with:
5454
package-dir: backend/mkl
5555
config-file: backend/mkl/cibuildwheel.toml

.github/workflows/build_wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@master
2020

2121
- name: Build wheels
22-
uses: pypa/cibuildwheel@v2.23
22+
uses: pypa/cibuildwheel@v3.3.1
2323
env:
2424
CIBW_PLATFORM: pyodide
2525
with:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![PyPI version](https://badge.fury.io/py/osqp.svg)](https://badge.fury.io/py/osqp)
2-
[![Python 3.8‒3.13](https://img.shields.io/badge/python-3.8%E2%80%923.13-blue)](https://www.python.org)
2+
[![Python 3.8‒3.14](https://img.shields.io/badge/python-3.8%E2%80%923.14-blue)](https://www.python.org)
33
[![Build](https://github.com/osqp/osqp-python/actions/workflows/build_default.yml/badge.svg)](https://github.com/osqp/osqp-python/actions/workflows/build_default.yml)
44

55
# OSQP Python

backend/cuda/cibuildwheel.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.cibuildwheel]
22
build = "cp3*"
3-
skip = ["cp36-*", "cp37-*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
3+
skip = ["cp313t-*", "cp314t-*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
44
build-verbosity = 1
55
before-build = "rm -rf {package}/osqp_sources/build"
66
repair-wheel-command = ""

backend/mkl/cibuildwheel.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tool.cibuildwheel]
22
build = "cp3*"
3-
skip = ["cp36-*", "cp37-*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
3+
skip = ["cp313t-*", "cp314t-*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
44
build-verbosity = 1
55
before-build = "rm -rf {package}/osqp_sources/build"
66

77
[tool.cibuildwheel.linux]
88
before-all = [
9-
"yum-config-manager --add-repo https://yum.repos.intel.com/oneapi",
9+
"dnf config-manager --add-repo https://yum.repos.intel.com/oneapi",
1010
"rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB",
11-
"yum --nogpgcheck install -y intel-oneapi-mkl-devel-2023.0.0"
11+
"dnf --nogpgcheck install -y intel-oneapi-mkl-devel-2023.0.0"
1212
]
1313
environment = { MKL_ROOT = "/opt/intel/oneapi/mkl/latest" }
1414
repair-wheel-command = ""

cibuildwheel.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.cibuildwheel]
22
build = "cp3*"
3-
skip = ["cp36-*", "cp37-*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
3+
skip = ["cp313t-*", "cp314t-*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
44
build-verbosity = 1
55
before-build = "rm -rf {package}/osqp_sources/build"
66
# Install CPU-only version of torch beforehand since that allows cibuildwheel
@@ -13,7 +13,7 @@ test-command = "python -m pytest -s {project}/src/osqp/tests"
1313
[[tool.cibuildwheel.overrides]]
1414
# Platforms on which installing pytorch is problematic, so we skip testing
1515
# the `osqp.nn` module
16-
select = "*manylinux_aarch64 cp313-macosx_x86_64"
16+
select = "*manylinux_aarch64 cp313-macosx_x86_64 cp314-macosx_x86_64"
1717
before-test = 'pip install scipy --prefer-binary'
1818
test-groups = ["test-no-nn"]
1919
test-command = "python -m pytest -s {project}/src/osqp/tests --continue-on-collection-errors --ignore={project}/src/osqp/tests/nn_test.py"

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ build-backend = "scikit_build_core.build"
66
name = "osqp"
77
dynamic = ["version"]
88
description = "OSQP: The Operator Splitting QP Solver"
9+
license = "Apache-2.0"
10+
license-files = ["LICENSE"]
911
readme = "README.md"
1012
requires-python = ">=3.8"
1113
authors = [

0 commit comments

Comments
 (0)