Skip to content
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

[Examples] Stop linking transitive dependencies in tests #487

Merged

Conversation

czechboy0
Copy link
Contributor

Motivation

In Swift 5.9.2, a bug is fixed that forced us to previously explicitly link transitive dependencies in tests. So let's remove it, and also bump the swift-tools-version of the affected projects to 5.9.2 to make it explicit.

Modifications

Removed the explicit linkage, bumped the swift-tools-version.

Result

Examples show the best practices using the latest tools.

Test Plan

Ran locally using:

docker run --rm -it -v $PWD/Examples/hello-world-hummingbird-server-example:/app swift:5.9 swift test --package-path /app

Failed with 5.9.1. Passed with 5.9.2 (and 5.9, which is now an alias for 5.9.2).

@czechboy0 czechboy0 enabled auto-merge (squash) December 14, 2023 09:25
@czechboy0 czechboy0 merged commit 11f1629 into apple:main Dec 14, 2023
9 checks passed
@czechboy0 czechboy0 deleted the hd-remove-linking-transitive-deps-in-tests branch December 14, 2023 10:15
@czechboy0 czechboy0 added the semver/none No version bump required. label Dec 15, 2023
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