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

Pkg2 package version preference #3841

Closed
Keno opened this issue Jul 26, 2013 · 1 comment
Closed

Pkg2 package version preference #3841

Keno opened this issue Jul 26, 2013 · 1 comment

Comments

@Keno
Copy link
Member

Keno commented Jul 26, 2013

I'm noticing that when requiring BinDeps with both v0.2.0 and v0.2.1 available, Pkg2 chooses v0.2.0. While this is of course not wrong, I was wondering where this was intended.

@carlobaldassi
Copy link
Member

This is indeed a bug. I can't push a fix ATM, but the fix is trivial: change true to false at line 36 of base/pkg2/resolve/versionweight.jl. Sorry!

KristofferC pushed a commit that referenced this issue Mar 26, 2024
Stdlib: Pkg
URL: https://github.com/JuliaLang/Pkg.jl.git
Stdlib branch: master
Julia branch: master
Old commit: 6859d6857
New commit: 162634c56
Julia version: 1.12.0-DEV
Pkg version: 1.12.0
Bump invoked by: @KristofferC
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaLang/Pkg.jl@6859d68...162634c

```
$ git log --oneline 6859d6857..162634c56
162634c56 Add workspace feature (#3841)
a4ec712eb Remove outdated UUID instructions (#3855)
9c6356fa9 collect e.g. weak deps from project even if it is not a package (#3852)
```

Co-authored-by: Dilum Aluthge <[email protected]>
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