Skip to content

Commit 6cebac5

Browse files
committed
Bump version to 1.20.0.post1
1 parent d3f29db commit 6cebac5

4 files changed

Lines changed: 11 additions & 51 deletions

File tree

.github/workflows/build_wheels.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
tags: ['v*']
66
workflow_dispatch:
77

8-
concurrency:
9-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
10-
cancel-in-progress: true
11-
128
permissions:
139
contents: read
1410

@@ -24,7 +20,7 @@ jobs:
2420
persist-credentials: false
2521
- name: Install cibuildwheel and pypyp
2622
run: |
27-
pipx install cibuildwheel==2.22.0
23+
pipx install cibuildwheel==3.3.1
2824
pipx install pypyp==1.3.0
2925
- id: set-matrix
3026
run: |
@@ -35,7 +31,7 @@ jobs:
3531
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform linux --archs aarch64 \
3632
| pyp 'json.dumps({"only": x, "os": "ubuntu-24.04-arm"})' \
3733
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform macos --archs x86_64 \
38-
| pyp 'json.dumps({"only": x, "os": "macos-13"})' \
34+
| pyp 'json.dumps({"only": x, "os": "macos-15-intel"})' \
3935
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform macos --archs arm64 \
4036
| pyp 'json.dumps({"only": x, "os": "macos-14"})'
4137
} | pyp 'json.dumps(list(map(json.loads, lines)))'
@@ -54,7 +50,7 @@ jobs:
5450
- uses: actions/checkout@v4
5551
with:
5652
persist-credentials: false
57-
- uses: pypa/cibuildwheel@v2.22
53+
- uses: pypa/cibuildwheel@v3.3.1
5854
with:
5955
config-file: cibuildwheel.toml
6056
only: ${{ matrix.only }}

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_dispatch:
55
push:
66
branches: [main, master, 'release*']
7-
tags: ['*']
87
pull_request:
98
paths-ignore:
109
- 'docs/**'

cibuildwheel.toml

Lines changed: 7 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ build-frontend = "pip"
44
linux.manylinux-x86_64-image = "manylinux_2_28"
55
linux.manylinux-aarch64-image = "manylinux_2_28"
66
linux.musllinux-x86_64-image = "musllinux_1_2"
7-
linux.musllinux-aarch64-image = "musllinux_1_2"
87

9-
enable = []
10-
11-
# Don't build musllinux arm64 and 32-bit Windows.
12-
# PyPy and 32-bit Linux are skipped by default.
13-
# Start building free threading wheels for Python 3.14, i.e. skip 3.13.
8+
# Build CPython 3.10-3.14 on manylinux + macOS.
9+
# Skip: PyPy, 32-bit, musllinux aarch64, Windows, free-threaded builds.
1410
skip = [
15-
"cp313t-*",
11+
"pp*",
1612
"*-win32",
13+
"*-win_amd64",
1714
"*-musllinux_aarch64",
15+
"cp313t-*",
16+
"cp314t-*",
17+
"*-manylinux_i686",
1818
]
1919

2020
build-verbosity = 1
@@ -23,33 +23,6 @@ linux.before-all = [
2323
"yum install -y llvm-toolset || yum -v install -y llvm-toolset",
2424
]
2525

26-
# Uncomment the following to run tests against the built wheels:
27-
# before-test = [
28-
# "pip install -r {project}/test-requirements.txt",
29-
# ]
30-
#
31-
# test-command = """ \
32-
# ( \
33-
# DIR=$(python -c 'import mypy, os; dn = os.path.dirname; print(dn(dn(mypy.__path__[0])))') \
34-
# && cp '{project}/pyproject.toml' '{project}/conftest.py' $DIR \
35-
#
36-
# && MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])') \
37-
# && MYPYC_TEST_DIR=$(python -c 'import mypyc.test; print(mypyc.test.__path__[0])') \
38-
#
39-
# && MYPY_TEST_PREFIX='{project}' pytest $MYPY_TEST_DIR $MYPYC_TEST_DIR -k 'not test_external' \
40-
# )
41-
# """
42-
#
43-
# windows.test-command = """ \
44-
# bash -c "( \
45-
# DIR=$(python -c 'import mypy, os; dn = os.path.dirname; print(dn(dn(mypy.__path__[0])))') \
46-
# && cp '{project}/pyproject.toml' '{project}/conftest.py' $DIR \
47-
#
48-
# && MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])') \
49-
# && MYPY_TEST_PREFIX='{project}' pytest $MYPY_TEST_DIR/testcheck.py \
50-
# )"
51-
# """
52-
5326
[tool.cibuildwheel.config-settings]
5427
--build-option = "--use-mypyc"
5528

@@ -58,11 +31,6 @@ MYPY_USE_MYPYC = "1"
5831
MYPYC_OPT_LEVEL = "3"
5932
MYPYC_DEBUG_LEVEL = "0"
6033

61-
[tool.cibuildwheel.windows.environment]
62-
MYPY_USE_MYPYC = "1"
63-
MYPYC_OPT_LEVEL = "2"
64-
MYPYC_DEBUG_LEVEL = "0"
65-
6634
[tool.cibuildwheel.linux.environment]
6735
MYPY_USE_MYPYC = "1"
6836
MYPYC_OPT_LEVEL = "3"
@@ -76,7 +44,4 @@ select = "*musllinux*"
7644
before-all = [
7745
"apk add --no-cache clang",
7846
]
79-
# before-test = [
80-
# "pip install -r {project}/test-requirements.txt",
81-
# ]
8247
environment = { MYPY_USE_MYPYC = "1", MYPYC_OPT_LEVEL = "3", MYPYC_DEBUG_LEVEL = "0", CC = "clang" }

mypy/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# - Release versions have the form "1.2.3".
99
# - Dev versions have the form "1.2.3+dev" (PLUS sign to conform to PEP 440).
1010
# - Before 1.0 we had the form "0.NNN".
11-
__version__ = "1.20.0"
11+
__version__ = "1.20.0.post1"
1212
base_version = __version__
1313

1414
mypy_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))

0 commit comments

Comments
 (0)