Replies: 1 comment 3 replies
-
Hi @abidon, our dependence on SwiftSyntax is quite relaxed: Which version of SwiftSyntax are you targeting? Is it some pre-release version for Swift 6? It would be quite a breaking change to do this, and it would be a lot more annoying to maintain. It may be more preferable for us to maintain pre-releases branches ourselves that match SwiftSyntax's branches. But before making any decisions it would be good to get more information on your situation. Since this isn't an actual bug with the library I am going to convert it to a discussion. Let's continue the conversation over there. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
The
DependenciesMacros
target requires theswift-syntax
package, and the number of projects using this package is growing fast.The main issue is that each library has different
swift-syntax
version constraints and it can become difficult to use libraries together if they aren't maintained at the same speed.For anyone who doesn't use
DependenciesMacros
, getting blocked by it at packages resolution can be quite frustrating 😅For this reason I believe anything related to macros should be opt-in instead of forced:
I would be glad to contribute to the effort.
Checklist
main
branch of this package.Expected behavior
Being able to resolve dependencies without being impacted by targets that are optional and unused.
Actual behavior
Package resolution fails for
swift-syntax
because of conflicts with other libraries.Steps to reproduce
swift-dependencies
swift-syntax
version 600 or later (or any library using swift-syntax with incompatible version constraints, i.e.swift-testing
0.8 or later)Dependencies version information
No response
Destination operating system
Any
Xcode version information
No response
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions