Skip to content

Commit ba10e8a

Browse files
bkhouribnbarham
authored andcommitted
Remove Swift-numerics dependency
A `swift-numerics` package dependency was added to convert an XCTest `XCTAssertEqual(_:_:accuracy:_:file:line:)` API do use the `isApproximatelyEqual()` API in `swift-numerics`, but converting that test resulted in a flaky behaviour. As such, the test was not converted to Swift Testing, but the swift-numerics dependency remained. This change removes the swift-numerics dependency as it's no currently required.
1 parent f4035c1 commit ba10e8a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Package.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,6 @@ let package = Package(
828828
"Basics",
829829
"_InternalTestSupport",
830830
"tsan_utils",
831-
.product(name: "Numerics", package: "swift-numerics"),
832831
],
833832
exclude: [
834833
"Archiver/Inputs/archive.tar.gz",
@@ -1082,9 +1081,6 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
10821081
.package(url: "https://github.com/swiftlang/swift-toolchain-sqlite.git", from: "1.0.0"),
10831082
// For use in previewing documentation
10841083
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0"),
1085-
1086-
// Test dependency
1087-
.package(url: "https://github.com/apple/swift-numerics.git", from: "1.0.3"),
10881084
]
10891085
} else {
10901086
package.dependencies += [
@@ -1097,7 +1093,6 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
10971093
.package(path: "../swift-collections"),
10981094
.package(path: "../swift-certificates"),
10991095
.package(path: "../swift-toolchain-sqlite"),
1100-
.package(path: "../swift-numerics"),
11011096
]
11021097
}
11031098

0 commit comments

Comments
 (0)