Skip to content

Commit 54a4dcc

Browse files
authored
Remove official Appveyor support (pypa#2386)
1 parent 5b65230 commit 54a4dcc

File tree

14 files changed

+26
-107
lines changed

14 files changed

+26
-107
lines changed

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: 2 additions & 5 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?
@@ -45,7 +44,7 @@ While cibuildwheel itself requires a recent Python version to run (we support th
4544
<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>
4645

4746
- 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
47+
- Works on GitHub Actions, Azure Pipelines, Travis CI, CircleCI, GitLab CI, and Cirrus CI
4948
- Bundles shared library dependencies on Linux and macOS through [auditwheel](https://github.com/pypa/auditwheel) and [delocate](https://github.com/matthew-brett/delocate)
5049
- Runs your library's tests against the wheel-installed version of your library
5150

@@ -61,7 +60,6 @@ Usage
6160
| GitHub Actions |||||| ✅² | ✅³ |
6261
| Azure Pipelines |||| || ✅² | ✅³ |
6362
| Travis CI || ||| | | |
64-
| AppVeyor |||| || ✅² | ✅³ |
6563
| CircleCI ||| ||| | ✅³ |
6664
| Gitlab CI |||| ✅¹ || | ✅³ |
6765
| Cirrus CI |||||| | ✅³ |
@@ -188,7 +186,6 @@ Here are some repos that use cibuildwheel.
188186
[Prophet]: https://github.com/facebook/prophet
189187
[Kivy]: https://github.com/kivy/kivy
190188

191-
[appveyor icon]: docs/data/readme_icons/appveyor.svg
192189
[github icon]: docs/data/readme_icons/github.svg
193190
[azurepipelines icon]: docs/data/readme_icons/azurepipelines.svg
194191
[circleci icon]: docs/data/readme_icons/circleci.svg

appveyor.yml

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

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",

cibuildwheel/ci.py

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

77

88
class CIProvider(Enum):
9+
# official support
910
travis_ci = "travis"
10-
appveyor = "appveyor"
1111
circle_ci = "circle_ci"
1212
azure_pipelines = "azure_pipelines"
1313
github_actions = "github_actions"
1414
gitlab = "gitlab"
1515
cirrus_ci = "cirrus_ci"
16+
17+
# unofficial support
18+
appveyor = "appveyor"
19+
1620
other = "other"
1721

1822

docs/ci-services.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,6 @@ Then setup a deployment method by following the [Travis CI deployment docs](http
8686

8787
[`examples/travis-ci-deploy.yml`](https://github.com/pypa/cibuildwheel/blob/main/examples/travis-ci-deploy.yml) extends this minimal example with a demonstration of how to automatically upload the built wheels to PyPI.
8888

89-
### AppVeyor [linux/mac/windows] {: #appveyor}
90-
91-
To build Linux, Mac, and Windows wheels on AppVeyor, create an `appveyor.yml` file in your repo.
92-
93-
> appveyor.yml
94-
95-
```yaml
96-
{% include "../examples/appveyor-minimal.yml" %}
97-
```
98-
99-
Commit this file, enable building of your repo on AppVeyor, and push.
100-
101-
AppVeyor will store the built wheels for you - you can access them from the project console. Alternatively, you may want to store them in the same place as the Travis CI build. See [AppVeyor deployment docs](https://www.appveyor.com/docs/deployment/) for more info, or see [Delivering to PyPI](deliver-to-pypi.md) below.
102-
103-
For more info on this config file, check out the [docs](https://www.appveyor.com/docs/).
104-
10589
### CircleCI [linux/mac] {: #circleci}
10690

10791
To build Linux and Mac wheels on CircleCI, create a `.circleci/config.yml` file in your repo,
@@ -149,6 +133,12 @@ Cirrus CI will store the built wheels for you - you can access them from the ind
149133

150134
> ⚠️ Got an error? Check the [FAQ](faq.md).
151135
136+
### Other CI services
137+
138+
#### AppVeyor {: #appveyor}
139+
140+
Appveyor official support was dropped in cibuildwheel v3.0, due to a lack of CI credits. However, it can probably still be used as-is. Check the Appveyor example from the cibuildwheel v2.0 branch: [appveyor-minimal.yml](https://github.com/pypa/cibuildwheel/blob/v2.23.3/examples/appveyor-minimal.yml).
141+
152142
## Next steps
153143

154144
Once you've got the wheel building successfully, you might want to set up [testing](options.md#test-command) or [automatic releases to PyPI](deliver-to-pypi.md#automatic-method).

docs/data/projects.schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"enum": [
1919
"github",
2020
"travisci",
21-
"appveyor",
2221
"circleci",
2322
"gitlab",
2423
"cirrusci",

docs/data/projects.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# stars: GitHub repo (optional, if different from package, such as for Twisted)
55
# pypi: The pypi name, if different from the GitHub package name
66
# os: Operating system list, [windows, apple, linux] (optional)
7-
# ci: [appveyor, github, azurepipelines, circleci, gitlab, travisci, cirrusci] (optional)
7+
# ci: [github, azurepipelines, circleci, gitlab, travisci, cirrusci] (optional)
88
# notes: (text, optional)
99

1010
- name: abess
@@ -19,11 +19,11 @@
1919
ci: [github]
2020
os: [windows, apple, linux]
2121

22-
- name: pyinstrument_cext
23-
gh: joerick/pyinstrument_cext
24-
ci: [travisci, appveyor]
22+
- name: pyinstrument
23+
gh: joerick/pyinstrument
24+
ci: [github]
2525
os: [windows, apple, linux]
26-
notes: A simple C extension, without external dependencies
26+
notes: Python profiler with a C extension. No external dependencies.
2727

2828
- name: websockets
2929
gh: python-websockets/websockets
@@ -182,7 +182,7 @@
182182
183183
- name: python-rapidjson
184184
gh: python-rapidjson/python-rapidjson
185-
ci: [travisci, gitlab, appveyor]
185+
ci: [travisci, gitlab]
186186
os: [windows, linux]
187187

188188
- name: jq.py

docs/data/readme_icons/appveyor.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)