Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
8189cde
sqlglot-mypy init
VaggelisD Mar 4, 2026
3d6f232
CI/CD: mypyc-compiled wheels + full mypyc test coverage
VaggelisD Apr 2, 2026
2dd0f97
[mypyc] Add native char type + codepoint fast paths for str ops
VaggelisD Apr 17, 2026
9cb341f
ci: unbreak release-1.20 CI
VaggelisD Apr 23, 2026
cda8316
[mypyc] Fix separate=True forcing 44 unrelated .o recompiles per incr…
VaggelisD Apr 30, 2026
784ec63
Apply proper preprocessor search order to angled vs quoted includes
georgesittas May 14, 2026
928d409
[mypyc] Fix missing cross-group header deps in incremental rebuilds
georgesittas May 14, 2026
749ff71
[mypyc] Fix Extension.depends empty for fully-cached groups in increm…
georgesittas May 18, 2026
f362c5b
Fix cross-group call to inherited __mypyc_defaults_setup
georgesittas May 13, 2026
024290d
Add regression test for cross-group defaults setup call
georgesittas May 13, 2026
01aa450
[mypyc] Fix non-deterministic class struct layout under separate=True
VaggelisD Apr 30, 2026
7c3b617
perf: fast int comparison for IntEnum ordering and IntEnum-vs-int
VaggelisD Mar 31, 2026
e276925
perf: use pointer identity for type object comparisons
VaggelisD Mar 31, 2026
ac14c80
perf: borrow references for identity comparisons
VaggelisD Apr 6, 2026
cbf1869
perf: borrow references for method calls on native struct fields
VaggelisD Apr 7, 2026
4a87f7f
Bump version to 2.1.0.post1
VaggelisD May 21, 2026
e346010
ci/build fixes for the 2.1.0.post1 publish run
VaggelisD May 21, 2026
5a936cd
[mypyc] Add test for incremental builtin_base class construction acro…
georgesittas May 22, 2026
7500bf1
[mypyc] Preserve inherited attribute defaults under separate=True (#2…
georgesittas Jun 3, 2026
1c79015
Merge pull request #10 from VaggelisD/fix/incremental-defaults-setup-…
georgesittas Jun 4, 2026
0709307
Bump to 2.1.0.post2
georgesittas Jun 4, 2026
19705c1
[mypyc] Backport cached-group Extension.depends fix from upstream
georgesittas Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 87 additions & 9 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,103 @@
name: Trigger wheel build
name: Build and publish

on:
push:
branches: [main, master, 'release*']
tags: ['*']
tags: ['v*']
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
generate_wheels_matrix:
name: Generate wheels matrix
runs-on: ubuntu-latest
outputs:
include: ${{ steps.set-matrix.outputs.include }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install cibuildwheel and pypyp
run: |
pipx install cibuildwheel==2.22.0
pipx install pypyp==1.3.0
- id: set-matrix
run: |
MATRIX=$(
{
cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform linux --archs x86_64 \
| pyp 'json.dumps({"only": x, "os": "ubuntu-latest"})' \
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform linux --archs aarch64 \
| pyp 'json.dumps({"only": x, "os": "ubuntu-24.04-arm"})' \
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform macos --archs x86_64 \
| pyp 'json.dumps({"only": x, "os": "macos-15-intel"})' \
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform macos --archs arm64 \
| pyp 'json.dumps({"only": x, "os": "macos-14"})'
} | pyp 'json.dumps(list(map(json.loads, lines)))'
)
echo "include=$MATRIX" | tee -a $GITHUB_OUTPUT

build-wheels:
if: github.repository == 'python/mypy'
name: Build ${{ matrix.only }}
needs: generate_wheels_matrix
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include: ${{ fromJson(needs.generate_wheels_matrix.outputs.include) }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: pypa/cibuildwheel@v2.22
with:
config-file: cibuildwheel.toml
only: ${{ matrix.only }}
- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.only }}
path: wheelhouse/*.whl
overwrite: true

build-sdist:
name: Build sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Trigger script
env:
WHEELS_PUSH_TOKEN: ${{ secrets.WHEELS_PUSH_TOKEN }}
run: ./misc/trigger_wheel_build.sh
python-version: "3.13"
- name: Build sdist
run: |
pip install --upgrade setuptools build
python -m build --sdist
- uses: actions/upload-artifact@v4
with:
name: dist-sdist
path: dist/*.tar.gz
overwrite: true

publish:
name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/v')
needs: [build-wheels, build-sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
pattern: dist-*
path: dist
merge-multiple: true
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
51 changes: 0 additions & 51 deletions .github/workflows/docs.yml

This file was deleted.

102 changes: 0 additions & 102 deletions .github/workflows/mypy_primer.yml

This file was deleted.

99 changes: 0 additions & 99 deletions .github/workflows/mypy_primer_comment.yml

This file was deleted.

Loading
Loading