-
-
Notifications
You must be signed in to change notification settings - Fork 600
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
Pull in CwlCatchException and CwlPreconditionTesting transitively. #1108
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stop embedding them, and pull them in through SPM or Cocoapods transitively.
younata
force-pushed
the
pull_in_dependencies_via_spm_where_possible
branch
from
December 20, 2023 15:35
99f5049
to
ee9c5dc
Compare
I think we can close #1097 now as well 👍 |
1 task
cgrindel-self-hosted-renovate bot
referenced
this pull request
in cgrindel/rules_swift_package_manager
Dec 22, 2023
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [Quick/Nimble](https://togithub.com/Quick/Nimble) | minor | `from: "13.0.0"` -> `from: "13.1.1"` | --- ### Release Notes <details> <summary>Quick/Nimble (Quick/Nimble)</summary> ### [`v13.1.1`](https://togithub.com/Quick/Nimble/releases/tag/v13.1.1): - The Require DSL, but now with a fixed cocoapods build [Compare Source](https://togithub.com/Quick/Nimble/compare/v13.1.0...v13.1.1) ### Highlights See [the previous release](https://togithub.com/Quick/Nimble/releases/tag/v13.1.0) for more on the require DSL. #### BugFixes - Fix cocoapods release. ### Automated Release Notes #### What's Changed - Fix build on cocoapods by specifying the correct location for the CocoaWithLove exception helper libraries by [@​younata](https://togithub.com/younata) in [https://github.com/Quick/Nimble/pull/1109](https://togithub.com/Quick/Nimble/pull/1109) **Full Changelog**: Quick/Nimble@v13.1.0...v13.1.1 ### [`v13.1.0`](https://togithub.com/Quick/Nimble/releases/tag/v13.1.0): - The Require DSL [Compare Source](https://togithub.com/Quick/Nimble/compare/v13.0.0...v13.1.0) ### Highlights #### New Features - Introduce the `require` dsl. This throws an error (a `RequireError`, or a custom one) if the matcher used with it fails. If the matcher doesn't fail, then the require dsl will return the result of the expression. - For example, `try require([1, 2, 3]).to(haveCount(3))` will return `[1, 2, 3]`. However `try require(2).toEqual(1))` will throw a `RequireError`. - When the matcher fails, `require` will still register the assertion failure with XCTest. - This also adds `unwrap` and `pollUnwrap`, which are work as `try require(...).toNot(beNil())` and `try require(...).toEventuallyNot(beNil())`. With both sync and async variants. They either throw, or return non-optional versions of the expression. - See the [documentation here](https://togithub.com/Quick/Nimble/tree/v13.1.0#using-require-to-demand-that-a-matcher-pass-before-continuing) for more. #### Deprecations - Removes `Expectation.onFailure`, as the new `require` dsl entirely replaces that API. This deprecation will persist through Nimble 14, before being marked as removed in Nimble 15 and fully removed in Nimble 16. #### Breaking Changes - The `throwAssertion` matcher no longer supports watchOS and tvOS in the cocoapods distribution of Nimble. This is because Nimble no longer directly embeds the CwlCatchException CwlPreconditionTesting libraries used in that matcher and instead Nimble pulls in those libraries transitively through the package manager used. ### Automated Release Notes #### What's Changed - Bump cocoapods from 1.13.0 to 1.14.2 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Quick/Nimble/pull/1094](https://togithub.com/Quick/Nimble/pull/1094) - Introduce the require dsl. For when you need the assertion to pass before continuing by [@​younata](https://togithub.com/younata) in [https://github.com/Quick/Nimble/pull/1103](https://togithub.com/Quick/Nimble/pull/1103) - Pull in CwlCatchException and CwlPreconditionTesting transitively. by [@​younata](https://togithub.com/younata) in [https://github.com/Quick/Nimble/pull/1108](https://togithub.com/Quick/Nimble/pull/1108) **Full Changelog**: Quick/Nimble@v13.0.0...v13.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM2LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
4 tasks
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
They dropped Carthage support anyway.
Because the cocoapods distribution of CwlCatchException/CwlPreconditionTesting do not support tvOS/watchOS, we will be forced to drop those from the cocoapods distribution of Quick/Nimble... sigh.