kagglehub breaking changes
kagglehub 0.4.0 (January 8, 2026) is its newest release with breaking changes, 34 of them. The first: kagglehub 0.4.0 drops support for Python 3.9 and requires Python 3.10 or later. Every breaking API change we have recorded in kagglehub on PyPI: 34 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.0.3, released October 21, 2026. Source repository
Its 0.4.0 release requires Python 3.10 or later. Python end of life dates.
kagglehub 0.4.0 breaking changes
- Removed
Python 3.9 is no longer supported; the minimum required Python version is now 3.10. Users on Python 3.9 must upgrade Python before upgrading kagglehub. github.com - Removed
kagglehub.auth.KaggleApiV1Client
kagglehub.auth.KaggleApiV1Client was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.clients.get_kaggle_api_endpoint
kagglehub.clients.get_kaggle_api_endpoint was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.clients.is_in_kaggle_notebook
kagglehub.clients.is_in_kaggle_notebook was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.clients.kaggle_api_raise_for_status
kagglehub.clients.kaggle_api_raise_for_status was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.clients.KAGGLE_TOKEN_KEY_DIR_ENV_VAR_NAME
kagglehub.clients.KAGGLE_TOKEN_KEY_DIR_ENV_VAR_NAME was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.clients.KaggleApiV1Client
kagglehub.clients.KaggleApiV1Client was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.clients.KaggleTokenAuth
kagglehub.clients.KaggleTokenAuth was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.clients.process_post_response
kagglehub.clients.process_post_response was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.config.get_kaggle_api_endpoint
kagglehub.config.get_kaggle_api_endpoint was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.config.KAGGLE_API_ENDPOINT_ENV_VAR_NAME
kagglehub.config.KAGGLE_API_ENDPOINT_ENV_VAR_NAME was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.datasets_helpers.KaggleApiV1Client
kagglehub.datasets_helpers.KaggleApiV1Client was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.datasets_helpers.UploadDirectoryInfo.serialize
UploadDirectoryInfo.serialize was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.env.is_in_kaggle_notebook
kagglehub.env.is_in_kaggle_notebook was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.env.KAGGLE_TOKEN_KEY_DIR_ENV_VAR_NAME
kagglehub.env.KAGGLE_TOKEN_KEY_DIR_ENV_VAR_NAME was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.exceptions.kaggle_api_raise_for_status
kagglehub.exceptions.kaggle_api_raise_for_status was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.exceptions.process_post_response
kagglehub.exceptions.process_post_response was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.gcs_upload.KaggleApiV1Client
kagglehub.gcs_upload.KaggleApiV1Client was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.handle.get_kaggle_api_endpoint
kagglehub.handle.get_kaggle_api_endpoint was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.http_resolver.DATASET_CURRENT_VERSION_FIELD
kagglehub.http_resolver.DATASET_CURRENT_VERSION_FIELD was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.http_resolver.KaggleApiV1Client
kagglehub.http_resolver.KaggleApiV1Client was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.http_resolver.MODEL_INSTANCE_VERSION_FIELD
kagglehub.http_resolver.MODEL_INSTANCE_VERSION_FIELD was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.http_resolver.NOTEBOOK_CURRENT_VERSION_FIELD
kagglehub.http_resolver.NOTEBOOK_CURRENT_VERSION_FIELD was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.kaggle_cache_resolver.is_in_kaggle_notebook
kagglehub.kaggle_cache_resolver.is_in_kaggle_notebook was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.models_helpers.KaggleApiV1Client
kagglehub.models_helpers.KaggleApiV1Client was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.packages.is_in_kaggle_notebook
kagglehub.packages.is_in_kaggle_notebook was removed in kagglehub 0.4.0 pypi.org - Removed
kagglehub.utility_scripts.KaggleApiV1Client
kagglehub.utility_scripts.KaggleApiV1Client was removed in kagglehub 0.4.0 pypi.org - Renamed
kagglehub.datasets_helpers.dataset_delete
Use kagglehub.datasets_helpers.delete_dataset instead. pypi.org - Signature changed
kagglehub.config.KaggleApiCredentials.__init__
Was def __init__(self, username: str, key: str) -> None; now def __init__(self, username: str | None = None, key: str | None = None, api_key: str | None = None) -> None. pypi.org - Signature changed
kagglehub.config.KaggleApiCredentials.key
Was key: str; now key: str | None. pypi.org - Signature changed
kagglehub.config.KaggleApiCredentials.username
Was username: str; now username: str | None. pypi.org - Signature changed
kagglehub.datasets.upload_files_and_directories
Was def upload_files_and_directories(folder: str, *, ignore_patterns: Sequence[str], item_type: str, quiet: bool = False) -> UploadDirectoryInfo; now def upload_files_and_directories(folder: str, *, ignore_patterns: Sequence[str]... pypi.org - Signature changed
kagglehub.gcs_upload.upload_files_and_directories
Was def upload_files_and_directories(folder: str, *, ignore_patterns: Sequence[str], item_type: str, quiet: bool = False) -> UploadDirectoryInfo; now def upload_files_and_directories(folder: str, *, ignore_patterns: Sequence[str]... pypi.org - Signature changed
kagglehub.models.upload_files_and_directories
Was def upload_files_and_directories(folder: str, *, ignore_patterns: Sequence[str], item_type: str, quiet: bool = False) -> UploadDirectoryInfo; now def upload_files_and_directories(folder: str, *, ignore_patterns: Sequence[str]... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.