Ensure that pip check does not fail due to bad platform tag (#10755)
* Remove custom tag generation * Revert "Remove custom tag generation" This reverts commit fe3cf0e8786c7dc05e1deced3a1c92cd79094735. * Fetch an accurate platform tag from Pip 22+ * Fix formatting * TOML allows trailing commas * Update patch * Add trailing comma * Fix up patch * Use `packaging` Co-authored-by: jakirkham <jakirkham@gmail.com> --------- Co-authored-by: jakirkham <jakirkham@gmail.com>
This commit is contained in:
committed by
GitHub
parent
64afe9873b
commit
7794d3da8a
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user