Skip to content

Conversation

@BalestraPatrick
Copy link
Member

@BalestraPatrick BalestraPatrick commented Aug 9, 2019

Mobius.swift is using a pretty old version of Quick and Nimble which is causing SPM to not resolve the dependency graph in some cases (for example when used to together with XCLogParser which uses Commandant which itself has a dependency on Quick 2.0.0 and Nimble 8.0.0). For this reason, it's good to move to the newer versions.

I took the opportunity to also update to Swift 5 and apply all Xcode 10.2.1 suggested fixes in
4d5d5bc.

Update: Turns out these changes are not needed at all, it probably was a temporary Xcode glitch.

Note: the new version of Quick that we have updated to has some warnings that are still unresolved (Quick/Nimble#661).
Update: These warnings don't show up anymore on my machine for some reason, even better.

@codecov
Copy link

codecov bot commented Aug 9, 2019

Codecov Report

Merging #35 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   96.29%   96.29%           
=======================================
  Files          36       36           
  Lines         864      864           
=======================================
  Hits          832      832           
  Misses         32       32

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 206a77b...69c081f. Read the comment docs.

dflems
dflems previously approved these changes Aug 9, 2019
Package.swift Outdated
.package(url: "https://github.com/Quick/Nimble", .upToNextMajor(from: "7.0.0")),
.package(url: "https://github.com/Quick/Quick", .upToNextMinor(from: "1.2.0")),
.package(url: "https://github.com/Quick/Nimble", from: "8.0.0"),
.package(url: "https://github.com/Quick/Quick", from: "2.0.0"),
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this should be from: "2.1.0", since Carthage users are free to start depending on hypothetical 2.1 features

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated

.testTarget(name: "MobiusTestTests", dependencies: ["MobiusTest", "Quick"], path: "MobiusTest/Test"),
],
swiftLanguageVersions: [.v4_2]
swiftLanguageVersions: [.v5]
Copy link
Contributor

Choose a reason for hiding this comment

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

[.v4_2, .v5] for consistency?

Copy link
Member Author

Choose a reason for hiding this comment

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

Why is that? This Package.swift will be used when targeting Swift 5, and Package@swift-4.2.swift when targeting Swift 4.2

Copy link
Contributor

Choose a reason for hiding this comment

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

Bad brain moment there

@BalestraPatrick BalestraPatrick merged commit 3cacfd4 into spotify:master Aug 9, 2019
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.

4 participants