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

Compile warning in path_validation_test.ex, a file that doesn't exist in repo #79

Open
jdewar opened this issue Sep 27, 2024 · 3 comments

Comments

@jdewar
Copy link

jdewar commented Sep 27, 2024

I'm running into a baffling warning. I'm mix.locked on 0.8.9, and I keep receiving the below error at compile time

==> x509
Compiling 25 files (.ex)
    warning: Jason.decode!/1 is undefined (module Jason is not available or is yet to be defined)
    │
  7 │     |> Jason.decode!()
    │              ~
    │
    └─ lib/x509/path_validation_test.ex:7:14: X509.PathValidationTest.all_scenarios/0

Generated x509 app

but path_validation_test.ex is not a file in the repo in release-0.8.9. I see the file in my deps/x509 folder after 'mix deps.get' and before I try to compile, so it's not a compile artifact.

This isn't a blocker, but it's messing with my understanding of hex packages / git repos / my own sanity.

I see that the file is added here: https://diff.hex.pm/diff/x509/0.8.8..0.8.9 but I'm not sure how it's not in this GitHub repo.

@voltone
Copy link
Owner

voltone commented Oct 10, 2024

There must have been a stale file leftover from an experimental branch when I packaged the Hex release. Sorry about that! What's stopping you from moving to a later version?

@jdewar
Copy link
Author

jdewar commented Oct 10, 2024

0.8.9 is the latest version on hex.pm

@voltone
Copy link
Owner

voltone commented Oct 16, 2024

0.8.9 is the latest version on hex.pm

🤦‍♂️

I will push 0.8.10 soon. Thanks for the report!

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

2 participants