File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 - uses : actions/checkout@v4
7171 with :
7272 path : ' src'
73- ref : ' 0.15.2 '
73+ ref : ' 0.16.0 '
7474
7575 - uses : actions/checkout@v4
7676 with :
@@ -86,19 +86,18 @@ jobs:
8686 python -m pip install --upgrade pip setuptools wheel
8787 python -m pip install cibuildwheel==2.21.2
8888
89- # Hack: cmake --trace-expand
90- # - name: Download Patch 2/2
91- # uses: suisei-cn/actions-download-file@v1
92- # id: setupversion
93- # with:
94- # url: "https://gist.githubusercontent.com/ax3l/9b15c5bc73d7f3c1c66784187a016474/raw/e31dd54498c9c8fc465a7cbb6f900f768b9d0c0b/0001-Hack-setup.py-CMake-trace-expand.patch"
95- # target: src/.patch/
96-
97- # - name: Apply Patches
98- # run: |
99- # python -m pip install patch
100- # cd src
101- # python -m patch .patch/0001-Hack-setup.py-CMake-trace-expand.patch
89+ # Patch: Fix versioning
90+ - name : Download Patch 1/1
91+ uses : suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
92+ id : setupversion
93+ with :
94+ url : " https://github.com/openPMD/openPMD-api/pull/1680.patch"
95+ target : src/.patch/
96+
97+ - name : Apply Patches
98+ run : |
99+ cd src
100+ git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
102101
103102 - name : Build wheel
104103 env :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ branches:
88
99env :
1010 global :
11- - OPENPMD_GIT_REF="0.15.2 "
11+ - OPENPMD_GIT_REF="0.16.0 "
1212
1313 - CIBW_PROJECT_REQUIRES_PYTHON=">=3.9"
1414 # Install dependencies on Linux and OSX
@@ -144,19 +144,14 @@ install:
144144 - python -m pip install patch
145145
146146# Download & Apply Patches
147- # before_script:
148- # - mkdir -p src/.patch
149- # - cd src/.patch
150- # - curl -sOL https://github.com/ax3l/openPMD-api/commit/b622cc5ea770f866c1e373185a9e389c04bdb54c.patch
151- # - curl -sOL https://github.com/ax3l/openPMD-api/commit/a1aac530dbc8261656cf6a07900374bc6ac6fcab.patch
152- # - curl -sOL https://github.com/ax3l/openPMD-api/commit/43c4bf4327616e9cf7e7992d91d9b8ccd4ee3a83.patch
153- # - curl -sOL https://gist.githubusercontent.com/ax3l/5e83edefe4b05cf6aa2a971649285fe0/raw/023cbd69e06715e5191ece741bb1de56560a9f96/0001-Bump-setup.py.patch
154- # - cd ..
155- # - python -m patch .patch/b622cc5ea770f866c1e373185a9e389c04bdb54c.patch
156- # - python -m patch .patch/a1aac530dbc8261656cf6a07900374bc6ac6fcab.patch
157- # - python -m patch .patch/43c4bf4327616e9cf7e7992d91d9b8ccd4ee3a83.patch
158- # - python -m patch .patch/0001-Bump-setup.py.patch
159- # - cd ..
147+ before_script :
148+ - mkdir -p src/.patch
149+ - cd src/.patch
150+ - curl -sOL https://github.com/openPMD/openPMD-api/pull/1680.patch
151+ - cd ..
152+ - ls -hal .patch/
153+ - git apply --exclude=.github/workflows/windows.yml .patch/1680.patch
154+ - cd ..
160155
161156script :
162157 - cd src
You can’t perform that action at this time.
0 commit comments