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 cargo-deny exception for intel-mkl-src #386

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Tastaturtaste
Copy link
Contributor

As conversed about in PR #369, this PR removes the cargo-deny exclusion for intel-mkl-src introduced due to EmbarkStudios/krates#60.

This PR should be merged as soon as EmbarkStudios/krates#61 lands in cargo-deny-action.

@codecov-commenter
Copy link

codecov-commenter commented Jan 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.48%. Comparing base (be2444e) to head (711798a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #386      +/-   ##
==========================================
- Coverage   91.49%   91.48%   -0.01%     
==========================================
  Files         178      177       -1     
  Lines       23623    23624       +1     
==========================================
- Hits        21613    21612       -1     
- Misses       2010     2012       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jedbrown
Copy link

It seems this is all complete. Should this be merged now?

@Tastaturtaste
Copy link
Contributor Author

It seems this is all complete. Should this be merged now?

The CI build should be rerun to confirm. If that is green it should be good to merge.

@stefan-k
Copy link
Member

Would you mind rebasing this PR or allowing me to push to it? Thanks! :)

@Tastaturtaste
Copy link
Contributor Author

I can rebase in the next few days. Also, permission for maintainer to edit this PR should already be given.

@Tastaturtaste
Copy link
Contributor Author

Seems like cargo-deny picks up intel-mkl-src through the "examples" crates, even though those crates have "publish = false" set in their manifest and "deny.toml" has "licenses.private.ignore = true" set. If the "examples" folder is just removed from the workspace manifest members there are no license errors. I think this might not be the intended behavior for the "licenses.private.ignore" option of cargo deny. Maybe this is another bug in their implementation? I don't have the time to look closer into this right now. Maybe in the next few days, but no promises.

@stefan-k
Copy link
Member

stefan-k commented Sep 1, 2024

Thanks for the quick rebase, and thanks for digging into this. I've also had a look, and I suspect the path based dependencies are treated differently. I tried to replace them by workspace dependencies but to no avail. If you do look into this, please do not waste too much time on this annoying problem.

Also, permission for maintainer to edit this PR should already be given.

Interestingly I still cannot push to this branch.

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.

4 participants