Skip to content

Commit

Permalink
Wheels: 0.16.1
Browse files Browse the repository at this point in the history
Update the cibuildwheel reference tracking to the 0.16.1 release.
  • Loading branch information
ax3l committed Jan 16, 2025
1 parent 851296b commit c5cdc53
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- uses: actions/checkout@v4
with:
path: 'src'
ref: '0.16.0'
ref: '0.16.1'

- uses: actions/checkout@v4
with:
Expand All @@ -86,29 +86,29 @@ jobs:
python -m pip install --upgrade pip setuptools wheel
python -m pip install cibuildwheel==2.21.2
# Patch: Fix versioning
- name: Download Patch 1/2
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
id: setupversion
with:
url: "https://github.com/openPMD/openPMD-api/pull/1680.patch"
target: src/.patch/

# Patch: PYBIND11_FINDPYTHON=ON
- name: Download Patch 2/2
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
id: setupfindpython
with:
url: "https://github.com/openPMD/openPMD-api/pull/1684.patch"
target: src/.patch/

- name: Apply Patches
run: |
cd src
git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
git apply --exclude=cmake/dependencies/pybind11.cmake .patch/1684.patch
git fetch
git apply --exclude=setup.py -3 .patch/1684.patch
# # Patch: Fix versioning
# - name: Download Patch 1/2
# uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
# id: setupversion
# with:
# url: "https://github.com/openPMD/openPMD-api/pull/1680.patch"
# target: src/.patch/

# # Patch: PYBIND11_FINDPYTHON=ON
# - name: Download Patch 2/2
# uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
# id: setupfindpython
# with:
# url: "https://github.com/openPMD/openPMD-api/pull/1684.patch"
# target: src/.patch/

# - name: Apply Patches
# run: |
# cd src
# git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
# git apply --exclude=cmake/dependencies/pybind11.cmake .patch/1684.patch
# git fetch
# git apply --exclude=setup.py -3 .patch/1684.patch

- name: Build wheel
env:
Expand Down
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branches:

env:
global:
- OPENPMD_GIT_REF="0.16.0"
- OPENPMD_GIT_REF="0.16.1"

- CIBW_PROJECT_REQUIRES_PYTHON=">=3.9"
# Install dependencies on Linux and OSX
Expand Down Expand Up @@ -154,14 +154,14 @@ install:
- python -m pip install patch

# Download & Apply Patches
before_script:
- mkdir -p src/.patch
- cd src/.patch
- curl -sOL https://github.com/openPMD/openPMD-api/pull/1680.patch
- cd ..
- ls -hal .patch/
- git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
- cd ..
#before_script:
# - mkdir -p src/.patch
# - cd src/.patch
# - curl -sOL https://github.com/openPMD/openPMD-api/pull/1680.patch
# - cd ..
# - ls -hal .patch/
# - git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
# - cd ..

script:
- cd src
Expand Down

0 comments on commit c5cdc53

Please sign in to comment.