Skip to content
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

build: fix dependencies #599

Merged
merged 3 commits into from May 30, 2023
Merged

build: fix dependencies #599

merged 3 commits into from May 30, 2023

Conversation

compnerd
Copy link
Collaborator

@compnerd compnerd commented May 29, 2023

We need to use updated Package.swift manifest syntax for updating the standalone build to better match the CI build.

When building in CI, we build against swift-crypto 2.5.0 as per update-checkout-config.json in apple/swift. Adjust the standalone builds to match.

When building on CI, we would build against swift-argument-parser 1.2.2 as per update-checkout-config.json in apple/swift. Make the standalone builds match.

We build against versions of NIO which have a minimum Swift version requirement of 5.6. Match that requirement and update the manifest syntax to match.

@compnerd
Copy link
Collaborator Author

@swift-ci please test

1 similar comment
@compnerd
Copy link
Collaborator Author

@swift-ci please test

compnerd and others added 3 commits May 30, 2023 08:52
We need this to use the new initialiser `init(url:exact:)` for updating
the standalone build to match the CI build.

When building in CI, we would build against swift-crypto 2.5.0 as per
update-checkout-config.json in apple/swift.  Adjust the standalone
builds to match.

When building on CI, we would build against swift-argument-parser 1.2.2
as per update-checkout-config.json in apple/swift.  Make the standalone
builds match.
…NIO).

- Remove deprecated usages and bump the dependency version requirements for NIO, ArgumentParser, and SwiftCrypto (most especially the latter so that updates in the 2.x series are available).
- Remove old #if swift conditionals no longer required
- Package.resolved now uses the version 2 format
@compnerd
Copy link
Collaborator Author

@swift-ci please test

@compnerd compnerd merged commit b279723 into apple:main May 30, 2023
2 checks passed
@compnerd compnerd deleted the build branch May 30, 2023 16:03
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.

None yet

3 participants