@@ -32,22 +32,34 @@ jobs:
3232 if : matrix.platform.target == 'aarch64'
3333 uses : docker/setup-qemu-action@v3
3434
35- - uses : actions/setup-python@v5
35+ - uses : actions/setup-python@v6
3636 with :
3737 python-version : " 3.10"
3838
3939 - name : Build wheels
40- uses : PyO3/maturin-action@v1.44.0
40+ uses : PyO3/maturin-action@v1.49.4
4141 with :
4242 target : ${{ matrix.platform.target }}
4343 args : >-
4444 --release
4545 --out dist
46- --interpreter python3.9 python3.10 python3.11 python3.12 python3.13
46+ --interpreter python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
4747 ${{ matrix.platform.target == 'aarch64' && '--features vendored-openssl' || '' }}
4848 sccache : ' true'
4949 manylinux : auto
50- before-script-linux : (apt-get update && apt-get install -y apt-utils && apt-get install -y pkg-config libssl-dev) || (yum install openssl openssl-devel -y)
50+ before-script-linux : |
51+ if command -v yum &> /dev/null; then
52+ yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
53+
54+ # If we're running on i686 we need to symlink libatomic
55+ # in order to build openssl with -latomic flag.
56+ if [[ ! -d "/usr/lib64" ]]; then
57+ ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
58+ fi
59+ else
60+ # If we're running on debian-based system.
61+ apt update -y && apt-get install -y libssl-dev openssl pkg-config
62+ fi
5163
5264 - name : Upload wheels
5365 uses : actions/upload-artifact@v4
@@ -67,14 +79,14 @@ jobs:
6779 steps :
6880 - uses : actions/checkout@v4
6981
70- - uses : actions/setup-python@v5
82+ - uses : actions/setup-python@v6
7183 with :
7284 python-version : " 3.10"
7385 - name : Build wheels
74- uses : PyO3/maturin-action@v1.44.0
86+ uses : PyO3/maturin-action@v1.49.4
7587 with :
7688 target : ${{ matrix.platform.target }}
77- args : --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13
89+ args : --release --out dist --interpreter python3.9 python3.10 python3.11 python3.12 python3.13 python3.14
7890 sccache : ' true'
7991 - name : Upload wheels
8092 uses : actions/upload-artifact@v4
88100 - uses : actions/checkout@v4
89101
90102 - name : Build sdist
91- uses : PyO3/maturin-action@v1.44.0
103+ uses : PyO3/maturin-action@v1.49.4
92104 with :
93105 command : sdist
94106 args : --out dist
@@ -119,7 +131,7 @@ jobs:
119131 subject-path : ' wheels-*/*'
120132 - name : Publish to PyPI
121133 if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
122- uses : PyO3/maturin-action@v1.44.0
134+ uses : PyO3/maturin-action@v1.49.4
123135 with :
124136 command : upload
125137 args : --non-interactive --skip-existing wheels-*/*
0 commit comments