Skip to content

Package plugin cannot be used if dependency versions are unstable #699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

shimastripe
Copy link

@shimastripe shimastripe commented Mar 9, 2024

WHY

Showing Recent Messages
Failed to resolve dependencies Dependencies could not be resolved because 'MyApp' depends on 'swift-format' 510.0.0..<511.0.0.
'swift-format' >= 510.0.0 cannot be used because no versions of 'swift-format' match the requirement 510.0.1..<511.0.0 and package 'swift-format' is required using a stable-version but 'swift-format' depends on an unstable-version package 'swift-syntax'.
  • swift-format depends on unstable version (branch: main) of swift-syntax.
    • I would like to see dependencies in the stable version if it is not during development. What do you think?

HOW

  • Use stable version of apple-syntax
    • The patch version is set to go up automatically.

@shimastripe shimastripe changed the title Package plugin cannot used if dependency versions are unstable Package plugin cannot be used if dependency versions are unstable Mar 9, 2024
@ahoppen
Copy link
Member

ahoppen commented Mar 11, 2024

The branch dependency slipped in to 510.0.0. It should be fixed in 510.0.1. Could you try that?

@ahoppen ahoppen closed this Mar 11, 2024
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