bazelbuild / bazelbuild/rules_swift

test_observer requires macOS 13.0

Open
#1,664 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
353
Forks
172
Avg merge
23h 14m
Merged PRs (30d)
8

Description

When updating rules_swift on swift-syntax I noticed that test_observer gets automatically added and requires macOS 13.0 based on some of the APIs it's using. swift-syntax currently pins in SwiftPM to 10.15, so I was trying to keep that matched in bazel.

Seems to me like we can do a few things:

1. Force a minimum macOS version supported by rules_swift
2. Change test_observer to support older macOS versions
3. Disable test_obeserver if we're targeting something lower than 13.0

thoughts?

Contributor guide

Open the contributing guide

Research direction

Start with test_observer and swift-syntax's SwiftPM pin to macOS 10.15, then identify which APIs impose the macOS 13.0 requirement and how Bazel's target version is selected. Done requires an agreed compatibility approach among raising the minimum, changing test_observer, or disabling it for older targets, followed by validation against the supported macOS versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.