Skip to content

Commit c3e314a

Browse files
authored
Merge pull request #116 from gliptak/python310
Bump joerick/cibuildwheel to v1.12.0 in GHA
2 parents 0798b55 + e33c430 commit c3e314a

3 files changed

Lines changed: 17 additions & 15 deletions

File tree

.github/workflows/pypy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: PyPy
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
48

59
jobs:
610
build:
@@ -21,7 +25,7 @@ jobs:
2125
architecture: x64
2226

2327
- name: Install test dependencies
24-
run: pip install cffi flake8 pytest
28+
run: pip install cffi flake8 pytest wheel
2529

2630
- name: Install libsnappy-dev
2731
run: sudo apt-get install libsnappy-dev

.github/workflows/wheel.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: PyPi wheel and sdist
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
48

59
jobs:
610
sdist:
@@ -14,7 +18,7 @@ jobs:
1418
- name: Setup Python
1519
uses: actions/setup-python@v2
1620
with:
17-
python-version: 3.9
21+
python-version: "3.9"
1822
architecture: x64
1923

2024
- name: Install test dependencies
@@ -50,7 +54,7 @@ jobs:
5054
strategy:
5155
fail-fast: false
5256
matrix:
53-
os: [ubuntu-20.04, macos-10.15, windows-2019]
57+
os: [ubuntu-20.04, macos-11, windows-2019]
5458
architecture: ['x64']
5559
linux_archs: ["auto s390x"]
5660
include:
@@ -85,15 +89,9 @@ jobs:
8589
- name: Setup Python
8690
uses: actions/setup-python@v2
8791
with:
88-
python-version: "3.8"
92+
python-version: "3.9"
8993
architecture: ${{ matrix.architecture }}
9094

91-
# - name: Install Visual C++ for Python 2.7
92-
# if: runner.os == 'Windows'
93-
# run: |
94-
# choco install vcpython27 -f -y
95-
96-
9795
- name: Set up QEMU
9896
if: runner.os == 'Linux'
9997
uses: docker/setup-qemu-action@v1
@@ -110,7 +108,7 @@ jobs:
110108
python -m pip install delvewheel==0.0.9
111109
112110
- name: Build wheels
113-
uses: joerick/cibuildwheel@v1.9.0
111+
uses: joerick/cibuildwheel@v1.12.0
114112

115113
- uses: actions/upload-artifact@v2
116114
with:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
if 'PyPy' in sys.version:
6060
from setuptools import setup
6161
ext_modules = []
62-
install_requires = ['cffi>=1.0.0']
63-
setup_requires = ['cffi>=1.0.0']
62+
install_requires = ['cffi>=1.15.0']
63+
setup_requires = ['cffi>=1.15.0']
6464
cffi_modules = ['./src/snappy/snappy_cffi_builder.py:ffi']
6565

6666
setup(

0 commit comments

Comments
 (0)