Skip to content

Commit 82b7de6

Browse files
committed
Merge remote-tracking branch 'origin/main' into ios-test-command-change
2 parents 682b397 + 1bc7e90 commit 82b7de6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+407
-269
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
include:
4747
- os: ubuntu-latest
4848
python_version: '3.11'
49+
- os: ubuntu-latest
50+
python_version: '3.14'
4951
timeout-minutes: 180
5052
steps:
5153
- uses: actions/checkout@v4
@@ -81,7 +83,7 @@ jobs:
8183
CIBW_ENABLE=all
8284
else
8385
# get the default CIBW_ENABLE value from the test module
84-
CIBW_ENABLE=$(uv run --no-sync python -c 'import sys, test.conftest as c; sys.stdout.write(c.DEFAULT_CIBW_ENABLE)')
86+
CIBW_ENABLE=$(uv run --no-sync python -c 'import sys, test.utils as c; sys.stdout.write(c.DEFAULT_CIBW_ENABLE)')
8587
8688
# if this is a PR, check for labels
8789
if [[ -n "$GITHUB_PR_LABEL_CI_PYPY" ]]; then

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.11.8
17+
rev: v0.11.9
1818
hooks:
1919
- id: ruff
2020
args: ["--fix", "--show-fixes"]

CI.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
This is a summary of the host Python versions and platforms covered by the different CI platforms:
22

3-
| | 3.11 | 3.12 | 3.13 |
4-
|---------|----------------------------------|---------------------------------------------------------|----------------|
5-
| Linux | Azure Pipelines / GitHub Actions | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
6-
| macOS | Azure Pipelines | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ | GitHub Actions |
7-
| Windows | Azure Pipelines | AppVeyor¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
3+
| | 3.11 | 3.12 | 3.13 |
4+
|---------|----------------------------------|---------------------------------------------|----------------|
5+
| Linux | Azure Pipelines / GitHub Actions | CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
6+
| macOS | Azure Pipelines | CircleCI¹ / Cirrus CI / GitLab¹ | GitHub Actions |
7+
| Windows | Azure Pipelines | Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
88

99
> ¹ Runs a reduced set of tests to reduce CI load
1010

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ cibuildwheel
55
[![Documentation Status](https://readthedocs.org/projects/cibuildwheel/badge/?version=stable)](https://cibuildwheel.pypa.io/en/stable/?badge=stable)
66
[![Actions Status](https://github.com/pypa/cibuildwheel/workflows/Test/badge.svg)](https://github.com/pypa/cibuildwheel/actions)
77
[![Travis Status](https://img.shields.io/travis/com/pypa/cibuildwheel/main?logo=travis)](https://travis-ci.com/github/pypa/cibuildwheel)
8-
[![Appveyor status](https://ci.appveyor.com/api/projects/status/gt3vwl88yt0y3hur/branch/main?svg=true)](https://ci.appveyor.com/project/joerick/cibuildwheel/branch/main)
98
[![CircleCI Status](https://img.shields.io/circleci/build/gh/pypa/cibuildwheel/main?logo=circleci)](https://circleci.com/gh/pypa/cibuildwheel)
109
[![Azure Status](https://dev.azure.com/joerick0429/cibuildwheel/_apis/build/status/pypa.cibuildwheel?branchName=main)](https://dev.azure.com/joerick0429/cibuildwheel/_build/latest?definitionId=4&branchName=main)
1110

@@ -16,7 +15,7 @@ cibuildwheel
1615

1716
Python wheels are great. Building them across **Mac, Linux, Windows**, on **multiple versions of Python**, is not.
1817

19-
`cibuildwheel` is here to help. `cibuildwheel` runs on your CI server - currently it supports GitHub Actions, Azure Pipelines, Travis CI, AppVeyor, CircleCI, and GitLab CI - and it builds and tests your wheels across all of your platforms.
18+
`cibuildwheel` is here to help. `cibuildwheel` runs on your CI server - currently it supports GitHub Actions, Azure Pipelines, Travis CI, CircleCI, and GitLab CI - and it builds and tests your wheels across all of your platforms.
2019

2120

2221
What does it do?
@@ -32,6 +31,7 @@ While cibuildwheel itself requires a recent Python version to run (we support th
3231
| CPython 3.11 ||||| ✅² |||||| ✅⁵ | N/A | N/A |
3332
| CPython 3.12 ||||| ✅² |||||| ✅⁵ | N/A | ✅⁴ |
3433
| CPython 3.13³ ||||| ✅² |||||| ✅⁵ || N/A |
34+
| CPython 3.14³ ||||| ✅² |||||| ✅⁵ || N/A |
3535
| PyPy 3.8 v7.3 |||| N/A | N/A | ✅¹ | ✅¹ | ✅¹ | N/A | N/A | N/A | N/A | N/A |
3636
| PyPy 3.9 v7.3 |||| N/A | N/A | ✅¹ | ✅¹ | ✅¹ | N/A | N/A | N/A | N/A | N/A |
3737
| PyPy 3.10 v7.3 |||| N/A | N/A | ✅¹ | ✅¹ | ✅¹ | N/A | N/A | N/A | N/A | N/A |
@@ -45,7 +45,7 @@ While cibuildwheel itself requires a recent Python version to run (we support th
4545
<sup>⁵ manylinux armv7l support is experimental. As there are no RHEL based image for this architecture, it's using an Ubuntu based image instead.</sup><br>
4646

4747
- Builds manylinux, musllinux, macOS 10.9+ (10.13+ for Python 3.12+), and Windows wheels for CPython, PyPy, and GraalPy
48-
- Works on GitHub Actions, Azure Pipelines, Travis CI, AppVeyor, CircleCI, GitLab CI, and Cirrus CI
48+
- Works on GitHub Actions, Azure Pipelines, Travis CI, CircleCI, GitLab CI, and Cirrus CI
4949
- Bundles shared library dependencies on Linux and macOS through [auditwheel](https://github.com/pypa/auditwheel) and [delocate](https://github.com/matthew-brett/delocate)
5050
- Runs your library's tests against the wheel-installed version of your library
5151

@@ -58,10 +58,9 @@ Usage
5858

5959
| | Linux | macOS | Windows | Linux ARM | macOS ARM | Windows ARM | iOS |
6060
|-----------------|-------|-------|---------|-----------|-----------|-------------|-----|
61-
| GitHub Actions ||||||² | ✅³ |
61+
| GitHub Actions |||||| | ✅³ |
6262
| Azure Pipelines |||| || ✅² | ✅³ |
6363
| Travis CI || ||| | | |
64-
| AppVeyor |||| || ✅² | ✅³ |
6564
| CircleCI ||| ||| | ✅³ |
6665
| Gitlab CI |||| ✅¹ || | ✅³ |
6766
| Cirrus CI |||||| | ✅³ |
@@ -188,7 +187,6 @@ Here are some repos that use cibuildwheel.
188187
[Prophet]: https://github.com/facebook/prophet
189188
[Kivy]: https://github.com/kivy/kivy
190189

191-
[appveyor icon]: docs/data/readme_icons/appveyor.svg
192190
[github icon]: docs/data/readme_icons/github.svg
193191
[azurepipelines icon]: docs/data/readme_icons/azurepipelines.svg
194192
[circleci icon]: docs/data/readme_icons/circleci.svg

appveyor.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

bin/generate_schema.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@
66

77
import argparse
88
import copy
9+
import functools
910
import json
11+
import sys
1012
from typing import Any
1113

1214
import yaml
1315

14-
parser = argparse.ArgumentParser()
16+
make_parser = functools.partial(argparse.ArgumentParser, allow_abbrev=False)
17+
if sys.version_info >= (3, 14):
18+
make_parser = functools.partial(make_parser, color=True, suggest_on_error=True)
19+
parser = make_parser()
1520
parser.add_argument("--schemastore", action="store_true", help="Generate schema_store version")
1621
args = parser.parse_args()
1722

@@ -31,6 +36,7 @@
3136
- cpython-freethreading
3237
- cpython-prerelease
3338
- pypy
39+
- pypy-eol
3440
- cpython-experimental-riscv64
3541
description: A Python version or flavor to enable.
3642
additionalProperties: false

bin/projects.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
from github import Github, GithubException
3434

3535
ICONS = (
36-
"appveyor",
3736
"github",
3837
"azurepipelines",
3938
"circleci",

bin/run_example_ci_configs.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ class CIService(typing.NamedTuple):
4141

4242

4343
services = [
44-
CIService(
45-
name="appveyor",
46-
dst_config_path="appveyor.yml",
47-
badge_md="[![Build status](https://ci.appveyor.com/api/projects/status/gt3vwl88yt0y3hur/branch/{branch}?svg=true)](https://ci.appveyor.com/project/joerick/cibuildwheel/branch/{branch})",
48-
),
4944
CIService(
5045
name="azure-pipelines",
5146
dst_config_path="azure-pipelines.yml",

bin/run_tests.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
import argparse
5+
import functools
56
import os
67
import subprocess
78
import sys
@@ -13,7 +14,10 @@
1314
else:
1415
default_cpu_count = os.process_cpu_count() or 2
1516

16-
parser = argparse.ArgumentParser()
17+
make_parser = functools.partial(argparse.ArgumentParser, allow_abbrev=False)
18+
if sys.version_info >= (3, 14):
19+
make_parser = functools.partial(make_parser, color=True, suggest_on_error=True)
20+
parser = make_parser()
1721
parser.add_argument(
1822
"--run-podman", action="store_true", default=False, help="run podman tests (linux only)"
1923
)

bin/sample_build.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
import argparse
5+
import functools
56
import os
67
import subprocess
78
import sys
@@ -12,7 +13,10 @@
1213
# move cwd to the project root
1314
os.chdir(Path(__file__).resolve().parents[1])
1415

15-
parser = argparse.ArgumentParser(description="Runs a sample build")
16+
make_parser = functools.partial(argparse.ArgumentParser, allow_abbrev=False)
17+
if sys.version_info >= (3, 14):
18+
make_parser = functools.partial(make_parser, color=True, suggest_on_error=True)
19+
parser = make_parser(description="Runs a sample build")
1620
parser.add_argument("project_python_path", nargs="?", default="test.test_0_basic.basic_project")
1721

1822
options = parser.parse_args()

0 commit comments

Comments
 (0)