Skip to content

Commit

Permalink
switch to newer version of cibuildwheel for python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsnolde committed Apr 13, 2023
1 parent f0cea94 commit ad5d69e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/custom_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v3

- name: Configure Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
# conan config set "storage.path=$env:GITHUB_WORKSPACE/conan_data"
# conan install --install-folder conan_build --remote conancenter .

- uses: pypa/cibuildwheel@v2.3.1
- uses: pypa/cibuildwheel@v2.12.1
env:
MACOSX_DEPLOYMENT_TARGET: 10.15
CIBW_BUILD: cp310* cp39* cp38*
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/publish_tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fetch-depth: 0

- name: Configure Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -64,12 +64,12 @@ jobs:
conan config set "storage.path=${{ github.workspace }}/conan_data"
conan install --install-folder ${{ github.workspace }}/conan_build --remote conancenter .
- uses: pypa/cibuildwheel@v2.3.1
- uses: pypa/cibuildwheel@v2.12.1
env:
MACOSX_DEPLOYMENT_TARGET: 10.15

- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: wheelhouse/*.whl

Expand All @@ -80,9 +80,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist
Expand Down
23 changes: 6 additions & 17 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,18 @@ on:
jobs:
build_wheels:
name: PR - cp*, ubuntu-latest
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Configure Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Conan (MacOS)

- name: Lint & Style Check
run: |
pip install pip --upgrade
pip install "conan<2.0.0"
conan profile new default --detect
conan config set "storage.path=${{ github.workspace }}/conan_data"
conan install --install-folder ${{ github.workspace }}/conan_build --remote conancenter .
python -m pip install -r dev-requirements.txt
pre-commit run --all-files --show-diff-on-failure
- uses: pypa/cibuildwheel@v2.12.1
env:
MACOSX_DEPLOYMENT_TARGET: 10.15
CIBW_BUILD: cp37* cp311*

- name: Upload wheels
uses: actions/upload-artifact@v2
with:
path: wheelhouse/*.whl
4 changes: 2 additions & 2 deletions .github/workflows/push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v3

- name: Configure Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
conan install --install-folder conan_build --remote conancenter .
# only build the earliest supported python version
- uses: pypa/cibuildwheel@v2.3.1
- uses: pypa/cibuildwheel@v2.12.1
env:
MACOSX_DEPLOYMENT_TARGET: 10.15
CIBW_BUILD: cp37*
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## Unreleased

## [3.0.5](https://pypi.org/project/pyvalhalla/3.0.4/) - 2023-04-13
## [3.0.5](https://pypi.org/project/pyvalhalla/3.0.5/) - 2023-04-13

_Valhalla version 3.3.0_

Expand Down

0 comments on commit ad5d69e

Please sign in to comment.