Skip to content

Commit

Permalink
Merge branch 'develop' into pr/205
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Mar 5, 2022
2 parents 49c9f88 + 85b8751 commit d0b7c35
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
48 changes: 47 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,41 @@ jobs:
name: coverage
path: .coverage.*

test_aarch64_linux:
name: Test (${{ matrix.python.os }}, ${{ matrix.python.python-version }}, aarch64)
runs-on: ${{ matrix.python.os }}
strategy:
matrix:
python:
- {os: ubuntu-latest, python-version: 3.6, pyver: py36}
- {os: ubuntu-latest, python-version: 3.7, pyver: py37}
- {os: ubuntu-latest, python-version: 3.8, pyver: py38}
- {os: ubuntu-latest, python-version: 3.9, pyver: py39}
- {os: ubuntu-latest, python-version: "3.10", pyver: py310}
env:
py: python${{ matrix.python.python-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
- name: Test with tox
run: |
docker run --rm -v ${{ github.workspace }}:/io:rw --workdir=/io \
arm64v8/ubuntu \
bash -exc 'apt-get update && \
apt install software-properties-common -y && \
add-apt-repository ppa:deadsnakes/ppa -y && \
apt install -y ${{ env.py }} && \
apt install -y ${{ env.py }}-venv && \
${{ env.py }} -m venv .env && \
source .env/bin/activate && \
pip install -U pip wheel setuptools && \
pip install tox tox-gh-actions && \
tox -e ${{ matrix.python.pyver }} && \
deactivate'
test_macos:
name: Test (${{ matrix.os }}, ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -187,18 +222,28 @@ jobs:
path: dist/*.whl

bdist_wheel:
name: Build wheels (3.6+) on ${{ matrix.os }}
name: Build wheels (3.6+) on ${{ matrix.os }} for ${{ matrix.arch }}
needs:
- test_linux
- test_aarch64_linux
- test_macos
- test_windows_py27
- test_windows
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [auto]
include:
- os: ubuntu-latest
arch: aarch64
- os: macos-latest
arch: arm64
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
if: ${{ matrix.arch == 'aarch64' }}
uses: docker/setup-qemu-action@v1
- name: Build wheels
uses: pypa/cibuildwheel@v2.2.0
with:
Expand All @@ -207,6 +252,7 @@ jobs:
WRAPT_INSTALL_EXTENSIONS: true
CIBW_SKIP: pp*
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS: ${{ matrix.arch }}
- uses: actions/upload-artifact@v2
with:
name: dist
Expand Down
2 changes: 1 addition & 1 deletion src/wrapt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version_info__ = ('1', '13', '3')
__version_info__ = ('1', '14', '0dev1')
__version__ = '.'.join(__version_info__)

from .wrappers import (ObjectProxy, CallableObjectProxy, FunctionWrapper,
Expand Down

0 comments on commit d0b7c35

Please sign in to comment.