Skip to content

Commit 01925fc

Browse files
ssaradssaradp
andauthored
Drop support for Bazel 6 (#935)
⚠️ Bazel 6 support is being dropped from rules_ios starting release > 5.3.0 With new changes in rules_apple such as removal of legacy objc_provider, latest rules_apple and latest rules_ios are no longer compatible, the PR is up to fix but we need to drop support for Bazel 6 to move on with that PR due to rules_apple dropping support for Bazel 6 Additionally, @luispadron 's survey showed most of us are on Bazel 7. ## Related PRs - #934 Co-authored-by: Sarad <[email protected]>
1 parent 36c3efc commit 01925fc

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

.bcr/presubmit.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
matrix:
2-
bazel: ["6.x", "7.x"]
2+
bazel: ["7.x"]
33
tasks:
4-
verify_build_targets_bazel_6:
5-
name: Verify Build targets on macOS with Bazel 6
6-
platform: macos_arm64
7-
bazel: 6.x
8-
build_targets:
9-
- "@rules_ios//rules/..."
104
verify_build_targets_bazel_7:
115
name: Verify Build targets on macOS with Bazel 7
126
platform: macos_arm64

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
bazel_version: [6.5.0, 7.1.0]
23+
bazel_version: [7.1.0]
2424
xcode_version: [15.2]
2525
virtual_frameworks: [true, false]
2626
sandbox: [true, false]
@@ -85,7 +85,7 @@ jobs:
8585
strategy:
8686
fail-fast: false
8787
matrix:
88-
bazel_version: [6.5.0, 7.1.0]
88+
bazel_version: [7.1.0]
8989
sandbox: [true, false]
9090
xcode_version: [15.2]
9191
env:
@@ -164,7 +164,7 @@ jobs:
164164
strategy:
165165
fail-fast: false
166166
matrix:
167-
bazel_version: [6.5.0, 7.1.0]
167+
bazel_version: [7.1.0]
168168
xcode_version: [15.2]
169169
env:
170170
XCODE_VERSION: ${{ matrix.xcode_version }}

MODULE.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module(
88
name = "rules_ios",
99
version = "0",
1010
bazel_compatibility = [
11-
">=6.0.0",
11+
">=7.0.0",
1212
],
1313
compatibility_level = 1,
1414
repo_name = "build_bazel_rules_ios",

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See the following table for supported release versions.
3131
| Bazel release | Minimum supported rules version | Final supported rules version
3232
|:-------------------:|:-------------------------:|:-------------------------:
3333
| 7.* | 4.4.0 | current
34-
| 6.* | 2.0.0 | current
34+
| 6.* | 2.0.0 | 5.3.0
3535
| 5.* | 1.0.0 | 3.2.2
3636
| 4.* | 1.0.0 | 1.0.0
3737

0 commit comments

Comments
 (0)