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

Remove 'plugin not found' warning when inheriting workspace dependencies #1603

Open
julio4 opened this issue Sep 18, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@julio4
Copy link

julio4 commented Sep 18, 2024

Problem

Main scarb.toml:

[workspace.dependencies]
cairo_test = "2.8.2"

Workspace's member scarb.toml:

[dev-dependencies]
cairo_test.workspace = true

Result in:

warn: `cairo_test` plugin not found
please add the following snippet to your Scarb.toml manifest:
\```
[dev-dependencies]
cairo_test = "2.8.2"
\```

Steps

No response

Possible Solution(s)

No response

Notes

No response

Version

scarb 2.8.2 (a37b4cbfc 2024-09-09)
cairo: 2.8.2 (https://crates.io/crates/cairo-lang-compiler/2.8.2)
sierra: 1.6.0
@julio4 julio4 added the bug Something isn't working label Sep 18, 2024
@maciektr
Copy link
Contributor

Hi @julio4 !

Can you provide a reproduction for this?

I failed to reproduce in https://github.com/software-mansion/scarb/tree/main/examples/workspaces for 2.8.2

@julio4
Copy link
Author

julio4 commented Sep 19, 2024

You can reproduce with:
checkout NethermindEth/StarknetByExample#246
cd listings/getting-started/storage
scarb cairo-test

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