Add 'kaggle competitions team-submissions' command #1036
Google Cloud Build / kaggle-cli-branch-3-11-15 (kaggle-cicd)
failed
May 29, 2026 in 44s
Summary
Build Information
| Trigger | kaggle-cli-branch-3-11-15 |
| Build | ed4f4602-1924-4487-b76e-808cbc551774 |
| Start | 2026-05-29T15:37:28-07:00 |
| Duration | 40.513s |
| Status | FAILURE |
Steps
| Step | Status | Duration |
|---|---|---|
| check_substitutions | SUCCESS | 8.527s |
| build-hatch-image | SUCCESS | 3.187s |
| lint | FAILURE | 13.241s |
Details
starting build "ed4f4602-1924-4487-b76e-808cbc551774"
FETCHSOURCE
From https://github.com/Kaggle/kaggle-cli
* branch fea265e295828d2f376d0d967207007ec798fd9e -> FETCH_HEAD
HEAD is now at fea265e Bump kagglesdk dependency to 0.1.27
GitCommit:
fea265e295828d2f376d0d967207007ec798fd9e
BUILD
Starting Step #0 - "check_substitutions"
Step #0 - "check_substitutions": Already have image (with digest): gcr.io/cloud-builders/docker
Step #0 - "check_substitutions": 3.11.15: Pulling from kaggle-cicd/tools/cli-builder
Step #0 - "check_substitutions": f32f49ce655a: Already exists
Step #0 - "check_substitutions": 8a7504cd2818: Already exists
Step #0 - "check_substitutions": b53089dca505: Already exists
Step #0 - "check_substitutions": 8d6d44b254da: Already exists
Step #0 - "check_substitutions": b3085a3e73e9: Pulling fs layer
Step #0 - "check_substitutions": 3dfcdc764bf9: Pulling fs layer
Step #0 - "check_substitutions": bc5f9aa62a15: Pulling fs layer
Step #0 - "check_substitutions": 1cad9a714f52: Pulling fs layer
Step #0 - "check_substitutions": 8c02a753d263: Pulling fs layer
Step #0 - "check_substitutions": bc5f9aa62a15: Verifying Checksum
Step #0 - "check_substitutions": bc5f9aa62a15: Download complete
Step #0 - "check_substitutions": b3085a3e73e9: Verifying Checksum
Step #0 - "check_substitutions": b3085a3e73e9: Download complete
Step #0 - "check_substitutions": 1cad9a714f52: Verifying Checksum
Step #0 - "check_substitutions": 1cad9a714f52: Download complete
Step #0 - "check_substitutions": 3dfcdc764bf9: Verifying Checksum
Step #0 - "check_substitutions": 3dfcdc764bf9: Download complete
Step #0 - "check_substitutions": b3085a3e73e9: Pull complete
Step #0 - "check_substitutions": 8c02a753d263: Verifying Checksum
Step #0 - "check_substitutions": 8c02a753d263: Download complete
Step #0 - "check_substitutions": 3dfcdc764bf9: Pull complete
Step #0 - "check_substitutions": bc5f9aa62a15: Pull complete
Step #0 - "check_substitutions": 1cad9a714f52: Pull complete
Step #0 - "check_substitutions": 8c02a753d263: Pull complete
Step #0 - "check_substitutions": Digest: sha256:d3a0c142b6584d475abd12a36fe9aa57d8f490045563430acd4c8e1bef34eb7f
Step #0 - "check_substitutions": Status: Downloaded newer image for us-docker.pkg.dev/kaggle-cicd/tools/cli-builder:3.11.15
Step #0 - "check_substitutions": us-docker.pkg.dev/kaggle-cicd/tools/cli-builder:3.11.15
Finished Step #0 - "check_substitutions"
Starting Step #1 - "build-hatch-image"
Step #1 - "build-hatch-image": Already have image (with digest): gcr.io/cloud-builders/docker
Step #1 - "build-hatch-image": Sending build context to Docker daemon 5.632kB
Step #1 - "build-hatch-image": Step 1/5 : ARG PYTHON_VERSION
Step #1 - "build-hatch-image": Step 2/5 : FROM python:${PYTHON_VERSION}
Step #1 - "build-hatch-image": 3.11.15: Pulling from library/python
Step #1 - "build-hatch-image": f32f49ce655a: Already exists
Step #1 - "build-hatch-image": 8a7504cd2818: Already exists
Step #1 - "build-hatch-image": b53089dca505: Already exists
Step #1 - "build-hatch-image": 8d6d44b254da: Already exists
Step #1 - "build-hatch-image": b3085a3e73e9: Already exists
Step #1 - "build-hatch-image": 3dfcdc764bf9: Already exists
Step #1 - "build-hatch-image": bc5f9aa62a15: Already exists
Step #1 - "build-hatch-image": Digest: sha256:58a54fbf1d5320af4f6761f9c6721329320a46ea086b5504640f19d1b7467d6a
Step #1 - "build-hatch-image": Status: Downloaded newer image for python:3.11.15
Step #1 - "build-hatch-image": ---> 7337351e0be7
Step #1 - "build-hatch-image": Step 3/5 : RUN python -m pip install --upgrade pip
Step #1 - "build-hatch-image": ---> Using cache
Step #1 - "build-hatch-image": ---> a513899b5ed2
Step #1 - "build-hatch-image": Step 4/5 : RUN python -m pip install hatch==1.16.5
Step #1 - "build-hatch-image": ---> Using cache
Step #1 - "build-hatch-image": ---> bc52d9ff8b08
Step #1 - "build-hatch-image": Step 5/5 : ENTRYPOINT ["hatch"]
Step #1 - "build-hatch-image": ---> Using cache
Step #1 - "build-hatch-image": ---> 6afab0422826
Step #1 - "build-hatch-image": Successfully built 6afab0422826
Step #1 - "build-hatch-image": Successfully tagged us-docker.pkg.dev/kaggle-cicd/tools/cli-builder:3.11.15
Finished Step #1 - "build-hatch-image"
Starting Step #2 - "lint"
Step #2 - "lint": Already have image (with digest): us-docker.pkg.dev/kaggle-cicd/tools/cli-builder:3.11.15
Step #2 - "lint": Creating environment: lint
Step #2 - "lint": Checking dependencies
Step #2 - "lint": Syncing dependencies
Step #2 - "lint": cmd [1] | black --check --diff .
Step #2 - "lint": Skipping .ipynb files as Jupyter dependencies are not installed.
Step #2 - "lint": You can fix this by running ``pip install "black[jupyter]"``
Step #2 - "lint": --- /workspace/tests/test_team_submissions.py 2026-05-29 22:37:31.710993+00:00
Step #2 - "lint": +++ /workspace/tests/test_team_submissions.py 2026-05-29 22:37:56.486936+00:00
Step #2 - "lint": @@ -39,13 +39,11 @@
Step #2 - "lint": mock_client.return_value.__exit__ = MagicMock(return_value=False)
Step #2 - "lint":
Step #2 - "lint": result = self.api.competition_team_submissions(team_id=42)
Step #2 - "lint":
Step #2 - "lint": self.assertEqual(result, expected)
Step #2 - "lint": - called_request = (
Step #2 - "lint": - mock_kaggle.competitions.competition_api_client.list_team_public_submissions.call_args[0][0]
Step #2 - "lint": - )
Step #2 - "lint": + called_request = mock_kaggle.competitions.competition_api_client.list_team_public_submissions.call_args[0][0]
Step #2 - "lint": self.assertEqual(called_request.team_id, 42)
Step #2 - "lint":
Step #2 - "lint": @patch.object(KaggleApi, "competition_team_submissions")
Step #2 - "lint": def test_cli_table_output(self, mock_view):
Step #2 - "lint": mock_view.return_value = [
Step #2 - "lint": would reformat /workspace/tests/test_team_submissions.py
Step #2 - "lint":
Step #2 - "lint": Oh no! 💥 💔 💥
Step #2 - "lint": 1 file would be reformatted, 24 files would be left unchanged.
Finished Step #2 - "lint"
ERROR
ERROR: build step 2 "us-docker.pkg.dev/kaggle-cicd/tools/cli-builder:3.11.15" failed: step exited with non-zero status: 1
Loading