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

Fix Elixir 1.15 warning, require Elixir 1.11+ & bump Ecto/Postgrex requirements #46

Merged
merged 11 commits into from
Jul 14, 2023

Conversation

thbar
Copy link
Contributor

@thbar thbar commented Jul 12, 2023

This PR addresses multiple maintenance points.

Move to Elixir 1.11+ & fix Elixir 1.15 warning

As seen in other places:

There is a trend to move to Elixir 1.11+ (oldest maintained version) all while removing the Logger.warn in favour of Logger.warning.

This PR addresses that.

Bump Ecto/Postgrex minimal versions & fix CI

The PR also addresses:

since the CI system was broken.

As described in https://brianmeeker.me/2023/05/24/otp-26-ecto-dynamic-error/, Ecto had to be bumped in the "lock" file at least for OTP 26, but to be able get there on CI I ended up bumping mix.exs versions (rather than the lock file) for Ecto & Postgrex. I believe this is acceptable since previous constraints were on oldish versions.

@pawurb
Copy link
Owner

pawurb commented Jul 12, 2023

@thbar thanks for a PR! I think that CI currently does not work because of legacy Ubuntu version that you've mentioned. I'm looking forward to merge this PR, but can you try to fix CI before we merge it?

@thbar
Copy link
Contributor Author

thbar commented Jul 12, 2023

@pawurb I will look into CI fixes in the same PR to keep things simple! Will keep you posted.

@thbar thbar changed the title Fix Elixir 1.15 warning & require Elixir 1.11+ Fix Elixir 1.15 warning, require Elixir 1.11+ & bump Ecto/Postgrex requirements Jul 13, 2023
@thbar thbar marked this pull request as ready for review July 13, 2023 07:24
@thbar
Copy link
Contributor Author

thbar commented Jul 13, 2023

@pawurb I've fixed the CI (at the cost of bumping some requirements), but I believe you'll have to fix the settings to remove some jobs from the expected statuses.

Other than that, the tests pass.

@pawurb pawurb merged commit 55ebcb5 into pawurb:master Jul 14, 2023
@pawurb
Copy link
Owner

pawurb commented Jul 14, 2023

@thbar thanks! It's now released as 0.7.12

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