Skip to content

Bump flit from 3.9.0 to 3.12.0 #1383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 20, 2025

Bumps flit from 3.9.0 to 3.12.0.

Changelog

Sourced from flit's changelog.

Release history

Version 3.12

  • Support for license expressions using the AND and OR operators (:ghpull:731).
  • Recognise __version__: str = "0.1" annotated assignments when finding the version number (:ghpull:728).
  • Clear error message when referring to a license file in a parent directory, which is not supported (:ghpull:725).

Version 3.11

  • Support for SPDX license expressions and multiple license files, as detailed in :pep:639::

      license = "BSD-3-Clause"
      license-files = ["LICENSE"]
    

    For now, only a single license identifier is allowed. More complex expressions describing multiple licenses & expressions may be supported in a future version.

  • The metadata format <https://packaging.python.org/en/latest/specifications/core-metadata/>_ in produced packages is now version 2.4, to support the expanded license information.

Version 3.10.1

  • The sdist of flit_core now includes the corresponding tests (:ghpull:704). These were missing in 3.10.

Version 3.10

  • flit publish can now use PyPI tokens stored in keyring (:ghpull:649), either project tokens with a 'username' like :samp:pypi_token:project:{project_name} (use the normalised form of the name <https://packaging.python.org/en/latest/specifications/name-normalization/>_) or user tokens (:samp:pypi_token:user:{username}).
  • The --python option can now take the path of a virtualenv folder, as an alternative to a Python executable (:ghpull:667).
  • Flit will work with current development versions of Pythona again (:ghpull:684).
  • The flit command line package now requires Python 3.8 or above (:ghpulL:660). flit_core still works with Python 3.6 or above.
  • The metadata in packages now has the names of optional dependency groups ("extras") normalised, complying with version 2.3 of the metadata standard (:ghpull:676, :ghpull:697).

... (truncated)

Commits
  • 1c81417 Merge pull request #737 from pypa/changelog-3.12
  • d9ce4c6 Bump version: 3.11.0 → 3.12.0
  • 27ea098 Prepare release notes for 3.12
  • 7a6e9b2 Merge pull request #731 from AA-Turner/compound-spdx
  • 0b07d23 Reword error messages
  • 38429c9 Add empty expression test case
  • 4ab2335 Add brackets-only test case
  • 78db7b5 Shorten error messages
  • 20e1729 Handle mixed-case licence operators
  • 9bd1477 Raise error on expressions with no operator
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Summary by Sourcery

Chores:

  • Update docs/requirements-dev.txt to bump flit from 3.9.0 to 3.12.0

Bumps [flit](https://github.com/pypa/flit) from 3.9.0 to 3.12.0.
- [Changelog](https://github.com/pypa/flit/blob/main/doc/history.rst)
- [Commits](pypa/flit@3.9.0...3.12.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 20, 2025
Copy link
Contributor

sourcery-ai bot commented May 20, 2025

Reviewer's Guide

Updates the developer dependency flit from v3.9.0 to v3.12.0 by bumping the version in the dev requirements, bringing in support for compound SPDX license expressions, annotated assignment version detection, clearer license error messaging, and other fixes.

File-Level Changes

Change Details Files
Bump flit version to 3.12.0 in dev requirements
  • Updated flit version number from 3.9.0 to 3.12.0
docs/requirements-dev.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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.

0 participants