Remove reliance of tests on Cats Effect, to enable Scala Native release for sttp client module #4617
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.
Most tests operate within or via Future anyways, so we remove the level of indirection and express as much as possible in terms of Future, removing the need for CE dependency in a lot of places, but especially on Native. I got
sttpClient4Native4/test
to pass locally, which is all I care about really.Note that CE release on Native 0.5 is imminent, but if it's delayed, this might be an option to get native builds of sttp modules out (and may be others?).
Getting a native tapir-sttp-client module is my only goal here, so I don't care if it's achieved by any other means – you can consider this PR if you think it has merit on its own.
not a Draft as I want to get a CI run out of it.