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

feat: Add matrix support to pyproject.toml #70

Merged
merged 8 commits into from
Mar 21, 2024

Conversation

KyleFromNVIDIA
Copy link
Contributor

Co-authored-by: @trxcllnt

@KyleFromNVIDIA KyleFromNVIDIA changed the title Add matrix support to pyproject.toml feat: Add matrix support to pyproject.toml Mar 19, 2024
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to add some testing/error checking for some additional cases.

  • What happens if you have a dependencies.yaml where a matrix is specified in the files section for a file where the output is pyproject? Right now I think it'll just overwrite in sequence and you'll end up with the last matrix entry, but I think that case should probably still error. Perhaps more precisely, we should only allow a single matrix entry. If the user wants to use a matrixed dependency list with a pyproject file key, that is OK but they either have to use no matrix and fall back to defaults, or they need to specify a single matrix element to build with
  • We should add a test for matrix fallback behavior with pyproject outputs. I think everything there should work fine since the logic for selecting dependencies from dependency lists is handled independently of any file type-specific code path, but we should verify that.

@KyleFromNVIDIA
Copy link
Contributor Author

Perhaps more precisely, we should only allow a single matrix entry.

Done

@vyasr vyasr merged commit 0ebbd69 into rapidsai:main Mar 21, 2024
3 checks passed
GPUtester pushed a commit that referenced this pull request Mar 21, 2024
# [1.11.0](v1.10.0...v1.11.0) (2024-03-21)

### Features

* Add matrix support to pyproject.toml ([#70](#70)) ([0ebbd69](0ebbd69))
@GPUtester
Copy link

🎉 This PR is included in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

difyrrwrzd added a commit to difyrrwrzd/dependency-file-generator that referenced this pull request Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants