Skip to content

Commit

Permalink
Move to manylinux_2_28_x86_64 (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
philomath213 authored Oct 3, 2024
1 parent 264b71f commit 2c9cc34
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/*

1 comment on commit 2c9cc34

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Python-Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 2c9cc34 Previous: 264b71f Ratio
tests/python/benchmarks/test_ops.py::test_perf_bfv[256-bfv_test-add] 3358.5560895702897 iter/sec (stddev: 0.000001645522078482284) 8643.950824555428 iter/sec (stddev: 0.000003551626309436832) 2.57
tests/python/benchmarks/test_ops.py::test_perf_bfv[4096-bfv_test-add] 3352.1514174863937 iter/sec (stddev: 0.0000014623501715163625) 8698.915401837972 iter/sec (stddev: 0.0000014620686432503777) 2.60

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.