Skip to content

Bump distlib from 0.3.9 to 0.4.2 in /sdks/python#38855

Merged
derrickaw merged 1 commit into
masterfrom
dependabot/pip/sdks/python/distlib-0.4.2
Jun 9, 2026
Merged

Bump distlib from 0.3.9 to 0.4.2 in /sdks/python#38855
derrickaw merged 1 commit into
masterfrom
dependabot/pip/sdks/python/distlib-0.4.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Contributor

Bumps distlib from 0.3.9 to 0.4.2.

Changelog

Sourced from distlib's changelog.

0.4.2


Released: 2026-06-08
  • locators

    • Fix URL percent-encoding using space-padding instead of zero-padding. Thanks to Kadir Can Ozden for the patch.

    • Harden decompression against malicious input. Thanks to tonghuaroot for the patch, which was adapted slightly.

  • manifest

    • Use os.lstat in findall to correctly detect symlinked directories. Thanks to Kadir Can Ozden for the patch.
  • metadata

    • Improve logic to incorporate newer metadata versions.
  • resources

    • Ensure that constructed resource paths don't escape the package. Thanks to tonghuaroot for the patch.
  • util

    • Fix #255: Update cache_from_source() for Python 3.15. Thanks to Victor Stinner for the patch.

    • Check during unarchiving that the destination directory isn't escaped via symlinks. Thanks to tonghuaroot for the patch.

    • Improved performance of normalize_name using dual replace. Thanks to Hugo van Kemenade for the patch.

  • wheel

    • Add checks that installed files don't escape the installation directory. Thanks to tonghuaroot for the patch.

    • Add checks when mounting extensions to ensure path containment. Thanks to tonghuaroot for the patch.

0.4.1

... (truncated)

Commits
  • 8183ea6 Update change log.
  • 55ca016 Changes for 0.4.2.
  • 7e282ab Update metadata logic to incorporate newer versions.
  • fa4ea50 Remove non-portable portion of test.
  • e06a1d5 Further refine tests.
  • ccd2bb0 Update unit tests.
  • ab58056 Formatting tidy-up.
  • 4d4c926 Add checks when mounting extensions to ensure path containment.
  • 9efc6fd Check during unarchiving that the destination directory isn't escaped via sym...
  • 63fd4f1 Ensure that constructed resource paths don't escape the package.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [distlib](https://github.com/pypa/distlib) from 0.3.9 to 0.4.2.
- [Release notes](https://github.com/pypa/distlib/releases)
- [Changelog](https://github.com/pypa/distlib/blob/master/CHANGES.rst)
- [Commits](pypa/distlib@0.3.9...0.4.2)

---
updated-dependencies:
- dependency-name: distlib
  dependency-version: 0.4.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python labels Jun 9, 2026
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.77%. Comparing base (d9117f4) to head (b2db7bb).
⚠️ Report is 11 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #38855      +/-   ##
============================================
- Coverage     57.77%   57.77%   -0.01%     
  Complexity    12969    12969              
============================================
  Files          2509     2509              
  Lines        260525   260533       +8     
  Branches      10658    10658              
============================================
- Hits         150516   150513       -3     
- Misses       104318   104329      +11     
  Partials       5691     5691              
Flag Coverage Δ
python 79.37% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Assigning reviewers:

R: @claudevdm for label python.

Note: If you would like to opt out of this review, comment assign to next reviewer.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@derrickaw derrickaw merged commit a9d7d2c into master Jun 9, 2026
109 of 112 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/sdks/python/distlib-0.4.2 branch June 9, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Next Action: Reviewers python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant