Skip to content

Commit

Permalink
Move to manylinux_2_28_x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
philomath213 committed Oct 2, 2024
1 parent 264b71f commit 365642e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 41 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/pythonpublish-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,7 @@ jobs:
- cp312-cp312

runs-on: ubuntu-latest
container: quay.io/pypa/manylinux2014_x86_64

# node20 can't run on manylinux2014 as it requires newer version of GLIBC
# https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
env:
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
container: quay.io/pypa/manylinux_2_28_x86_64

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
Expand All @@ -33,9 +27,9 @@ jobs:
run: |
echo "/opt/python/${{ matrix.python-version }}/bin" >> $GITHUB_PATH
- name: Install dependencies
run: .github/workflows/scripts/install_req_centos.sh
run: .github/workflows/scripts/install_req_manylinux.sh
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: .github/workflows/scripts/release_centos.sh
run: .github/workflows/scripts/release_manylinux.sh
21 changes: 0 additions & 21 deletions .github/workflows/scripts/install_req_centos.sh

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/scripts/install_req_manylinux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

# install python dependencies
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel twine auditwheel
11 changes: 0 additions & 11 deletions .github/workflows/scripts/release_centos.sh

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/scripts/release_manylinux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

python3 -m pip wheel . -w dist/ --no-deps
auditwheel repair dist/*.whl --plat $AUDITWHEEL_PLAT
twine upload --skip-existing wheelhouse/*

0 comments on commit 365642e

Please sign in to comment.