Skip to content

Commit 61cc658

Browse files
authored
Updated deploy workflows to use build module (#223)
* Updated deploy workflows to use build module * Removed support for deprecated manylinux 2.24 * Removed support for Python 3.7 * Added support for manylinux2014
1 parent d1ddc87 commit 61cc658

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/deploy-test-pypi.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: workflow_dispatch
44

55
env:
66
CIBW_BUILD: cp3*
7-
CIBW_SKIP: cp36-*
7+
CIBW_SKIP: cp36-* cp37-*
88
CIBW_TEST_REQUIRES: pytest
99
CIBW_TEST_COMMAND: pytest {project}/test/PyGLM_test.py -v
1010

@@ -74,10 +74,10 @@ jobs:
7474
runs-on: ubuntu-latest
7575
strategy:
7676
matrix:
77-
distro: [manylinux_2_24, manylinux_2_28]
77+
distro: [manylinux2014, manylinux_2_28]
7878
arch: [x86_64, aarch64, s390x]
7979
include:
80-
- distro: manylinux_2_24
80+
- distro: manylinux2014
8181
arch: i686
8282

8383
env:
@@ -163,9 +163,12 @@ jobs:
163163
name: Install Python
164164
with:
165165
python-version: '3.12'
166+
167+
- name: Install build
168+
run: pip install build
166169

167170
- name: Build sdist
168-
run: python setup.py sdist
171+
run: python -m build --sdist
169172

170173
- uses: actions/upload-artifact@v3
171174
with:

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ jobs:
7777
runs-on: ubuntu-latest
7878
strategy:
7979
matrix:
80-
distro: [manylinux_2_24, manylinux_2_28]
80+
distro: [manylinux2014, manylinux_2_28]
8181
arch: [x86_64, aarch64, s390x]
8282
include:
83-
- distro: manylinux_2_24
83+
- distro: manylinux2014
8484
arch: i686
8585

8686
env:
@@ -167,8 +167,11 @@ jobs:
167167
with:
168168
python-version: '3.12'
169169

170+
- name: Install build
171+
run: pip install build
172+
170173
- name: Build sdist
171-
run: python setup.py sdist
174+
run: python -m build --sdist
172175

173176
- uses: actions/upload-artifact@v3
174177
with:

0 commit comments

Comments
 (0)