Skip to content

Commit 2d275d4

Browse files
committed
remove old changes
1 parent ba026a8 commit 2d275d4

2 files changed

Lines changed: 25 additions & 42 deletions

File tree

.github/workflows/pypi-build-artifacts.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -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')

.github/workflows/svn-build-artifacts.yml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,52 +32,44 @@ 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
52-
53-
- name: Set up QEMU
54-
if: startsWith(matrix.os, 'ubuntu')
55-
uses: docker/setup-qemu-action@v3
50+
- name: Install poetry
51+
run: make install-poetry
5652

5753
# Publish the source distribution with the version that's in
5854
# the repository, otherwise the tests will fail
5955
- name: Compile source distribution
60-
run: uv build --sdist
56+
run: python3 -m poetry build --format=sdist
6157
if: startsWith(matrix.os, 'ubuntu')
6258

6359
- name: Build wheels
64-
uses: pypa/cibuildwheel@v3.3.1
60+
uses: pypa/cibuildwheel@v2.23.3
6561
with:
6662
output-dir: wheelhouse
6763
config-file: "pyproject.toml"
6864
env:
6965
# Ignore 32 bit architectures
70-
CIBW_ARCHS: "auto64 aarch64"
71-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
72-
CIBW_MUSLLINUX_X86_64_IMAGE: "musllinux_1_2"
73-
CIBW_MUSLLINUX_AARCH64_IMAGE: "musllinux_1_2"
74-
CIBW_BEFORE_TEST: "uv sync --directory {project} --only-group dev --no-install-project"
75-
CIBW_TEST_COMMAND: "uv run --directory {project} pytest tests/avro/test_decoder.py"
66+
CIBW_ARCHS: "auto64"
67+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.13"
68+
CIBW_TEST_REQUIRES: "pytest==7.4.2 moto==5.0.1"
69+
CIBW_TEST_COMMAND: "pytest {project}/tests/avro/test_decoder.py"
7670
# Ignore tests for pypy since not all dependencies are compiled for it
7771
# and would require a local rust build chain
7872
CIBW_TEST_SKIP: "pp*"
79-
# Skip free-threaded (PEP 703) builds until we evaluate decoder_fast support
80-
CIBW_SKIP: "cp3*t-*"
8173

8274
- name: Add source distribution
8375
if: startsWith(matrix.os, 'ubuntu')

0 commit comments

Comments
 (0)