Skip to content

Commit 7cf96d2

Browse files
committed
[SPARK-54080] Use Swift 6.2 as the minimum supported version
1 parent 2fdba1d commit 7cf96d2

File tree

14 files changed

+19
-51
lines changed

14 files changed

+19
-51
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,11 @@ jobs:
4040
with:
4141
config: .github/.licenserc.yaml
4242

43-
build-macos-15-swift60:
43+
build-macos-15-swift62:
4444
runs-on: macos-15
4545
timeout-minutes: 20
4646
steps:
4747
- uses: actions/checkout@v5
48-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
49-
with:
50-
swift-version: "6.0"
51-
- name: Build
52-
run: swift build -c release
53-
54-
build-macos-15-swift61:
55-
runs-on: macos-15
56-
timeout-minutes: 20
57-
steps:
58-
- uses: actions/checkout@v5
59-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
60-
with:
61-
swift-version: "6.1"
6248
- name: Build
6349
run: swift build -c release
6450

@@ -135,9 +121,6 @@ jobs:
135121
SPARK_LOCAL_IP: localhost
136122
steps:
137123
- uses: actions/checkout@v5
138-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
139-
with:
140-
swift-version: "6.1"
141124
- name: Build
142125
run: swift test --filter NOTHING -c release
143126
- name: Test
@@ -157,9 +140,6 @@ jobs:
157140
SPARK_LOCAL_IP: localhost
158141
steps:
159142
- uses: actions/checkout@v5
160-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
161-
with:
162-
swift-version: "6.1"
163143
- name: Build
164144
run: swift test --filter NOTHING -c release
165145
- name: Test
@@ -180,9 +160,6 @@ jobs:
180160
SPARK_CONNECT_AUTHENTICATE_TOKEN: ${{ github.run_id }}-${{ github.run_attempt }}
181161
steps:
182162
- uses: actions/checkout@v5
183-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
184-
with:
185-
swift-version: "6.1"
186163
- name: Build
187164
run: swift test --filter NOTHING -c release
188165
- name: Test
@@ -202,9 +179,6 @@ jobs:
202179
SPARK_LOCAL_IP: localhost
203180
steps:
204181
- uses: actions/checkout@v5
205-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
206-
with:
207-
swift-version: "6.1"
208182
- name: Install Java
209183
uses: actions/setup-java@v4
210184
with:
@@ -230,9 +204,6 @@ jobs:
230204
SPARK_ICEBERG_TEST_ENABLED: "true"
231205
steps:
232206
- uses: actions/checkout@v5
233-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
234-
with:
235-
swift-version: "6.1"
236207
- name: Install Java
237208
uses: actions/setup-java@v4
238209
with:
@@ -259,9 +230,6 @@ jobs:
259230
SPARK_ICEBERG_TEST_ENABLED: "true"
260231
steps:
261232
- uses: actions/checkout@v5
262-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
263-
with:
264-
swift-version: "6.1"
265233
- name: Install Java
266234
uses: actions/setup-java@v4
267235
with:

Examples/app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM swift:6.1 AS builder
17+
FROM swift:6.2 AS builder
1818

1919
WORKDIR /app
2020

2121
COPY . .
2222

2323
RUN swift build -c release
2424

25-
FROM swift:6.1-slim
25+
FROM swift:6.2-slim
2626

2727
ARG SPARK_UID=185
2828

Examples/app/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 6.2
22
//
33
// Licensed to the Apache Software Foundation (ASF) under one
44
// or more contributor license agreements. See the NOTICE file

Examples/pi/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM swift:6.1 AS builder
17+
FROM swift:6.2 AS builder
1818

1919
WORKDIR /app
2020

2121
COPY . .
2222

2323
RUN swift build -c release
2424

25-
FROM swift:6.1-slim
25+
FROM swift:6.2-slim
2626

2727
ARG SPARK_UID=185
2828

Examples/pi/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 6.2
22
//
33
// Licensed to the Apache Software Foundation (ASF) under one
44
// or more contributor license agreements. See the NOTICE file

Examples/spark-sql/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM swift:6.1 AS builder
17+
FROM swift:6.2 AS builder
1818

1919
WORKDIR /app
2020

2121
COPY . .
2222

2323
RUN swift build -c release
2424

25-
FROM swift:6.1-slim
25+
FROM swift:6.2-slim
2626

2727
ARG SPARK_UID=185
2828

Examples/spark-sql/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 6.2
22
//
33
// Licensed to the Apache Software Foundation (ASF) under one
44
// or more contributor license agreements. See the NOTICE file

Examples/stream/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM swift:6.1 AS builder
17+
FROM swift:6.2 AS builder
1818

1919
WORKDIR /app
2020

2121
COPY . .
2222

2323
RUN swift build -c release
2424

25-
FROM swift:6.1-slim
25+
FROM swift:6.2-slim
2626

2727
ARG SPARK_UID=185
2828

Examples/stream/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 6.2
22
//
33
// Licensed to the Apache Software Foundation (ASF) under one
44
// or more contributor license agreements. See the NOTICE file

Examples/web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
FROM swift:6.1 AS builder
17+
FROM swift:6.2 AS builder
1818

1919
WORKDIR /app
2020

2121
COPY . .
2222

2323
RUN swift build -c release
2424

25-
FROM swift:6.1-slim
25+
FROM swift:6.2-slim
2626

2727
ARG SPARK_UID=185
2828

0 commit comments

Comments
 (0)