-
Notifications
You must be signed in to change notification settings - Fork 103
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
Bump gen_smtp version to address Rebar 2 deprecation warning #205
Conversation
Resolves #206 |
@tgautier thoughts on how to support something like this? It seems like there are issues with backwards compatibility. Not sure if it should be handled in a major version (or pre-release thereof) or if I'm just missing something in the CI pipelines. |
This PR will also address Issue #192. |
No idea if this would work but does restricting the version of |
Ok I was able to get tests to all pass locally on elixir 1.8.2 and OTP 22 by locking the ranch version to 2.0.0 as suggested above (thanks @jbcden!). Apologies for my slow response on this. |
Dang. Looks like there were issues on OTP < 21. Thoughts on dropping support for it? Or maybe adding a deprecation warning of some kind? Or maybe cutting a new major version? |
Or another alternative would be dropping the |
@kyleboe it looks like it might be better to drop. It looks like |
Removed OTP < 21 support and bumped to latest versions of OTP in the |
I finally stopped being a doofus and just ran GH actions on my fork of the repo and got everything passing! https://github.com/kyleboe/bamboo_smtp/actions/runs/2477937365 |
Anyone from the maintainers have a chance to review and trigger CI? @babariviere possibly? |
Hello, I am no longer part of the organization so I won't be able to merge it! Sorry for that. |
Ah Sorry to bother you. @tgautier looks to be responsible for the most recent PR merge. Could you help with review/merge? |
- Drop testing for OTP ~> 20.3 to align with [gen_smtp minimum otp version of 21](https://github.com/gen-smtp/gen_smtp/blob/99fad81cc3aeb33657ff7598c846c4120c3a480e/rebar.config#L2) ([#205]) - Bump elixir to 1.13.4 and erlang to 24.3.4 ([#205]) - Use `Enum.map_join/3` instead of `Enum.map/2 |> Enum.join/2` ([#205]) - Dependencies update ([#205]): - core: - gen_smtp, ~> 1.2.0 - dev/test: - credo, ~> 1.6.1 [#205]: #205
Unfortunately the pin to |
Elixir 1.13 shows a deprecation warning for Rebar 2 which was a dependency of
hut
, a dependency ofgen_smtp < 1.2.0
.Bumping to
gen_smtp ~> 1.2.0
removes the dependency onhut