-
Notifications
You must be signed in to change notification settings - Fork 924
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-25.04' into cudf-polars-multi-groupby
- Loading branch information
Showing
164 changed files
with
2,039 additions
and
833 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,7 @@ jobs: | |
package-name: libcudf | ||
package-type: cpp | ||
wheel-build-pylibcudf: | ||
needs: [wheel-publish-libcudf] | ||
needs: [wheel-build-libcudf] | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
|
@@ -111,7 +111,7 @@ jobs: | |
package-name: pylibcudf | ||
package-type: python | ||
wheel-build-cudf: | ||
needs: wheel-publish-pylibcudf | ||
needs: wheel-build-pylibcudf | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
|
@@ -132,7 +132,7 @@ jobs: | |
package-name: cudf | ||
package-type: python | ||
wheel-build-dask-cudf: | ||
needs: wheel-publish-cudf | ||
needs: wheel-build-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
|
@@ -155,7 +155,7 @@ jobs: | |
package-name: dask_cudf | ||
package-type: python | ||
wheel-build-cudf-polars: | ||
needs: wheel-publish-pylibcudf | ||
needs: wheel-build-pylibcudf | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
|
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
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
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
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,24 +1,34 @@ | ||
# Copyright (c) 2024, NVIDIA CORPORATION. | ||
# Copyright (c) 2024-2025, NVIDIA CORPORATION. | ||
|
||
import argparse | ||
|
||
import requests | ||
from packaging.version import Version | ||
from packaging.specifiers import SpecifierSet | ||
import argparse | ||
from packaging.version import Version | ||
|
||
|
||
def get_pandas_versions(pandas_range): | ||
url = "https://pypi.org/pypi/pandas/json" | ||
response = requests.get(url) | ||
data = response.json() | ||
versions = [Version(v) for v in data['releases']] | ||
versions = [Version(v) for v in data["releases"]] | ||
specifier = SpecifierSet(pandas_range.lstrip("pandas")) | ||
matching_versions = [v for v in versions if v in specifier] | ||
matching_minors = sorted(set(".".join((str(v.major), str(v.minor))) for v in matching_versions), key=Version) | ||
matching_minors = sorted( | ||
set(".".join((str(v.major), str(v.minor))) for v in matching_versions), | ||
key=Version, | ||
) | ||
return matching_minors | ||
|
||
|
||
if __name__ == "__main__": | ||
parser = argparse.ArgumentParser(description="Filter pandas versions by prefix.") | ||
parser.add_argument("pandas_range", type=str, help="The version prefix to filter by.") | ||
parser = argparse.ArgumentParser( | ||
description="Filter pandas versions by prefix." | ||
) | ||
parser.add_argument( | ||
"pandas_range", type=str, help="The version prefix to filter by." | ||
) | ||
args = parser.parse_args() | ||
|
||
versions = get_pandas_versions(args.pandas_range) | ||
print(','.join(versions)) | ||
print(",".join(versions)) |
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
Oops, something went wrong.