Open luispadron opened 2 years ago
This is probably related to the fact that spm_parser
uses 1.2.0
version of swift-argument-parser
(here) and the parser gets run via swift run
which fetches and rebuilds as needed.
However, its confusing that these versions would collide since they should be in separate packages?
Looking at it a bit more, it seems like maybe caused by this change in Package.swift of swift-argument-parser: https://github.com/apple/swift-argument-parser/blob/main/Package%40swift-5.6.swift#L94-L108
@luispadron I just reverted the incompatible version upgrade in #193. I will push a release in a few minutes.
Thanks! Wonder though what a solution here is that doesn't care about what version the internal tool is on?
Release: v0.11.2
It stems from the fact that swift-package-manager
is pinned to 1.0.x releases for swift-argument-parser
. I updated the spm_parser
package to have the same dependency definition. Right now, I don't have a better solution.
In
0.11.0
the below WORKSPACE file builds correctly for both build modes, however, in0.11.1
this is broken when building with Bazel.WORKSPACE
:Command:
Error: