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

# distlib breaking changes

distlib 0.4.2 (June 8, 2026) is its newest release with breaking changes, 7 of them. The first: Resource paths are now checked so they cannot escape the package in distlib 0.4.2. Every breaking API change we have recorded in distlib on PyPI: 7 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 `0.4.4`, released October 16, 2026. [Source repository](https://github.com/pypa/distlib)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## distlib 0.4.2 breaking changes

distlib 0.4.2, released June 8, 2026: 7 breaking changes.

- **Behavior changed**  

Constructed resource paths that would escape the package are now rejected. Code that builds such paths will see failures. [github.com](https://github.com/pypa/distlib/blob/0.4.2/CHANGES.rst)
- **Behavior changed**  

Mounting extensions now enforces path containment checks. Extensions with paths outside the allowed location will be rejected. [github.com](https://github.com/pypa/distlib/blob/0.4.2/CHANGES.rst)
- **Behavior changed**  

Decompression has been hardened against malicious input. Archives that were previously accepted may now be refused. [github.com](https://github.com/pypa/distlib/blob/0.4.2/CHANGES.rst)
- **Behavior changed**  

Unarchiving now verifies that the destination directory cannot be escaped through symlinks. Archives that previously extracted may now be rejected. [github.com](https://github.com/pypa/distlib/blob/0.4.2/CHANGES.rst)
- **Behavior changed**  

Installed files that would escape the installation directory are now rejected. Wheels that relied on such paths will fail to install. [github.com](https://github.com/pypa/distlib/blob/0.4.2/CHANGES.rst)
- **Behavior changed** `findall`  

findall now uses os.lstat to detect symlinked directories. Code that relied on the previous symlink handling may see different results. [github.com](https://github.com/pypa/distlib/blob/0.4.2/CHANGES.rst)
- **Signature changed** `distlib.util.cache_from_source`  

Was def cache_from_source(path, debug_override=None); now def cache_from_source(path, debug_override=None, optimization=None). [pypi.org](https://pypi.org/project/distlib/0.4.2/)

## 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.
