Skip to content

Commit

Permalink
fix wheel for pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
lexdene committed Oct 18, 2024
1 parent 6d904a1 commit 3e880e5
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
run: python -m pip install cibuildwheel==2.21.3

- name: Build wheels
env:
CIBW_BEFORE_BUILD: pip install 'setuptools<72.2.0 ; implementation_name == "PyPy"'
run: python -m cibuildwheel --output-dir wheelhouse
- name: Check build result
run: ls -lh wheelhouse/
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Wheel

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
pypi:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.21.3

- name: Build wheels
env:
CIBW_BEFORE_BUILD: pip install 'setuptools<72.2.0 ; implementation_name == "PyPy"'
run: python -m cibuildwheel --output-dir wheelhouse
- name: Check build result
run: ls -lh wheelhouse/
4 changes: 2 additions & 2 deletions libmc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
__file__ as _libmc_so_file
)

__VERSION__ = "1.4.7"
__version__ = "1.4.7"
__VERSION__ = "1.4.8"
__version__ = "1.4.8"
__author__ = "mckelvin"
__email__ = "[email protected]"
__date__ = "Fri Jun 7 06:16:00 2024 +0800"
Expand Down
2 changes: 1 addition & 1 deletion src/version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package golibmc

const _Version = "1.4.7"
const _Version = "1.4.8"
const _Author = "mckelvin"
const _Email = "[email protected]"
const _Date = "Fri Jun 7 06:16:00 2024 +0800"
Expand Down

0 comments on commit 3e880e5

Please sign in to comment.