JuliaEcosystem / PackageAnalyzer.jl

https://juliaecosystem.github.io/PackageAnalyzer.jl/dev/
MIT License
58 stars 5 forks source link

Update dependencies to prevent environment-wide downgrades #66

Closed zsz00 closed 2 years ago

zsz00 commented 2 years ago

add PackageAnalyzer

image

giordano commented 2 years ago

Current compat bounds https://github.com/JuliaEcosystem/PackageAnalyzer.jl/blob/04d4d1756d2a09c21039e0acc01229c207fbbe69/Project.toml#L17-L22 already allow latest versions of all involved packages, I don't think we have to do anything

giordano commented 2 years ago

As a side note, I strongly recommend using local environments instead of installing all packages in the global environment. That'd make package resolution simpler and avoids problems when hundreds of unrelated packages try to find a common set of compatible versions

zsz00 commented 2 years ago

my version is julia 1.7.1 why make some *_jll downgrades ?

giordano commented 2 years ago

I don't know what other packages you have in your global environment :slightly_smiling_face: Using small global environments + task-specific local environments solve this issue

zsz00 commented 2 years ago

ok , thks

giordano commented 2 years ago

@zsz00 If you update the registry, you should get Git_jll v2.34.1 which may resolve conflict with your other packages.

zsz00 commented 2 years ago

yes, I tried this. It's worked.