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

Lookup inherited build- and dev-dependencies in dependencies #1261

Merged
merged 2 commits into from
Nov 11, 2022

Conversation

knutwalker
Copy link
Contributor

Following the docs in https://doc.rust-lang.org/stable/cargo/reference/workspaces.html#the-workspacedependencies-table
and https://doc.rust-lang.org/stable/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
which says

Dependencies in the [dependencies], [dev-dependencies], [build-dependencies], and [target."...".dependencies] sections support the ability to reference the [workspace.dependencies] definition of dependencies.

So, we should not lookup build- and dev-dependencies in their workspace.* equivalent but only in workspace.dependencies

Following the docs in https://doc.rust-lang.org/stable/cargo/reference/workspaces.html#the-workspacedependencies-table
and https://doc.rust-lang.org/stable/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
which says

    Dependencies in the [dependencies], [dev-dependencies], [build-dependencies], and [target."...".dependencies] sections support the ability to reference the [workspace.dependencies] definition of dependencies.

So, we should not lookup build- and dev-dependencies in their workspace.* equivalent but only in workspace.dependencies
@netlify
Copy link

netlify bot commented Nov 10, 2022

Deploy Preview for maturin-guide ready!

Name Link
🔨 Latest commit 092acea
🔍 Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/636db6e89e32de000847827a
😎 Deploy Preview https://deploy-preview-1261--maturin-guide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@messense
Copy link
Member

messense commented Nov 11, 2022

Thanks!

bors r+

@messense
Copy link
Member

bors ping

@bors
Copy link
Contributor

bors bot commented Nov 11, 2022

pong

@messense
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 11, 2022

Merge conflict.

@messense
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Nov 11, 2022
1261: Lookup inherited build- and dev-dependencies in dependencies r=messense a=knutwalker

Following the docs in https://doc.rust-lang.org/stable/cargo/reference/workspaces.html#the-workspacedependencies-table
and https://doc.rust-lang.org/stable/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
which says

    Dependencies in the [dependencies], [dev-dependencies], [build-dependencies], and [target."...".dependencies] sections support the ability to reference the [workspace.dependencies] definition of dependencies.

So, we should not lookup build- and dev-dependencies in their workspace.* equivalent but only in workspace.dependencies


Co-authored-by: Paul Horn <[email protected]>
Co-authored-by: messense <[email protected]>
@messense
Copy link
Member

Looks like the macOS runner is stuck, merging manually.

@messense messense merged commit 25d427f into PyO3:main Nov 11, 2022
@bors
Copy link
Contributor

bors bot commented Nov 11, 2022

Build failed:

@messense messense added this to the 0.14.0 milestone Nov 11, 2022
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

Successfully merging this pull request may close these issues.

2 participants