Skip to content

Commit d9f92b8

Browse files
Merged PR 26390: Prepare for pypylon 4.0.0rc2
2 parents d5ae05c + a6a682d commit d9f92b8

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

.github/workflows/main.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ env:
2424
jobs:
2525
setup:
2626
runs-on: ubuntu-latest
27+
outputs:
28+
is_release_build: ${{ env.RELEASE_BUILD == '1' }}
2729
steps:
2830
- uses: jfrog/setup-jfrog-cli@v4
2931
env:
@@ -81,14 +83,10 @@ jobs:
8183
path: macos_sdk
8284

8385
- name: Check for release build
84-
id: check_release_build
8586
if: startsWith(github.ref, 'refs/tags/')
8687
run: |
8788
echo "Build release for $GITHUB_REF"
88-
echo "release_build=1" >> $GITHUB_OUTPUT
89-
90-
outputs:
91-
is_release_build: ${{ steps.check_release_build.outputs.env.release_build == '1' }}
89+
echo "RELEASE_BUILD=1" >> $GITHUB_ENV
9290
9391
build-linux:
9492
needs: setup
@@ -129,8 +127,7 @@ jobs:
129127
docker run --rm --privileged multiarch/qemu-user-static:register --reset
130128
./scripts/build/build-arch.sh --platform-tag $P --abi-tag $A --pylon-dir ./pylon-installer $ARGS
131129
132-
# TODO: can we use v4 here?
133-
- uses: actions/upload-artifact@v3
130+
- uses: actions/upload-artifact@v4
134131
with:
135132
name: build-results-${{ matrix.p }}-${{ matrix.a }}
136133
path: dist/*
@@ -159,7 +156,7 @@ jobs:
159156
- uses: actions/checkout@v4
160157

161158
- name: Install Python
162-
uses: actions/setup-python@v4
159+
uses: actions/setup-python@v5
163160
with:
164161
python-version: "3.9 - 3.12"
165162

@@ -181,8 +178,9 @@ jobs:
181178
- name: Build wheels
182179
uses: pypa/[email protected]
183180

184-
- uses: actions/upload-artifact@v3
181+
- uses: actions/upload-artifact@v4
185182
with:
183+
name: build-results-windows
186184
path: ./wheelhouse/*.whl
187185

188186
- name: Upload Release Asset
@@ -210,7 +208,7 @@ jobs:
210208
- uses: actions/checkout@v4
211209

212210
- name: Install Python
213-
uses: actions/setup-python@v4
211+
uses: actions/setup-python@v5
214212
with:
215213
python-version: "3.9 - 3.12"
216214

@@ -233,8 +231,9 @@ jobs:
233231
PYLON_FRAMEWORK_ARM64: /Library/Frameworks
234232
PYLON_FRAMEWORK_X86_64: /Library/Frameworks
235233

236-
- uses: actions/upload-artifact@v3
234+
- uses: actions/upload-artifact@v4
237235
with:
236+
name: build-results-macos
238237
path: ./wheelhouse/*.whl
239238

240239
- name: Upload Release Asset

changelog.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Version 4.0.0rc2
2+
- Date 2024-07-03
3+
- Fixed issue with upload of release artifacts.
4+
- Fixed reference version for linux and windows builds
5+
16
Version 4.0.0rc1
27
- Date 2024-07-02
38
- Updated to pylon 7.5 on linux and windows.

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
from pathlib import Path
1919
# The pylon version this source tree was designed for, by platform
2020
ReferencePylonVersion = {
21-
"Windows": "7.4.0",
21+
"Windows": "8.0.0",
2222
# ATTENTION: This version is the pylon core version reported by pylon-config,
2323
# which is not equal to the version on the outer tar.gz
24-
"Linux": "7.4.0",
24+
"Linux": "8.0.0",
2525
"Linux_armv7l": "6.2.0",
2626
"Darwin": "7.3.1",
2727
"Darwin_arm64": "7.3.1"

0 commit comments

Comments
 (0)