-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Ensure that pip check
does not fail due to bad platform tag
#10755
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
fe3cf0e
Remove custom tag generation
hcho3 b7099be
Revert "Remove custom tag generation"
hcho3 e1a7de3
Fetch an accurate platform tag from Pip 22+
hcho3 99533a8
Fix formatting
hcho3 0316ad9
TOML allows trailing commas
hcho3 447a762
Update patch
hcho3 613d244
Merge branch 'master' into fix_pip_tag
hcho3 295ad0c
Add trailing comma
hcho3 5281fcb
Fix up patch
hcho3 75db859
Use `packaging`
hcho3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
diff --git python-package/pyproject.toml python-package/pyproject.toml | ||
index 8835def25..46c1451c2 100644 | ||
index 20d3f9974..953087ff4 100644 | ||
--- python-package/pyproject.toml | ||
+++ python-package/pyproject.toml | ||
@@ -30,8 +30,7 @@ classifiers = [ | ||
] | ||
@@ -30,7 +30,6 @@ classifiers = [ | ||
dependencies = [ | ||
"numpy", | ||
- "scipy", | ||
- "nvidia-nccl-cu12 ; platform_system == 'Linux' and platform_machine != 'aarch64'" | ||
+ "scipy" | ||
"scipy", | ||
- "nvidia-nccl-cu12 ; platform_system == 'Linux' and platform_machine != 'aarch64'", | ||
] | ||
|
||
[project.urls] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a note to reviewers, GitHub PR diffs of patches can look confusing
Would recommend looking at the patch on Hyunsu's fork (also included below)
This is just dropping the
nvidia-nccl-cu12
line