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

workspaces dev-dependencies don't work #95

Closed
wmmc88 opened this issue Sep 18, 2023 · 2 comments
Closed

workspaces dev-dependencies don't work #95

wmmc88 opened this issue Sep 18, 2023 · 2 comments

Comments

@wmmc88
Copy link

wmmc88 commented Sep 18, 2023

I have a workspace where one of the crates uses macrotest. In that crate, I also put a workspace dev-dependency on another crate for other tests via test-sys.workspace = true. This causes macrotest to fail to pass. Other non-macrotest tests pass fine, and removing the workspace dev-dependency causes macrotest tests to pass

output:

---- tests::macro_expansion stdout ----
Running 1 macro expansion tests
Expansion error:
error: failed to parse manifest at `D:\test-ws\target\tests\test-package\macrotest002\Cargo.toml`
Caused by:
  error inheriting `test-sys` from workspace root manifest's `workspace.dependencies.test-sys`
Caused by:
  `workspace.dependencies` was not defined

macrotest version: latest on main c4151a5

@wmmc88 wmmc88 changed the title workspace dev-dependencies don't get work workspace dev-dependencies don't work Sep 18, 2023
@wmmc88 wmmc88 changed the title workspace dev-dependencies don't work workspaces don't work Sep 21, 2023
@wmmc88 wmmc88 changed the title workspaces don't work workspaces dev-dependencies don't work Sep 21, 2023
@taiki-e
Copy link
Collaborator

taiki-e commented Mar 30, 2024

Duplicate of #74

@taiki-e taiki-e marked this as a duplicate of #74 Mar 30, 2024
@taiki-e taiki-e closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
@taiki-e
Copy link
Collaborator

taiki-e commented Mar 30, 2024

Fixed in 1.0.11 (#104)

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