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

0.x registry dependency downloads non-latest 0.x.y version #1917

Open
DelevoXDG opened this issue Jan 24, 2025 · 1 comment
Open

0.x registry dependency downloads non-latest 0.x.y version #1917

DelevoXDG opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@DelevoXDG
Copy link
Contributor

Example:

Building project:

[package]
name = "hello_world"
version = "0.1.0"

[dependencies]
snforge_scarb_plugin = "0.33"

will result in Scarb downloading and compiling project with version 0.33.0, even though:

  • 0.33.1 is available
  • no Scarb.lock is present at the time of scarb build
@github-project-automation github-project-automation bot moved this to Triage in Scarb Jan 24, 2025
@DelevoXDG DelevoXDG added the bug Something isn't working label Jan 24, 2025
@LaGodxy
Copy link

LaGodxy commented Jan 26, 2025

Hi @DelevoXDG , I am LaGodxy.
I’d like to help resolve the issue with Scarb downloading non-latest 0.x.y versions. I have experience with Rust, semantic versioning, and dependency management tools like Cargo, and I’m confident I can modify the resolver to always select the latest patch version.

If selected, I’ll ensure a quick, tested fix and submit a PR promptly. Let me know when I can proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Triage
Development

No branches or pull requests

2 participants