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

Update CI, dependencies and fix deprecations #772

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nathany-copia
Copy link

@nathany-copia nathany-copia commented Dec 23, 2024

Summary of changes

Updates Timex CI and dependencies to resolve compiler warnings and ensure that the code compiles and tests pass in the most recent 2 versions of Elixir (if additional older versions are desired, those can be added)

Fixes #771

Checklist

  • (N/A) New functions have typespecs, changed functions were updated
  • (N/A) Same for documentation, including moduledocs
  • (N/A) Tests were added or updated to cover changes
  • Commits were squashed into a single coherent commit
  • Notes added to CHANGELOG file which describe changes at a high-level

https://github.com/elixir-gettext/gettext/blob/main/CHANGELOG.md#v0260

@@ -1202,7 +1202,7 @@ defmodule Timex do
def day_to_num(unquote(atom)), do: unquote(day_num)
end

Module.eval_quoted(__MODULE__, day_quoted, [], __ENV__)
Code.eval_quoted(day_quoted, [], __ENV__)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code.eval_quoted exists in very early versions of Elixir, so this shouldn't impact the minimum Elixir version required for this library.

Test with current versions of dependencies
Module.eval_quoted/4 is deprecated. Use Code.eval_quoted/3 instead
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.

Compiler warnings on main
1 participant