Skip to content

Regenerate SDK and release 0.1.39 - #81

Open
kaggle-agent wants to merge 1 commit into
mainfrom
agent/taehykim-20261119234611-748c163c
Open

kaggle-agent wants to merge 1 commit into
mainfrom
agent/taehykim-20261119234611-748c163c

Conversation

@kaggle-agent

Copy link
Copy Markdown
Collaborator

The upcoming kaggle benchmarks tasks trace CLI command needs
BenchmarkTasksApiClient.download_benchmark_task_trajectories, the RPC
added in Kaggle/kaggleazure#48608. This regenerates kagglesdk with
kapigen --public-api-output-path from kaggleazure ci at 404f8b65207
(that PR's merge commit) and bumps the version to 0.1.39. Apart from the
version line, the tree matches kapigen's output.

The regen also picks up other API changes, including benchmark task
collaborators and metric producers. Three of them are not additive:

  • ApiValidationStage now lives in benchmark_types; importing it from
    benchmark_tasks_api_service raises ImportError.
  • BenchmarkTaskValidationStage is no longer re-exported from
    benchmark_tasks_api_service.
  • update_benchmark_arena_combinations now returns a response object
    instead of None.

kaggle_creds.py also takes kapigen's updated template from
Kaggle/kaggleazure#48538: credentials are now written atomically with
0600 permissions. The file was reindented, so its diff is large.
kaggle-cli main uses none of the changed names.


Task: taehykim-20261119234611-748c163c
Trajectory: view agent transcript
Context: https://chat.kaggle.net/kaggle/pl/f7bixx6j8in1mdwmojcjwbyshc

The upcoming `kaggle benchmarks tasks trace` CLI command needs
`BenchmarkTasksApiClient.download_benchmark_task_trajectories`, the RPC
added in Kaggle/kaggleazure#48608. This regenerates kagglesdk with
`kapigen --public-api-output-path` from kaggleazure ci at 404f8b65207
(that PR's merge commit) and bumps the version to 0.1.39. Apart from the
version line, the tree matches kapigen's output.

The regen also picks up other API changes, including benchmark task
collaborators and metric producers. Three of them are not additive:

- `ApiValidationStage` now lives in `benchmark_types`; importing it from
  `benchmark_tasks_api_service` raises `ImportError`.
- `BenchmarkTaskValidationStage` is no longer re-exported from
  `benchmark_tasks_api_service`.
- `update_benchmark_arena_combinations` now returns a response object
  instead of `None`.

`kaggle_creds.py` also takes kapigen's updated template from
Kaggle/kaggleazure#48538: credentials are now written atomically with
0600 permissions. The file was reindented, so its diff is large.
kaggle-cli main uses none of the changed names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants