Skip to content

Conversation

@ktoso
Copy link
Member

@ktoso ktoso commented Aug 1, 2020

Because: apple/swift-nio-ssl#236

and a specific project pinning the NIO version, we have to also pin and add the try.

It is impossible for us to support both versions because the change apple/swift-nio-ssl#236 causes either a deprecation warning, or an extrra try where there should not be one warning -- and we build with warnings as errors, so we can't build in either "compat with everything" style...

:-(

Not sure for a real solution other than the other project updating to 2.8+

@ktoso
Copy link
Member Author

ktoso commented Aug 1, 2020

I dont think we can merge this though hm... Yet another version uses 2.8 etc... we need to figure out a real answer hm

@ktoso
Copy link
Member Author

ktoso commented Aug 3, 2020

Ok the more proper "fix" here is that we should require 2.8 and then it's up to others to bump dependencies.
Will fix the PR and merge

var dependencies: [Package.Dependency] = [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.12.0"),
.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.2.0"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.2.0"),
Copy link
Member Author

Choose a reason for hiding this comment

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

ok now good to merge, on it.

@ktoso ktoso merged commit a4e5c1c into apple:main Aug 7, 2020
@ktoso ktoso deleted the wip-fix-nio-ssl-compat branch August 7, 2020 01:49
@ktoso ktoso added this to the 0.5.2 milestone Aug 7, 2020
@ktoso ktoso modified the milestones: 0.5.2, 0.6.0 - "Next Minor" Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants