Skip to content

Commit 6d89b4a

Browse files
committed
update wheels and test pipelines
Change-Id: If4bf769cf6c2c7e069b4db8ae42fdd01de1a2e38
1 parent d1da67f commit 6d89b4a

3 files changed

Lines changed: 12 additions & 25 deletions

File tree

.github/workflows/create-wheels.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ jobs:
2828
os:
2929
- "windows-2022"
3030
- "windows-11-arm"
31-
# TODO: macos-14 uses arm macs (only python 3.10+) - make arm wheel on it
32-
- "macos-13"
31+
- "macos-15"
3332
- "ubuntu-22.04"
3433
- "ubuntu-22.04-arm"
3534
linux_archs:
@@ -46,10 +45,11 @@ jobs:
4645
exclude:
4746
- os: "windows-2022"
4847
linux_archs: "aarch64"
48+
# ignored on windows, just avoid to run it multiple times
4949
- os: "windows-11-arm"
5050
linux_archs: "aarch64"
51-
- os: "macos-13"
52-
linux_archs: "aarch64"
51+
- os: "macos-15"
52+
linux_archs: "x86_64"
5353
- os: "ubuntu-22.04"
5454
linux_archs: "aarch64"
5555
- os: "ubuntu-22.04-arm"

.github/workflows/run-test.yaml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@ jobs:
3131
- "windows-latest"
3232
- "windows-11-arm"
3333
- "macos-latest"
34-
- "macos-13"
3534
python-version:
3635
- "3.10"
3736
- "3.11"
3837
- "3.12"
3938
- "3.13"
4039
- "3.14"
4140
- "3.14t"
42-
- "pypy-3.10"
41+
- "pypy-3.11"
4342
build-type:
4443
# builds greenlet, runs asyncio tests. includes aiosqlite driver
4544
- "cext-greenlet"
@@ -55,7 +54,7 @@ jobs:
5554

5655
include:
5756
# autocommit tests fail on the ci for some reason
58-
- python-version: "pypy-3.10"
57+
- python-version: "pypy-3.11"
5958
pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
6059

6160
exclude:
@@ -66,8 +65,6 @@ jobs:
6665
os: "windows-11-arm"
6766
- build-type: "cext-greenlet"
6867
os: "macos-latest"
69-
- build-type: "cext-greenlet"
70-
os: "macos-13"
7168

7269
# the threaded pythons are not stable under greenlet. Even
7370
# though we can run individual tests, when you run the whole suite
@@ -97,22 +94,17 @@ jobs:
9794
architecture: x86
9895
- os: "macos-latest"
9996
architecture: x64
100-
# macos 13: uses intel macs. no arm64, x86
101-
- os: "macos-13"
102-
architecture: arm64
103-
- os: "macos-13"
104-
architecture: x86
10597
# pypy does not have cext or x86 or arm on linux
106-
- python-version: "pypy-3.10"
98+
- python-version: "pypy-3.11"
10799
build-type: "cext"
108100
- os: "ubuntu-22.04-arm"
109-
python-version: "pypy-3.10"
101+
python-version: "pypy-3.11"
110102
- os: "windows-latest"
111-
python-version: "pypy-3.10"
103+
python-version: "pypy-3.11"
112104
architecture: x86
113105
# Setup-python does not support any versions before 3.11 for arm64 windows
114106
- os: "windows-11-arm"
115-
python-version: "pypy-3.10"
107+
python-version: "pypy-3.11"
116108
- os: "windows-11-arm"
117109
python-version: "3.10"
118110
- os: "windows-11-arm"
@@ -141,7 +133,7 @@ jobs:
141133
142134
- name: Run tests
143135
run: nox -v -s github-${{ matrix.build-type }} -- ${{ matrix.pytest-args }}
144-
continue-on-error: ${{ matrix.python-version == 'pypy-3.10' }}
136+
continue-on-error: ${{ matrix.python-version == 'pypy-3.11' }}
145137

146138
run-nox:
147139
name: ${{ matrix.nox-env }}-${{ matrix.python-version }}

pyproject.toml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -355,14 +355,9 @@ test-requires = "pytest pytest-xdist"
355355
test-command = "python -s -m pytest -c {project}/pyproject.toml -n4 -q --nomemory --notimingintensive --nomypy {project}/test"
356356

357357
build = "*"
358-
# python 3.6, 3.7 are no longer supported by sqlalchemy
359-
# pypy uses the universal wheel fallback, since it does not use any compiled extension
360-
skip = "cp36-* cp37-* pp*"
361-
# TODO: remove this skip once action support arm macs
362-
test-skip = "*-macosx_arm64"
363358

364359
[tool.cibuildwheel.macos]
365-
archs = ["x86_64", "arm64"]
360+
archs = ["arm64"]
366361

367362
# On an Linux Intel runner with qemu installed, build Intel and ARM wheels
368363
# NOTE: this is overriden in the pipeline using the CIBW_ARCHS_LINUX env variable to speed up the build

0 commit comments

Comments
 (0)