---
title: "kagglehub 0.4.0 Breaking Changes on PyPI | Since.dev"
description: "What each kagglehub release removed, renamed or changed: 34 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/kagglehub
last_updated: 2026-12-04
---

# 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

Latest version `1.0.3`, released October 21, 2026. [Source repository](https://github.com/Kaggle/kagglehub)

Its 0.4.0 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

## kagglehub 0.4.0 breaking changes

kagglehub 0.4.0, released January 8, 2026: 34 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](https://github.com/Kaggle/kagglehub/blob/v0.4.0/CHANGELOG.md)
- **Removed** `kagglehub.auth.KaggleApiV1Client`  

kagglehub.auth.KaggleApiV1Client was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.clients.get_kaggle_api_endpoint`  

kagglehub.clients.get_kaggle_api_endpoint was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.clients.is_in_kaggle_notebook`  

kagglehub.clients.is_in_kaggle_notebook was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.clients.kaggle_api_raise_for_status`  

kagglehub.clients.kaggle_api_raise_for_status was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.clients.KaggleApiV1Client`  

kagglehub.clients.KaggleApiV1Client was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.clients.KaggleTokenAuth`  

kagglehub.clients.KaggleTokenAuth was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.clients.process_post_response`  

kagglehub.clients.process_post_response was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.config.get_kaggle_api_endpoint`  

kagglehub.config.get_kaggle_api_endpoint was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.datasets_helpers.KaggleApiV1Client`  

kagglehub.datasets_helpers.KaggleApiV1Client was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.datasets_helpers.UploadDirectoryInfo.serialize`  

UploadDirectoryInfo.serialize was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.env.is_in_kaggle_notebook`  

kagglehub.env.is_in_kaggle_notebook was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.exceptions.kaggle_api_raise_for_status`  

kagglehub.exceptions.kaggle_api_raise_for_status was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.exceptions.process_post_response`  

kagglehub.exceptions.process_post_response was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.gcs_upload.KaggleApiV1Client`  

kagglehub.gcs_upload.KaggleApiV1Client was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.handle.get_kaggle_api_endpoint`  

kagglehub.handle.get_kaggle_api_endpoint was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.http_resolver.DATASET_CURRENT_VERSION_FIELD`  

kagglehub.http_resolver.DATASET_CURRENT_VERSION_FIELD was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.http_resolver.KaggleApiV1Client`  

kagglehub.http_resolver.KaggleApiV1Client was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.http_resolver.MODEL_INSTANCE_VERSION_FIELD`  

kagglehub.http_resolver.MODEL_INSTANCE_VERSION_FIELD was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.http_resolver.NOTEBOOK_CURRENT_VERSION_FIELD`  

kagglehub.http_resolver.NOTEBOOK_CURRENT_VERSION_FIELD was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.models_helpers.KaggleApiV1Client`  

kagglehub.models_helpers.KaggleApiV1Client was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.packages.is_in_kaggle_notebook`  

kagglehub.packages.is_in_kaggle_notebook was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Removed** `kagglehub.utility_scripts.KaggleApiV1Client`  

kagglehub.utility_scripts.KaggleApiV1Client was removed in kagglehub 0.4.0 [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Renamed** `kagglehub.datasets_helpers.dataset_delete`  

Use kagglehub.datasets_helpers.delete_dataset instead. [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)
- **Signature changed** `kagglehub.config.KaggleApiCredentials.key`  

Was key: str; now key: str | None. [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **Signature changed** `kagglehub.config.KaggleApiCredentials.username`  

Was username: str; now username: str | None. [pypi.org](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)
- **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](https://pypi.org/project/kagglehub/0.4.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
