Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pagination to lists of files #572

Merged
merged 8 commits into from
May 2, 2024

Address review comments; add work-around for autogen.sh failure

5e4664f
Select commit
Loading
Failed to load commit list.
Merged

Add support for pagination to lists of files #572

Address review comments; add work-around for autogen.sh failure
5e4664f
Select commit
Loading
Failed to load commit list.
Google Cloud Build / kaggleapi-integration-tests-branch (kaggle-cicd) succeeded May 1, 2024 in 52s

Summary

Build Information

Trigger kaggleapi-integration-tests-branch
Build 3d995bab-64e5-4dfe-8654-d20f3ed3386e
Start 2024-05-01T13:06:41-07:00
Duration 50.774s
Status SUCCESS

Steps

Step Status Duration
download-secrets SUCCESS 3.519s
integration-tests SUCCESS 41.899s

Details

starting build "3d995bab-64e5-4dfe-8654-d20f3ed3386e"

FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/Kaggle/kaggle-api
 * branch            5e4664fba45631cbb9c04ff03a97263d158e8a48 -> FETCH_HEAD
HEAD is now at 5e4664f Address review comments; add work-around for autogen.sh failure
SETUPBUILD
BUILD
Starting Step #0 - "download-secrets"
Step #0 - "download-secrets": Already have image (with digest): gcr.io/cloud-builders/gcloud
Finished Step #0 - "download-secrets"
Starting Step #1 - "integration-tests"
Step #1 - "integration-tests": Pulling image: us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11
Step #1 - "integration-tests": 3.11: Pulling from kaggle-cicd/tools/hatch
Step #1 - "integration-tests": 1468e7ff95fc: Pulling fs layer
Step #1 - "integration-tests": 2cf9c2b42f41: Pulling fs layer
Step #1 - "integration-tests": c4c40c3e3cdf: Pulling fs layer
Step #1 - "integration-tests": c05cc1123d7e: Pulling fs layer
Step #1 - "integration-tests": b6f29ccdcc55: Pulling fs layer
Step #1 - "integration-tests": 0cc3b3583e25: Pulling fs layer
Step #1 - "integration-tests": 8db593f9de8d: Pulling fs layer
Step #1 - "integration-tests": 743c3596a80e: Pulling fs layer
Step #1 - "integration-tests": cbaf29bdb04a: Pulling fs layer
Step #1 - "integration-tests": c05cc1123d7e: Waiting
Step #1 - "integration-tests": 0cc3b3583e25: Waiting
Step #1 - "integration-tests": 8db593f9de8d: Waiting
Step #1 - "integration-tests": 743c3596a80e: Waiting
Step #1 - "integration-tests": cbaf29bdb04a: Waiting
Step #1 - "integration-tests": b6f29ccdcc55: Waiting
Step #1 - "integration-tests": 2cf9c2b42f41: Verifying Checksum
Step #1 - "integration-tests": 2cf9c2b42f41: Download complete
Step #1 - "integration-tests": 1468e7ff95fc: Verifying Checksum
Step #1 - "integration-tests": 1468e7ff95fc: Download complete
Step #1 - "integration-tests": c4c40c3e3cdf: Verifying Checksum
Step #1 - "integration-tests": c4c40c3e3cdf: Download complete
Step #1 - "integration-tests": b6f29ccdcc55: Verifying Checksum
Step #1 - "integration-tests": b6f29ccdcc55: Download complete
Step #1 - "integration-tests": 8db593f9de8d: Verifying Checksum
Step #1 - "integration-tests": 8db593f9de8d: Download complete
Step #1 - "integration-tests": 0cc3b3583e25: Download complete
Step #1 - "integration-tests": 743c3596a80e: Verifying Checksum
Step #1 - "integration-tests": 743c3596a80e: Download complete
Step #1 - "integration-tests": cbaf29bdb04a: Verifying Checksum
Step #1 - "integration-tests": cbaf29bdb04a: Download complete
Step #1 - "integration-tests": c05cc1123d7e: Verifying Checksum
Step #1 - "integration-tests": c05cc1123d7e: Download complete
Step #1 - "integration-tests": 1468e7ff95fc: Pull complete
Step #1 - "integration-tests": 2cf9c2b42f41: Pull complete
Step #1 - "integration-tests": c4c40c3e3cdf: Pull complete
Step #1 - "integration-tests": c05cc1123d7e: Pull complete
Step #1 - "integration-tests": b6f29ccdcc55: Pull complete
Step #1 - "integration-tests": 0cc3b3583e25: Pull complete
Step #1 - "integration-tests": 8db593f9de8d: Pull complete
Step #1 - "integration-tests": 743c3596a80e: Pull complete
Step #1 - "integration-tests": cbaf29bdb04a: Pull complete
Step #1 - "integration-tests": Digest: sha256:c8635fba972879bc2fb3af5f8b105f6b5df03b26ee26338c2a2e1d6b0aa5cca9
Step #1 - "integration-tests": Status: Downloaded newer image for us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11
Step #1 - "integration-tests": us-docker.pkg.dev/kaggle-cicd/tools/hatch:3.11
Step #1 - "integration-tests": Creating environment: default
Step #1 - "integration-tests": Installing project in development mode
Step #1 - "integration-tests": Checking dependencies
Step #1 - "integration-tests": Syncing dependencies
Step #1 - "integration-tests": ============================= test session starts ==============================
Step #1 - "integration-tests": platform linux -- Python 3.11.9, pytest-8.2.0, pluggy-1.5.0
Step #1 - "integration-tests": rootdir: /workspace
Step #1 - "integration-tests": configfile: pyproject.toml
Step #1 - "integration-tests": collected 2 items
Step #1 - "integration-tests": 
Step #1 - "integration-tests": integration_tests/test_models.py ..                                      [100%]
Step #1 - "integration-tests": 
Step #1 - "integration-tests": =============================== warnings summary ===============================
Step #1 - "integration-tests": kaggle/api_client.py:260
Step #1 - "integration-tests":   /workspace/kaggle/api_client.py:260: DeprecationWarning: invalid escape sequence '\['
Step #1 - "integration-tests":     sub_kls = re.match('list\[(.*)\]', klass).group(1)
Step #1 - "integration-tests": 
Step #1 - "integration-tests": kaggle/api_client.py:265
Step #1 - "integration-tests":   /workspace/kaggle/api_client.py:265: DeprecationWarning: invalid escape sequence '\('
Step #1 - "integration-tests":     sub_kls = re.match('dict\(([^,]*), (.*)\)', klass).group(2)
Step #1 - "integration-tests": 
Step #1 - "integration-tests": kaggle/api/kaggle_api.py:1071
Step #1 - "integration-tests":   /workspace/kaggle/api/kaggle_api.py:1071: DeprecationWarning: invalid escape sequence '\&'
Step #1 - "integration-tests":     """Creates (aka \&quot;drops\&quot;) a new file into the inbox.  # noqa: E501
Step #1 - "integration-tests": 
Step #1 - "integration-tests": kaggle/api/kaggle_api.py:1092
Step #1 - "integration-tests":   /workspace/kaggle/api/kaggle_api.py:1092: DeprecationWarning: invalid escape sequence '\&'
Step #1 - "integration-tests":     """Creates (aka \&quot;drops\&quot;) a new file into the inbox.  # noqa: E501
Step #1 - "integration-tests": 
Step #1 - "integration-tests": integration_tests/test_models.py::TestModels::test_get_model
Step #1 - "integration-tests": integration_tests/test_models.py::TestModels::test_list_models
Step #1 - "integration-tests":   /workspace/kaggle/rest.py:62: DeprecationWarning: HTTPResponse.getheaders() is deprecated and will be removed in urllib3 v2.1.0. Instead access HTTPResponse.headers directly.
Step #1 - "integration-tests":     return self.urllib3_response.getheaders()
Step #1 - "integration-tests": 
Step #1 - "integration-tests": -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Step #1 - "integration-tests": ======================== 2 passed, 6 warnings in 1.82s =========================
Finished Step #1 - "integration-tests"
PUSH
DONE

Build Log: https://console.cloud.google.com/cloud-build/builds/3d995bab-64e5-4dfe-8654-d20f3ed3386e?project=464139560241