Skip to content

build(deps-dev): Bump flit from 4.1.0 to 4.2.0 - #1048

Merged
veronika-alraheem merged 1 commit into
mainfrom
dependabot-pip-flit-4.2.0
Nov 3, 2026
Merged

veronika-alraheem merged 1 commit into
mainfrom
dependabot-pip-flit-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Bumps flit from 4.1.0 to 4.2.0.

Changelog

Sourced from flit's changelog.

Release history

Version 4.2

Flit :ref:now has a policy <llm_policy> against using AI/LLMs for development.

  • :ref:Sdist include & exclude patterns <pyproject_toml_sdist> are now matched regardless of Unicode normalisation form. This fixes a potential security issue, where a sensitive file may be published in an sdist even though it appears to match an exclusion rule. This may also depend on the filesystem, e.g. a rule that matches on Linux may not match on Mac, because Mac filesystems perform unicode normalisation.

    • If you have sensitive information in your project folder and you rely on include/exclude patterns to keep it out of sdists, it's still a good idea to check them carefully. A malicious contributor could still use other tricks, such as Unicode lookalike characters, to make a pattern that doesn't do what it appears to.
  • Flit will now refuse to build an sdist with symlinks that point outside of the project directory. This is a security issue for a consumer unpacking the sdist, and the consumer still needs to verify it, but this makes it harder to accidentally produce an sdist which consumers will reject.

  • Similarly, Flit will refuse to build wheels with symlinks pointing outside of the project directory, or using a README from outside the project directory. Either of these routes could previously have included files from the build machine into a wheel.

    • This change does not make it safe to build arbitrary untrusted packages with Flit; code from the package may still be executed. The aim is to make building more predictable, to reduce what needs to be manually verified. If you do not trust the source of a package, it is best to only attempt to build it in a secure sandbox with no access to sensitive information.
  • Allow environment markers to start with a parenthesised clause (:ghpull:836).

  • Text in [] brackets in requirements should only be name normalised if it is the name of an extra group (:ghpull:834).

  • Allow uploading to PyPI with a configured URL missing the trailing slash (:ghpull:829).

  • Fix flit install --symlink installing into a directory with spaces in the path (:ghpull:835).

  • Improved error messages for various cases, including hiding tracebacks in more cases where they are not informative (:ghpull:832, :ghpull:833, :ghpull:832, :ghpull:840, :ghpull:841)

Version 4.1

... (truncated)

Commits
  • eeaf9e7 Merge pull request #839 from pypa/release/4.2
  • 481d6c8 Update & rearrange release notes
  • eba18d9 Merge pull request #841 from lprnmns/cli-invalid-version-error
  • f291a9c Merge pull request #840 from lprnmns/check-requires-python-type
  • 5d2a509 Show invalid version errors from the CLI without a traceback
  • 0d1d5ed Check that requires-python is a string
  • 9605622 Clarify about include/exclude rule tricks
  • 840bd72 Finish sentence about rationale for symlink restriction
  • 2f07598 Finish sentence in LLM policy
  • ab319b2 Bump version: 4.1.0 → 4.2.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 2, 2026
Bumps [flit](https://github.com/pypa/flit) from 4.1.0 to 4.2.0.
- [Changelog](https://github.com/pypa/flit/blob/main/doc/history.rst)
- [Commits](pypa/flit@4.1.0...4.2.0)

---
updated-dependencies:
- dependency-name: flit
  dependency-version: 4.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot-pip-flit-4.2.0 branch from 64c5e21 to 871e297 Compare November 2, 2026 16:13
@veronika-alraheem
veronika-alraheem merged commit 009fb2e into main Nov 3, 2026
10 checks passed
@veronika-alraheem
veronika-alraheem deleted the dependabot-pip-flit-4.2.0 branch November 3, 2026 10:00
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant