Skip to content

Commit 857adf9

Browse files
committed
Changes to build for python 3.13
1 parent 38c1b4f commit 857adf9

File tree

2 files changed

+2
-103
lines changed

2 files changed

+2
-103
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Build
22
on:
33
push:
4-
branches: [main, 'stable/*']
4+
branches: [main]
55
pull_request:
6-
branches: [main, 'stable/*']
6+
branches: [main]
77
concurrency:
88
group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}
99
cancel-in-progress: true

.github/workflows/deploy.yml

-101
Original file line numberDiff line numberDiff line change
@@ -89,33 +89,6 @@ jobs:
8989
with:
9090
path: ./wheelhouse/*.whl
9191
name: aer-deploy-shared-wheel-arm64-macos-${{ matrix.os }}
92-
sdist:
93-
name: Publish qiskit-aer sdist
94-
runs-on: ubuntu-latest
95-
needs: [publish-shared-wheels]
96-
environment: release
97-
permissions:
98-
id-token: write
99-
steps:
100-
- uses: actions/checkout@v3
101-
- uses: actions/setup-python@v4
102-
name: Install Python
103-
with:
104-
python-version: '3.13'
105-
- name: Install Deps
106-
run: pip install -U scikit-build wheel
107-
- name: Build Artifacts
108-
run: |
109-
python setup.py sdist
110-
shell: bash
111-
- uses: actions/upload-artifact@v4
112-
with:
113-
path: ./dist/qiskit*
114-
name: aer-deploy-separate-sdist-${{ matrix.os }}
115-
- name: Publish package distributions to PyPI
116-
uses: pypa/gh-action-pypi-publish@release/v1
117-
with:
118-
packages-dir: dist
11992
gpu-build-cuda11:
12093
name: Build qiskit-aer-gpu-cu11 wheels
12194
strategy:
@@ -206,80 +179,6 @@ jobs:
206179
uses: pypa/gh-action-pypi-publish@release/v1
207180
with:
208181
packages-dir: wheelhouse
209-
build_wheels_s390x:
210-
name: Build wheels on s390x
211-
runs-on: ${{ matrix.os }}
212-
environment: release
213-
permissions:
214-
id-token: write
215-
strategy:
216-
fail-fast: false
217-
matrix:
218-
os: [ubuntu-latest]
219-
steps:
220-
- uses: actions/checkout@v4
221-
- uses: actions/setup-python@v5
222-
name: Install Python
223-
with:
224-
python-version: '3.10'
225-
- uses: actions-rs/toolchain@v1
226-
with:
227-
toolchain: stable
228-
- name: Set up QEMU
229-
uses: docker/setup-qemu-action@v3
230-
with:
231-
platforms: all
232-
- name: Build wheels
233-
uses: pypa/[email protected]
234-
env:
235-
CIBW_ARCHS_LINUX: s390x
236-
CIBW_TEST_SKIP: "cp*"
237-
CIBW_BEFORE_ALL: "sed -i -e 's/^mirrorlist/#mirrorlist/' -e 's/^#baseurl/baseurl/' -e 's/mirror.centos.org/vault.centos.org/' /etc/yum.repos.d/*.repo && yum install -y https://dl.fedoraproject.org/pub/epel/8/Everything/s390x/Packages/e/epel-release-8-21.el8.noarch.rpm && yum install -y openblas-devel"
238-
- uses: actions/upload-artifact@v4
239-
with:
240-
path: ./wheelhouse/*.whl
241-
name: aer-deploy-separate-build_wheels_s390x-${{ matrix.os }}
242-
- name: Publish package distributions to PyPI
243-
uses: pypa/gh-action-pypi-publish@release/v1
244-
with:
245-
packages-dir: wheelhouse
246-
build_wheels_ppc64le:
247-
name: Build wheels on ppc64le
248-
runs-on: ${{ matrix.os }}
249-
environment: release
250-
permissions:
251-
id-token: write
252-
strategy:
253-
fail-fast: false
254-
matrix:
255-
os: [ubuntu-latest]
256-
steps:
257-
- uses: actions/checkout@v4
258-
- uses: actions/setup-python@v5
259-
name: Install Python
260-
with:
261-
python-version: '3.13'
262-
- uses: actions-rs/toolchain@v1
263-
with:
264-
toolchain: stable
265-
- name: Set up QEMU
266-
uses: docker/setup-qemu-action@v3
267-
with:
268-
platforms: all
269-
- name: Build wheels
270-
uses: pypa/[email protected]
271-
env:
272-
CIBW_BEFORE_ALL: "sed -i -e 's/^mirrorlist/#mirrorlist/' -e 's/^#baseurl/baseurl/' -e 's/mirror.centos.org/vault.centos.org/' /etc/yum.repos.d/*.repo && yum install -y https://dl.fedoraproject.org/pub/archive/epel/7/ppc64le/Packages/e/epel-release-7-14.noarch.rpm && yum install -y openblas-devel"
273-
CIBW_ARCHS_LINUX: ppc64le
274-
CIBW_TEST_SKIP: "cp*"
275-
- uses: actions/upload-artifact@v4
276-
with:
277-
path: ./wheelhouse/*.whl
278-
name: aer-deploy-separate-build_wheels_ppc64le-${{ matrix.os }}
279-
- name: Publish package distributions to PyPI
280-
uses: pypa/gh-action-pypi-publish@release/v1
281-
with:
282-
packages-dir: wheelhouse
283182
publish-shared-wheels:
284183
name: Publish shared wheels
285184
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)