Skip to content

Commit 58e251d

Browse files
authored
Merge branch 'master' into 1026-add-messsagepack-support
2 parents 97a5a2a + 6d7a45b commit 58e251d

File tree

186 files changed

+4842
-4038
lines changed

Some content is hidden

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

186 files changed

+4842
-4038
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[run]
22
branch = True
33
source = falcon
4-
omit = falcon/tests*,falcon/typing.py,falcon/cmd/bench.py,falcon/bench/*,falcon/vendor/*
4+
omit = falcon/tests*,falcon/_typing.py,falcon/cmd/bench.py,falcon/bench/*,falcon/vendor/*
55

66
parallel = True
77

.github/workflows/cibuildwheel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
platforms: all
113113

114114
- name: Build wheels
115-
uses: pypa/cibuildwheel@v2.20.0
115+
uses: pypa/cibuildwheel@v2.21.3
116116
env:
117117
CIBW_ARCHS_LINUX: all
118118
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform.name }}
@@ -153,7 +153,7 @@ jobs:
153153
tools/check_dist.py ${{ github.event_name == 'release' && format('-r {0}', github.ref) || '' }}
154154
155155
- name: Upload sdist to release
156-
uses: AButler/upload-release-assets@v2.0
156+
uses: AButler/upload-release-assets@v3.0
157157
if: github.event_name == 'release'
158158
with:
159159
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-dist.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Test source distribution and pure-Python wheel.
2+
name: test-dist
3+
4+
on:
5+
push:
6+
branches:
7+
- "*"
8+
9+
jobs:
10+
test-dist:
11+
name: test-${{ matrix.build }}
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
build:
16+
- sdist
17+
- wheel
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 2
24+
25+
- name: Set up Python
26+
uses: actions/setup-python@v5
27+
with:
28+
python-version: "3.12"
29+
30+
- name: Build dist
31+
env:
32+
FALCON_DISABLE_CYTHON: "Y"
33+
run: |
34+
pip install --upgrade pip
35+
pip install --upgrade build
36+
python -m build --${{ matrix.build }}
37+
38+
- name: Test sdist
39+
if: matrix.build == 'sdist'
40+
run: |
41+
tools/test_dist.py dist/*.tar.gz
42+
43+
- name: Test pure-Python wheel
44+
if: matrix.build == 'wheel'
45+
run: |
46+
tools/test_dist.py dist/*.whl

.github/workflows/tests-mailman.yaml renamed to .github/workflows/test-mailman.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Run tests (GNU Mailman 3)
1+
# Test that the current dev branch does not break GNU Mailman 3.
2+
name: test-mailman
23

34
on:
45
# Trigger the workflow on master but also allow it to run manually.

.github/workflows/test-other.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Other tests, primarily those requiring obsolete dependencies.
2+
name: test-other
3+
4+
on:
5+
push:
6+
branches:
7+
- "*"
8+
9+
jobs:
10+
run-tox:
11+
name: tox -e ${{ matrix.toxenv }}
12+
runs-on: ubuntu-20.04
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
python-version:
17+
- "3.8"
18+
toxenv:
19+
- "py38_smoke"
20+
- "py38_smoke_cython"
21+
- "wsgi_meinheld"
22+
23+
steps:
24+
- name: Checkout repo
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 2
28+
29+
- name: Set up Python
30+
uses: actions/setup-python@v5
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
34+
- name: Install smoke test dependencies
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y libunwind-dev
38+
39+
- name: Install Python dependencies
40+
run: |
41+
python -m pip install --upgrade pip
42+
pip install --upgrade setuptools tox wheel
43+
python --version
44+
pip --version
45+
tox --version
46+
47+
- name: Run tox
48+
run: tox -e ${{ matrix.toxenv }}

.github/workflows/test-wheels.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Test various architectures by building out binaries with cibuildwheel.
2+
name: test-wheels
3+
4+
on:
5+
# Trigger the workflow on master but also allow it to run manually.
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test-emulated:
13+
name: "cibuildwheel: ${{ matrix.platform.build }}"
14+
runs-on: ${{ matrix.platform.os }}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
platform:
19+
- build: "cp313-manylinux_aarch64"
20+
os: ubuntu-latest
21+
emulation: true
22+
- build: "cp313-manylinux_s390x"
23+
os: ubuntu-latest
24+
emulation: true
25+
- build: "cp38-manylinux_x86_64"
26+
os: ubuntu-latest
27+
- build: "cp313-musllinux_x86_64"
28+
os: ubuntu-latest
29+
- build: "cp313-macosx_arm64"
30+
os: macos-14
31+
- build: "cp313-win_amd64"
32+
os: windows-latest
33+
34+
steps:
35+
- name: Checkout repo
36+
uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 2
39+
40+
- name: Set up QEMU
41+
uses: docker/setup-qemu-action@v3
42+
if: ${{ matrix.platform.emulation }}
43+
with:
44+
platforms: all
45+
46+
- name: Build wheels
47+
uses: pypa/cibuildwheel@v2.21.3
48+
env:
49+
CIBW_ARCHS_LINUX: all
50+
CIBW_BUILD: ${{ matrix.platform.build }}

.github/workflows/tests-emulated.yaml

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

0 commit comments

Comments
 (0)