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

There is an issue with Tzdata 2024b - Produces the following error: #760

Open
kairos0ne opened this issue Sep 6, 2024 · 6 comments
Open

Comments

@kairos0ne
Copy link

Steps to reproduce

Install Timex {:timex, "~> 3.0"},

Description of issue

There is a compile time error due to fault in Tzdata 2024b that can seen here:
lau/tzdata#143

image
@ian-darby
Copy link

I'm also seeing this with each deploy of our phoenix app.

@acrogenesis
Copy link

A fix has been merged in tzdata lau/tzdata#146

@acrogenesis
Copy link

adding tzdata using git to the mix.exs solves the issue.

defp devs do
  [
    {:timex, "~> 3.7"},
    {:tzdata, git: "[email protected]:lau/tzdata.git", override: true}
  ]
end

@avishov
Copy link

avishov commented Sep 9, 2024

adding tzdata using git to the mix.exs solves the issue.

defp devs do
  [
    {:timex, "~> 3.7"},
    {:tzdata, git: "[email protected]:lau/tzdata.git", override: true}
  ]
end

FYI This throws an error in my project

* Updating tzdata ([email protected]:lau/tzdata.git)
no such identity: /Users/DK/.ssh/cd: No such file or directory
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed

Using {:tzdata, git: "https://github.com/lau/tzdata.git", override: true} instead works 👌

❯ mix deps.get
* Updating tzdata (https://github.com/lau/tzdata.git)
Resolving Hex dependencies...
Resolution completed in 1.083s

@acrogenesis
Copy link

@avishov When using [email protected] it uses ssh to authenticate to GitHub that's why it's failing as it isn't finding a ssh key to use.

@jschaeff
Copy link

Lib tzdata got bumped to fix this issue (https://github.com/lau/tzdata/releases/tag/v1.1.2)

See issue lau/tzdata#143

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

No branches or pull requests

5 participants