Skip to content

Commit 36a45e4

Browse files
committed
Fix nit and format issue
1 parent 170a28a commit 36a45e4

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.github/workflows/python-client-release-pypi-artifact.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# under the License.
1818
#
1919

20-
name: "Build Python Client Release Pypi Artifacts"
20+
name: "Build Python Client Release PyPI Artifacts"
2121

2222
on:
2323
workflow_call:
@@ -53,9 +53,6 @@ jobs:
5353
distribution: 'temurin'
5454
java-version: '21'
5555

56-
- name: Set version with RC
57-
run:
58-
5956
- name: Set version with RC
6057
env:
6158
VERSION: ${{ inputs.VERSION }}
@@ -74,7 +71,7 @@ jobs:
7471
env:
7572
# Ignore 32 bit architectures
7673
CIBW_ARCHS: "auto64"
77-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.14"
74+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
7875
CIBW_REPAIR_WHEEL_COMMAND_MACOS: "" # Disable wheel repair since there will be no binary in the wheel
7976
CIBW_REPAIR_WHEEL_COMMAND_LINUX: ""
8077
CIBW_ENVIRONMENT: POLARIS_CLI_SKIP_CLIENT_GENERATION="true" # java is not available in linux containers during wheel build, skip client generation
@@ -83,7 +80,6 @@ jobs:
8380
if: startsWith(matrix.os, 'ubuntu-24.04')
8481
run: ls -lah ./client/python/dist/* && cp ./client/python/dist/* wheelhouse/
8582

86-
8783
- uses: actions/upload-artifact@v4
8884
with:
8985
name: "python-client-pypi-release-candidate-${{ matrix.os }}"

.github/workflows/python-client-release-svn-artifact.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
env:
6767
# Ignore 32 bit architectures
6868
CIBW_ARCHS: "auto64"
69-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.14"
69+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.14"
7070
CIBW_REPAIR_WHEEL_COMMAND_MACOS: "" # Disable wheel repair since there will be no binary in the wheel
7171
CIBW_REPAIR_WHEEL_COMMAND_LINUX: ""
7272
CIBW_ENVIRONMENT: POLARIS_CLI_SKIP_CLIENT_GENERATION="true" # java is not available in linux containers during wheel build, skip client generation
@@ -75,7 +75,6 @@ jobs:
7575
if: startsWith(matrix.os, 'ubuntu-24.04')
7676
run: ls -lah ./client/python/dist/* && cp ./client/python/dist/* wheelhouse/
7777

78-
7978
- uses: actions/upload-artifact@v4
8079
with:
8180
name: "python-client-svn-release-candidate-${{ matrix.os }}"

.github/workflows/python-release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
echo "Detected Poetry version: $current_polaris_client_version"
102102
103103
# Compare the input version with the Poetry version
104-
if [[ "$VERSION" != "$current_polaris_client_version" ]]; then
104+
if [[ "$VERSION" != "$current_polaris_client_version" && "${github_event_name}" != "pull_request" ]]; then
105105
echo "Error: Input version ($VERSION) does not match the Poetry version ($current_polaris_client_version)"
106106
exit 1
107107
fi

0 commit comments

Comments
 (0)