Closed wbo4958 closed 1 week ago
Some questions:
meta.xml
encode the latest nightly version of manylinux2014_x86_64
wheel specifically? Sometimes the CI might break and a nightly build may be available for amd64
but not manylinux2014_x86_64
.Hi @hcho3, It would be great if you can help on that.
I've written a script to generate meta.json
like this:
{
"platform_tag": "manylinux2014_x86_64",
"version": "2.1.0.dev0",
"commit_id": "6d65b593c65d130c1d67c6c5a1a1ba13c5b148f6"
}
@trivialfis Can I get a review? I want your opinion on the new Python script (format_wheel_meta.py
).
First, we can wget meta.json and parse it and get the platform/version/commit_id and then compose them with "https://s3-us-west-2.amazonaws.com/xgboost-nightly-builds/master/" to get the download link.
Would it be useful to also include the full name of the wheel file in meta.json
too?
Would it be useful to also include the full name of the wheel file in
meta.json
too?
Hmm, yeah, good idea.
The meta.json
output will now look like
{
"wheel_name": "xgboost-2.1.0.dev0-py3-none-linux_x86_64.whl",
"platform_tag": "manylinux2014_x86_64",
"version": "2.1.0.dev0",
"commit_id": "6d65b593c65d130c1d67c6c5a1a1ba13c5b148f6"
}
I would like to add a meta file to describe the latest xgboost nightly build info including xgboost version and commit id, and then upload it to s3, the file looks like that,
meta.xml
Hi @hcho3 Could you help review it.