Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions index.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@ packages = [
"cupy"
]

[[index]]
name = "xgboost"
maintainers = [
{ name = "Hyunsu Cho", email = "phcho@nvidia.com" },
]
registry = "https://wheels-variant.xgboost-ci.com/"
packages = [
"xgboost"
]

[[index]]
name = "intel-provider"
maintainers = [
Expand Down
2 changes: 1 addition & 1 deletion src/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def generate_project_index(pkg_config: PkgConfig) -> None:
)
template = jinja_env.get_template("project_page.j2")

artifacts = fetch_links(safe_urljoin(pkg_config.registry, pkg_config.name))
artifacts = fetch_links(safe_urljoin(pkg_config.registry, pkg_config.name + "/"))
Copy link
Author

Choose a reason for hiding this comment

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

This is needed because https://wheels-variant.xgboost-ci.com/xgboost fails, but https://wheels-variant.xgboost-ci.com/xgboost/ (note the trailing slash) works. I am using s3pypi (WheelNext's fork).

Copy link
Author

Choose a reason for hiding this comment

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

Just verified that the change doesn't break other package indexes.


variants_json_files = sorted(
[artifact for artifact in artifacts if isinstance(artifact, VariantJson)],
Expand Down