Skip to content

Update dependency gettext to v1 - #74

Closed
its-miso[bot] wants to merge 1 commit into
mainfrom
renovate/gettext-1.x
Closed

Update dependency gettext to v1#74
its-miso[bot] wants to merge 1 commit into
mainfrom
renovate/gettext-1.x

Conversation

@its-miso

@its-miso its-miso Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
gettext (source) prod major ~> 0.20~> 1.0

Release Notes

elixir-gettext/gettext (gettext)

v1.0.2

Compare Source

  • Only skip manifest removal on Elixir v1.19.3+

v1.0.1

Compare Source

  • Remove unnecessary cleaning of Elixir manifests

v1.0.0

Compare Source

This is the first 1.0 release of Gettext, a silly 10 years (and 6 months) after we started working on it. There are very few changes from the latest 0.26 release, and none of them are breaking.

Here are the new goodies:

  • Add support for concatenating sigils if all parts are known at compile time (such as "Hello " <> ~s(world)).
  • Significantly increase the timeout for mix gettext.extract to two minutes.
  • Add Gettext.put_locale!/2.

Happy 10+ years of Elixir translations everyone! 🎉


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • On day 1 and 15 of the month (* * 1,15 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@its-miso
its-miso Bot requested a review from joryirving as a code owner September 1, 2026 01:43
@its-miso

its-miso Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: mix.lock
Command failed: mix deps.update gettext
warning: setting :preferred_cli_env in your mix.exs "def project" is deprecated, set it inside "def cli" instead:

    def cli do
      [preferred_envs: [check: :test, credo: :test]]
    end

  (mix 1.20.4) lib/mix/cli.ex:187: Mix.CLI.preferred_cli_env/3
  (mix 1.20.4) lib/mix/cli.ex:170: Mix.CLI.maybe_change_env_and_target/2
  (mix 1.20.4) lib/mix/cli.ex:59: Mix.CLI.proceed/2
  /opt/containerbase/tools/elixir/1.20.4/bin/mix:7: (file)
  (elixir 1.20.4) src/elixir_compiler.erl:102: :elixir_compiler.dispatch/4
  (elixir 1.20.4) src/elixir_compiler.erl:76: :elixir_compiler.compile/4

** (Mix) Hex dependency resolution failed

its-saffron[bot]

This comment was marked as outdated.

@its-miso
its-miso Bot force-pushed the renovate/gettext-1.x branch from 74c5beb to e0c6d81 Compare September 1, 2026 22:41
@its-saffron
its-saffron Bot dismissed their stale review September 1, 2026 22:42

Superseded by a newer automated review for this pull request.

its-saffron[bot]

This comment was marked as outdated.

@its-miso
its-miso Bot force-pushed the renovate/gettext-1.x branch from 8ae9318 to 3ace0e6 Compare September 2, 2026 03:40
@its-saffron
its-saffron Bot dismissed their stale review September 2, 2026 03:41

Superseded by a newer automated review for this pull request.

@its-saffron its-saffron Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AI Automated Review

Full PR review.

Analysis engine: MiniMax-M2.7@https://litellm.jory.dev/v1 (anthropic) — primary route

Recommendation: Approve

This is a straightforward, low-risk dependency version bump from gettext ~> 0.20 to ~> 1.0 performed by Renovate.

Change Summary

File Change
mix.exs {:gettext, "~> 0.20"}{:gettext, "~> 1.0"}

Assessment

Functional impact: None. The gettext v1.0.0 release notes explicitly state there are "very few changes" from v0.26 and "none of them are breaking". The new version adds:

  • Compile-time sigil concatenation support
  • A longer timeout for mix gettext.extract
  • A new Gettext.put_locale!/2 function

These are additive features with no API changes to existing functionality.

Compatibility: The repository targets Elixir ~> 1.17, and gettext v1.x is compatible with that version range.

Dependency health: mix.lock currently pins gettext at 0.26.2. After this update, mix deps.get will update the lockfile to the v1.x series. The other gettext consumer in the lockfile (timex) requires ~> 0.26, which is satisfied by both the old and new major version (Hex semver allows patch-level changes within the constraint).

CI gate: The Lint and Test job is pending, which is expected for an open PR. The renovate/artifacts failure is a Renovate bot artifact update issue (not related to the code change itself). No blocking concerns from the corpus.

Repository conventions: This is a simple dependency constraint update, consistent with how other dependency updates would be handled. No code changes beyond mix.exs are required.

Conclusion

The change is safe, non-breaking, and follows standard dependency maintenance practices. Merging is appropriate once CI passes.

@its-miso
its-miso Bot force-pushed the renovate/gettext-1.x branch from 3ace0e6 to 430b72d Compare September 2, 2026 14:41
@itsmiso-ai

Copy link
Copy Markdown
Contributor

Closing as blocked upstream: timex 3.7.13 (latest release) still requires gettext ~> 0.26, so ~> 1.0 can't resolve — Renovate's lockfile update fails and CI dies at mix deps.get:

Because "the lock" depends on "timex 3.7.13" which depends on "gettext ~> 0.26", "the lock" requires "gettext ~> 0.26".

Rather than force it with override: true, closing until timex supports gettext 1.x. Closing also marks the update as ignored, so this shouldn't re-open itself; revisit if/when a timex release loosens the gettext pin.

@itsmiso-ai itsmiso-ai closed this Sep 2, 2026
@its-miso

its-miso Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 1.x releases. But if you manually upgrade to 1.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@its-miso
its-miso Bot deleted the renovate/gettext-1.x branch September 2, 2026 16:40
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.

1 participant