@@ -32,58 +32,49 @@ jobs:
3232 runs-on : ${{ matrix.os }}
3333 strategy :
3434 matrix :
35- os : [ ubuntu-latest , windows-latest , macos-latest ]
35+ os : [ ubuntu-22.04 , windows-2022 , macos-13, macos-14 ]
3636
3737 steps :
38- - uses : actions/checkout@v6
38+ - uses : actions/checkout@v4
3939 with :
4040 fetch-depth : 1
4141
42- - uses : actions/setup-python@v6
42+ - uses : actions/setup-python@v5
4343 with :
4444 python-version : |
45+ 3.9
4546 3.10
4647 3.11
4748 3.12
48- 3.13
4949
50- - name : Install UV
51- uses : astral-sh/setup-uv@v7
50+ - name : Install poetry
51+ run : make install-poetry
5252
5353 - name : Set version with RC
5454 env :
5555 VERSION : ${{ inputs.VERSION }}
56- run : uv version "${{ env.VERSION }}"
57-
58- - name : Set up QEMU
59- if : startsWith(matrix.os, 'ubuntu')
60- uses : docker/setup-qemu-action@v3
56+ run : python -m poetry version "${{ env.VERSION }}"
6157
6258 # Publish the source distribution with the version that's in
6359 # the repository, otherwise the tests will fail
6460 - name : Compile source distribution
65- run : uv build --sdist
61+ run : python3 -m poetry build --format= sdist
6662 if : startsWith(matrix.os, 'ubuntu')
6763
6864 - name : Build wheels
69- uses : pypa/cibuildwheel@v3.3.1
65+ uses : pypa/cibuildwheel@v2.23.3
7066 with :
7167 output-dir : wheelhouse
7268 config-file : " pyproject.toml"
7369 env :
7470 # Ignore 32 bit architectures
75- CIBW_ARCHS : " auto64 aarch64"
76- CIBW_PROJECT_REQUIRES_PYTHON : " >=3.10,<3.14"
77- CIBW_MUSLLINUX_X86_64_IMAGE : " musllinux_1_2"
78- CIBW_MUSLLINUX_AARCH64_IMAGE : " musllinux_1_2"
79- CIBW_BEFORE_TEST : " uv sync --directory {project} --only-group dev --no-install-project"
80- CIBW_TEST_COMMAND : " uv run --directory {project} pytest tests/avro/test_decoder.py"
71+ CIBW_ARCHS : " auto64"
72+ CIBW_PROJECT_REQUIRES_PYTHON : " >=3.9,<3.13"
73+ CIBW_TEST_REQUIRES : " pytest==7.4.2 moto==5.0.1"
74+ CIBW_TEST_COMMAND : " pytest {project}/tests/avro/test_decoder.py"
8175 # Ignore tests for pypy since not all dependencies are compiled for it
8276 # and would require a local rust build chain
8377 CIBW_TEST_SKIP : " pp*"
84- # Skip free-threaded (PEP 703) builds until we evaluate decoder_fast support
85- CIBW_SKIP : " cp3*t-*"
86-
8778
8879 - name : Add source distribution
8980 if : startsWith(matrix.os, 'ubuntu')
0 commit comments