Skip to content

Relax AsyncSequence.collect availability check #1616

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

rnro
Copy link
Collaborator

@rnro rnro commented Jun 16, 2023

Motivation:

Tests currently fail with:

grpc-swift/Tests/GRPCTests/GRPCAsyncClientCallTests.swift:374:61:
error: 'collect()' is only available in macOS 12 or newer

Modifications:

Relax the availability check on the AsyncSequence extension. It seems to arise from the constraint on AsyncSequence.reduce(into: Result) which only requires 10.15, not 12.

Result:

Tests should pass.

Motivation:

Tests currently fail with:
> grpc-swift/Tests/GRPCTests/GRPCAsyncClientCallTests.swift:374:61:
error: 'collect()' is only available in macOS 12 or newer

Modifications:

Relax the availability check on the `AsyncSequence` extension. It seems
to arise from the constraint on `AsyncSequence.reduce(into: Result)` which only requires 10.15, not 12.

Result:

Tests should pass.
@glbrntt glbrntt added the semver/none No version bump required. label Jun 16, 2023
@glbrntt glbrntt enabled auto-merge (squash) June 16, 2023 09:49
@glbrntt glbrntt merged commit 2453b90 into grpc:main Jun 16, 2023
@rnro rnro deleted the test_failure_collect_macos_12_availability branch June 16, 2023 10:04
WendellXY pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
Motivation:

Tests currently fail with:
> grpc-swift/Tests/GRPCTests/GRPCAsyncClientCallTests.swift:374:61:
error: 'collect()' is only available in macOS 12 or newer

Modifications:

Relax the availability check on the `AsyncSequence` extension. It seems
to arise from the constraint on `AsyncSequence.reduce(into: Result)` which only requires 10.15, not 12.

Result:

Tests should pass.
pinlin168 pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
Motivation:

Tests currently fail with:
> grpc-swift/Tests/GRPCTests/GRPCAsyncClientCallTests.swift:374:61:
error: 'collect()' is only available in macOS 12 or newer

Modifications:

Relax the availability check on the `AsyncSequence` extension. It seems
to arise from the constraint on `AsyncSequence.reduce(into: Result)` which only requires 10.15, not 12.

Result:

Tests should pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants