Skip to content

Conversation

@Kyle-Ye
Copy link
Contributor

@Kyle-Ye Kyle-Ye commented Nov 8, 2023

Lower Apple Platform requirement in Package.swift

Motivation:

Close #101

Modifications:

Lower Apple Platform requirement in Package.swift

Result:

A Package with iOS 13 support can at least have a dependency on it.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

@grynspan
Copy link
Contributor

grynspan commented Nov 8, 2023

@swift-ci please test

@stmontgomery stmontgomery added the enhancement New feature or request label Nov 13, 2023
@grynspan grynspan added the darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support label Nov 14, 2023
@Kyle-Ye Kyle-Ye requested a review from stmontgomery November 15, 2023 02:59
@stmontgomery
Copy link
Contributor

Per my recent reply, I think we can proceed with this.

But first: I'm running CI again to confirm a theory that this will fail on macOS because I landed a change in #104 that requires newer OS versions after this PR was posted. I have a fix incoming for that, however, so we can land that first and then proceed with landing this.

@stmontgomery
Copy link
Contributor

@swift-ci please test

Copy link
Contributor

@stmontgomery stmontgomery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, but waiting to merge until CI failures are resolved

@stmontgomery
Copy link
Contributor

CI is failing in the way I would expect, now. Fixing that in #121

@stmontgomery
Copy link
Contributor

@swift-ci please test

@stmontgomery stmontgomery merged commit 88ee7b6 into swiftlang:main Nov 16, 2023
@Kyle-Ye Kyle-Ye deleted the optimize/kyle/version branch November 17, 2023 02:43
grynspan added a commit that referenced this pull request Nov 17, 2023
 #102 introduced a warning when building the GitStatus executable, which we use to get repo information during building:

> [!WARNING]
> ```
> swift-testing/Sources/GitStatus/main.swift:65:24: warning: no calls to throwing functions occur within 'try' expression
>     guard let output = try? stdoutPipe.fileHandleForReading.readData(ofLength: maxOutputCount) else {
>                        ^
> ```

This PR resolves the warning.
grynspan added a commit that referenced this pull request Nov 17, 2023
#102 introduced a warning when building the GitStatus executable, which we use to get repo information during building:

> [!WARNING]
> ```
> swift-testing/Sources/GitStatus/main.swift:65:24: warning: no calls to throwing functions occur within 'try' expression
>     guard let output = try? stdoutPipe.fileHandleForReading.readData(ofLength: maxOutputCount) else {
>                        ^
> ```

This PR resolves the warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lower the platform requirement

3 participants