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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Package System] Dependency version not checked #13315

Open
fEst1ck opened this issue May 17, 2024 · 0 comments
Open

[Bug] [Package System] Dependency version not checked #13315

fEst1ck opened this issue May 17, 2024 · 0 comments
Labels
bug Something isn't working stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@fEst1ck
Copy link
Contributor

fEst1ck commented May 17, 2024

馃悰 Bug

The current package system allows us to specify the version of a dependency as in

[dependencies]
P2 = { local = "/path-to-P2", version = "2.0.0" }

but the version is not checked. Suppose we have in the manifest of package P2

[package]
name = "P2"
version = "1.0.0"

no error is raised. The "version" key is also not specified in the move book.

Expected Behavior

If the version declared in the dependency package manifest doesn't match the one given in the [dependency] section of the importing package, raise an error.

@fEst1ck fEst1ck added the bug Something isn't working label May 17, 2024
@sausagee sausagee added the stale-exempt Prevents issues from being automatically marked and closed as stale label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: 馃啎 New
Development

No branches or pull requests

2 participants