Skip to content

Commit 4de1765

Browse files
committed
Merge branch 'main' into pypi
2 parents 2b806c5 + f8e65ec commit 4de1765

File tree

315 files changed

+737
-236
lines changed

Some content is hidden

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

315 files changed

+737
-236
lines changed

.git-blame-ignore-revs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Flake8
2+
8de95676e0fd89f2326b3953488ab66ff29cd2d0
3+
# Format with Black
4+
53a7e3500437a9fd5826bc04758f7116bd7e52dc
5+
# Format the C code with ClangFormat
6+
46b7e86bab79450ec0a2866c6c0c679afb659d17

.github/workflows/cifuzz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ jobs:
4242
language: python
4343
dry-run: false
4444
- name: Upload New Crash
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
if: failure() && steps.build.outcome == 'success'
4747
with:
4848
name: artifacts
4949
path: ./out/artifacts
5050
- name: Upload Legacy Crash
51-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5252
if: steps.run.outcome == 'success'
5353
with:
5454
name: crash

.github/workflows/lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Lint
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
env:
6+
FORCE_COLOR: 1
7+
58
permissions:
69
contents: read
710

@@ -46,3 +49,6 @@ jobs:
4649
run: tox -e lint
4750
env:
4851
PRE_COMMIT_COLOR: always
52+
53+
- name: Mypy
54+
run: tox -e mypy

.github/workflows/system-info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Requested here:
77
https://github.com/actions/virtual-environments/issues/79
88
"""
9+
from __future__ import annotations
10+
911
import os
1012
import platform
1113
import sys

.github/workflows/test-cygwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
dash.exe -c "mkdir -p Tests/errors"
133133
134134
- name: Upload errors
135-
uses: actions/upload-artifact@v3
135+
uses: actions/upload-artifact@v4
136136
if: failure()
137137
with:
138138
name: errors

.github/workflows/test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
shell: bash
191191

192192
- name: Upload errors
193-
uses: actions/upload-artifact@v3
193+
uses: actions/upload-artifact@v4
194194
if: failure()
195195
with:
196196
name: errors

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
mkdir -p Tests/errors
113113
114114
- name: Upload errors
115-
uses: actions/upload-artifact@v3
115+
uses: actions/upload-artifact@v4
116116
if: failure()
117117
with:
118118
name: errors

.github/workflows/wheels.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ jobs:
116116
117117
& python.exe -m pip install -r .ci/requirements-cibw.txt
118118
119-
# Cannot cross-compile FriBiDi (only used for tests)
120-
$FLAGS = ("--no-imagequant", "--architecture=${{ matrix.arch }}")
121-
if ('${{ matrix.arch }}' -eq 'ARM64') { $FLAGS += "--no-fribidi" }
122-
& python.exe winbuild\build_prepare.py -v @FLAGS
119+
& python.exe winbuild\build_prepare.py -v --no-imagequant --architecture=${{ matrix.arch }}
123120
shell: pwsh
124121

125122
- name: Build wheels
@@ -162,19 +159,11 @@ jobs:
162159
name: dist-${{ matrix.arch }}
163160
path: ./wheelhouse/*.whl
164161

165-
- name: Prepare to upload FriBiDi
166-
if: "matrix.arch != 'ARM64'"
167-
run: |
168-
mkdir fribidi\${{ matrix.arch }}
169-
copy winbuild\build\bin\fribidi* fribidi\${{ matrix.arch }}
170-
shell: cmd
171-
172162
- name: Upload fribidi.dll
173-
if: "matrix.arch != 'ARM64'"
174163
uses: actions/upload-artifact@v4
175164
with:
176-
name: fribidi-${{ matrix.arch }}
177-
path: fribidi\*
165+
name: fribidi-windows-${{ matrix.arch }}
166+
path: winbuild\build\bin\fribidi*
178167

179168
sdist:
180169
runs-on: ubuntu-latest

CHANGES.rst

Lines changed: 18 additions & 0 deletions

Tests/32bit_segfault_check.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
from __future__ import annotations
23

34
import sys
45

0 commit comments

Comments
 (0)