Skip to content
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

Update all dependencies #119

Merged
merged 2 commits into from
Feb 26, 2024
Merged

Update all dependencies #119

merged 2 commits into from
Feb 26, 2024

Conversation

platform-engineering-bot
Copy link
Contributor

@platform-engineering-bot platform-engineering-bot commented Feb 19, 2024

This PR contains the following updates:

Package Type Update Change
PyCQA/flake8 repository major 6.1.0 -> 7.0.0
actions/cache action major v3 -> v4
actions/checkout action pinDigest -> b4ffde6
actions/download-artifact action major v3 -> v4
actions/setup-python action major v4 -> v5
actions/upload-artifact action major v3 -> v4
autoflake dev minor 2.2.1 -> 2.3.0
black (changelog) dev major ^23.10.1 -> ^24.0.0
cbor2 (changelog) dependencies minor ~5.5.0 -> ~5.6.0
coverage dev minor 7.3.3 -> 7.4.3
flake8 (changelog) dev major ^6.1.0 -> ^7.0.0
html2text dev major ^2020.1.16 -> ^2024.0.0
igorshubovych/markdownlint-cli repository minor v0.37.0 -> v0.39.0
isort (source, changelog) dev minor 5.12.0 -> 5.13.2
pre-commit dev minor 3.5.0 -> 3.6.2
pycqa/isort repository minor 5.12.0 -> 5.13.2
python-poetry/poetry repository minor 1.7.1 -> 1.8.1
python/black repository major 23.11.0 -> 24.2.0
sphinx-rtd-theme dev major ^1.1.1 -> ^2.0.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

PyCQA/flake8 (PyCQA/flake8)

v7.0.0

Compare Source

actions/cache (actions/cache)

v4

Compare Source

actions/download-artifact (actions/download-artifact)

v4

Compare Source

actions/setup-python (actions/setup-python)

v5

Compare Source

actions/upload-artifact (actions/upload-artifact)

v4

Compare Source

psf/black (black)

v24.2.0

Compare Source

Stable style
  • Fixed a bug where comments where mistakenly removed along with redundant parentheses
    (#​4218)
Preview style
  • Move the hug_parens_with_braces_and_square_brackets feature to the unstable style
    due to an outstanding crash and proposed formatting tweaks (#​4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
    expression (#​4154)
  • Checking for newline before adding one on docstring that is almost at the line limit
    (#​4185)
  • Remove redundant parentheses in case statement if guards (#​4214).
Configuration
  • Fix issue where Black would ignore input files in the presence of symlinks (#​4222)
  • Black now ignores pyproject.toml that is missing a tool.black section when
    discovering project root and configuration. Since Black continues to use version
    control as an indicator of project root, this is expected to primarily change behavior
    for users in a monorepo setup (desirably). If you wish to preserve previous behavior,
    simply add an empty [tool.black] to the previously discovered pyproject.toml
    (#​4204)
Output
  • Black will swallow any SyntaxWarnings or DeprecationWarnings produced by the ast
    module when performing equivalence checks (#​4189)
Integrations
  • Add a JSONSchema and provide a validate-pyproject entry-point (#​4181)

v24.1.1

Compare Source

Bugfix release to fix a bug that made Black unusable on certain file systems with strict
limits on path length.

Preview style
  • Consistently add trailing comma on typed parameters (#​4164)
Configuration
  • Shorten the length of the name of the cache file to fix crashes on file systems that
    do not support long paths (#​4176)

v24.1.0

Compare Source

Highlights

This release introduces the new 2024 stable style (#​4106), stabilizing the following
changes:

  • Add parentheses around if-else expressions (#​2278)
  • Dummy class and function implementations consisting only of ... are formatted more
    compactly (#​3796)
  • If an assignment statement is too long, we now prefer splitting on the right-hand side
    (#​3368)
  • Hex codes in Unicode escape sequences are now standardized to lowercase (#​2916)
  • Allow empty first lines at the beginning of most blocks (#​3967, #​4061)
  • Add parentheses around long type annotations (#​3899)
  • Enforce newline after module docstrings (#​3932, #​4028)
  • Fix incorrect magic trailing comma handling in return types (#​3916)
  • Remove blank lines before class docstrings (#​3692)
  • Wrap multiple context managers in parentheses if combined in a single with statement
    (#​3489)
  • Fix bug in line length calculations for power operations (#​3942)
  • Add trailing commas to collection literals even if there's a comment after the last
    entry (#​3393)
  • When using --skip-magic-trailing-comma or -C, trailing commas are stripped from
    subscript expressions with more than 1 element (#​3209)
  • Add extra blank lines in stubs in a few cases (#​3564, #​3862)
  • Accept raw strings as docstrings (#​3947)
  • Split long lines in case blocks (#​4024)
  • Stop removing spaces from walrus operators within subscripts (#​3823)
  • Fix incorrect formatting of certain async statements (#​3609)
  • Allow combining # fmt: skip with other comments (#​3959)

There are already a few improvements in the --preview style, which are slated for the
2025 stable style. Try them out and
share your feedback. In the past, the preview
style has included some features that we were not able to stabilize. This year, we're
adding a separate --unstable style for features with known problems. Now, the
--preview style only includes features that we actually expect to make it into next
year's stable style.

Stable style

Several bug fixes were made in features that are moved to the stable style in this
release:

  • Fix comment handling when parenthesising conditional expressions (#​4134)
  • Fix bug where spaces were not added around parenthesized walruses in subscripts,
    unlike other binary operators (#​4109)
  • Remove empty lines before docstrings in async functions (#​4132)
  • Address a missing case in the change to allow empty lines at the beginning of all
    blocks, except immediately before a docstring (#​4130)
  • For stubs, fix logic to enforce empty line after nested classes with bodies (#​4141)
Preview style
  • Add --unstable style, covering preview features that have known problems that would
    block them from going into the stable style. Also add the --enable-unstable-feature
    flag; for example, use
    --enable-unstable-feature hug_parens_with_braces_and_square_brackets to apply this
    preview feature throughout 2024, even if a later Black release downgrades the feature
    to unstable (#​4096)
  • Format module docstrings the same as class and function docstrings (#​4095)
  • Fix crash when using a walrus in a dictionary (#​4155)
  • Fix unnecessary parentheses when wrapping long dicts (#​4135)
  • Stop normalizing spaces before # fmt: skip comments (#​4146)
Configuration
  • Print warning when configuration in pyproject.toml contains an invalid key (#​4165)
  • Fix symlink handling, properly ignoring symlinks that point outside of root (#​4161)
  • Fix cache mtime logic that resulted in false positive cache hits (#​4128)
  • Remove the long-deprecated --experimental-string-processing flag. This feature can
    currently be enabled with --preview --enable-unstable-feature string_processing.
    (#​4096)
Integrations
  • Revert the change to run Black's pre-commit integration only on specific git hooks
    (#​3940) for better compatibility with older versions of pre-commit (#​4137)

v23.12.1

Compare Source

Packaging
  • Fixed a bug that included dependencies from the d extra by default (#​4108)

v23.12.0

Compare Source

Highlights

It's almost 2024, which means it's time for a new edition of Black's stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
share your feedback.

This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in --preview mode will be in the 2024 stable style.

Stable style
  • Fix bug where # fmt: off automatically dedents when used with the --line-ranges
    option, even when it is not within the specified line range. (#​4084)
  • Fix feature detection for parenthesized context managers (#​4104)
Preview style
  • Prefer more equal signs before a break when splitting chained assignments (#​4010)
  • Standalone form feed characters at the module level are no longer removed (#​4021)
  • Additional cases of immediately nested tuples, lists, and dictionaries are now
    indented less (#​4012)
  • Allow empty lines at the beginning of all blocks, except immediately before a
    docstring (#​4060)
  • Fix crash in preview mode when using a short --line-length (#​4086)
  • Keep suites consisting of only an ellipsis on their own lines if they are not
    functions or class definitions (#​4066) (#​4103)
Configuration
  • --line-ranges now skips Black's internal stability check in --safe mode. This
    avoids a crash on rare inputs that have many unformatted same-content lines. (#​4034)
Packaging
Integrations
agronholm/cbor2 (cbor2)

v5.6.2

Compare Source

  • Fixed __hash__() of the C version of the CBORTag type crashing when there's a recursive reference cycle
  • Fixed type annotation for the file object in cbor2.dump(), cbor2.load(), CBOREncoder and CBORDecoder to be IO[bytes] instead of BytesIO
  • Worked around a CPython bug that caused a SystemError to be raised, or even a buffer overflow to occur when decoding a long text string that contained only ASCII characters
  • Changed the return type annotations of cbor2.load() and cbor2.load() to return Any instead of object so as not to force users to make type casts

v5.6.1

Compare Source

  • Fixed use-after-free in the decoder's C version when prematurely encountering the end of stream
  • Fixed the C version of the decoder improperly raising CBORDecodeEOF when decoding a text string longer than 65536 bytes

v5.6.0

Compare Source

  • Added the cbor2 command line tool (for pipx run cbor2)
  • Added support for native date encoding (bschoenmaeckers)
  • Made the C extension mandatory when the environment variable CBOR2_BUILD_C_EXTENSION is set to 1.
  • Fixed SystemError in the C extension when decoding a Fractional with a bad number of arguments or a non-tuple value
  • Fixed SystemError in the C extension when the decoder object hook raises an exception
  • Fixed a segmentation fault when decoding invalid unicode data
  • Fixed infinite recursion when trying to hash a CBOR tag whose value points to the tag itself
  • Fixed MemoryError when maliciously constructed bytestrings or string (declared to be absurdly large) are being decoded
  • Fixed UnicodeDecodeError from failed parsing of a UTF-8 text string not being wrapped as CBORDecodeValueError
  • Fixed TypeError or ZeroDivisionError from a failed decoding of Fraction not being wrapped as CBORDecodeValueError
  • Fixed TypeError or ValueError from a failed decoding of UUID not being wrapped as CBORDecodeValueError
  • Fixed TypeError from a failed decoding of MIMEMessage not being wrapped as CBORDecodeValueError
  • Fixed OverflowError, OSError or ValueError from a failed decoding of epoch-based datetime not being wrapped as CBORDecodeValueError
nedbat/coveragepy (coverage)

v7.4.3

Compare Source

  • Fix: in some cases, coverage could fail with a RuntimeError: "Set changed
    size during iteration." This is now fixed, closing issue 1733_.

.. _issue 1733:https://github.com/nedbat/coveragepy/issues/17333

.. _changes_7-4-2:

v7.4.2

Compare Source

  • Fix: setting COVERAGE_CORE=sysmon no longer errors on 3.11 and lower,
    thanks Hugo van Kemenade <pull 1747_>_. It now issues a warning that
    sys.monitoring is not available and falls back to the default core instead.

.. _pull 1747:https://github.com/nedbat/coveragepy/pull/17477

.. _changes_7-4-1:

v7.4.1

Compare Source

  • Python 3.13.0a3 is supported.

  • Fix: the JSON report now includes an explicit format version number, closing
    issue 1732_.

.. _issue 1732:https://github.com/nedbat/coveragepy/issues/17322

.. _changes_7-4-0:

v7.4.0

Compare Source

  • In Python 3.12 and above, you can try an experimental core based on the new
    :mod:sys.monitoring <python:sys.monitoring> module by defining a
    COVERAGE_CORE=sysmon environment variable. This should be faster for
    line coverage, but not for branch coverage, and plugins and dynamic contexts
    are not yet supported with it. I am very interested to hear how it works (or
    doesn't!) for you.

.. _changes_7-3-4:

v7.3.4

Compare Source

  • Fix: the change for multi-line signature exclusions in 7.3.3 broke other
    forms of nested clauses being excluded properly. This is now fixed, closing
    issue 1713_.

  • Fix: in the HTML report, selecting code for copying won't select the line
    numbers also. Thanks, Robert Harris <pull 1717_>_.

.. _issue 1713:https://github.com/nedbat/coveragepy/issues/17133
.. _pull 1717https://github.com/nedbat/coveragepy/pull/171717

.. _changes_7-3-3:

pycqa/flake8 (flake8)

v7.0.0

Compare Source

Alir3z4/html2text (html2text)

v2024.2.25

Compare Source

=========

  • Fix #​332: Insert at most one space for multiple emphasis
  • Feature #​318: Make padded tables more similar to pandoc's pipe_tables.
  • Add support for Python 3.9.
  • Fix extra line breaks inside html link text (between '[' and ']')
  • Fix #​344: indent <ul> inside <ol> three spaces instead of two to comply with CommonMark, GFM, etc.
  • Fix #​324: unnecessary spaces around <b>, <em>, and strike tags.
  • Don't wrap tables by default and add a --wrap-tables config option.
  • Feature #​198: Ignore <p> tags inside table rows.
  • Don't wrap tables by default and add a --wrap-tables config option
  • Remove support for Python ≤ 3.5. Now requires Python 3.6+.
  • Support for Python 3.10+.
  • Fix #​320 padding empty tables and tables with no </tr> tags.
  • Add ignore_mailto_links config option to ignore mailto: style links.
  • Feature #​407: Support the superscript and subscript tags.
  • Fix #​373: \n inside text of a Markdown link.
  • Feature #​406: Improve support for null atttibute values.
igorshubovych/markdownlint-cli (igorshubovych/markdownlint-cli)

v0.39.0: 0.39.0

Compare Source

  • Update markdownlint dependency to 0.33.0
    • Add MD055/table-pipe-style, MD056/table-column-count
    • Improve MD005/MD007/MD024/MD026/MD038
    • Incorporate micromark-extension-directive
    • Improve JSON schema, document validation
  • Handle trailing commas in JSONC configuration
  • Update all dependencies via Dependabot

v0.38.0: 0.38.0

Compare Source

  • Update markdownlint dependency to 0.32.1
    • Remove deprecated MD002/MD006
    • Remove rule aliases for "header"
    • Add MD054/link-image-style
    • Use micromark in MD005/MD007/MD030
    • Improve MD022/MD026/MD034/MD037/MD038/MD045/MD051
  • Remove support for end-of-life Node version 16
  • Update all dependencies via Dependabot
pycqa/isort (isort)

v5.13.2

Compare Source

v5.13.1

Compare Source

v5.13.0

Compare Source

pre-commit/pre-commit (pre-commit)

v3.6.2

Compare Source

==================

Fixes

v3.6.1

Compare Source

==================

Fixes

v3.6.0

Compare Source

==================

Features
Fixes
Updating
python-poetry/poetry (python-poetry/poetry)

v1.8.1

Compare Source

  • Add support for creating packages dynamically in the build script (#​629).
  • Improve marker logic for extra markers (#​636).
  • Update list of supported licenses (#​635, #​646).
  • Fix an issue where projects with extension modules were not installed in editable mode (#​633).
  • Fix an issue where the wrong or no lib folder was added to the wheel (#​634).

v1.8.0

Compare Source

Added
  • Add a non-package mode for use cases where Poetry is only used for dependency management (#​8650).
  • Add support for PEP 658 to fetch metadata without having to download wheels (#​5509).
  • Add a lazy-wheel config option (default: true) to reduce wheel downloads during dependency resolution (#​8815,
    #​8941).
  • Improve performance of dependency resolution by using shallow copies instead of deep copies (#​8671).
  • poetry check validates that no unknown sources are referenced in dependencies (#​8709).
  • Add archive validation during installation for further hash algorithms (#​8851).
  • Add a to key in tool.poetry.packages to allow custom subpackage names (#​8791).
  • Add a config option to disable keyring (#​8910).
  • Add a --sync option to poetry update (#​8931).
  • Add an --output option to poetry build (#​8828).
  • Add a --dist-dir option to poetry publish (#​8828).
Changed
  • The implicit PyPI source is disabled if at least one primary source is configured (#​8771).
  • Deprecate source priority default (#​8771).
  • Upgrade the warning about an inconsistent lockfile to an error (#​8737).
  • Deprecate setting installer.modern-installation to false (#​8988).
  • Drop support for pip<19 (#​8894).
  • Require requests-toolbelt>=1 (#​8680).
  • Allow platformdirs 4.x (#​8668).
  • Allow and require xattr 1.x on macOS (#​8801).
  • Improve venv shell activation in fish (#​8804).
  • Rename system to base in output of poetry env info (#​8832).
  • Use pretty name in output of poetry version (#​8849).
  • Improve error handling for invalid entries in tool.poetry.scripts (#​8898).
  • Improve verbose output for dependencies with extras during dependency resolution (#​8834).
  • Improve message about an outdated lockfile (#​8962).
Fixed
  • Fix an issue where poetry shell failed when Python has been installed with MSYS2 (#​8644).
  • Fix an issue where Poetry commands failed in a terminal with a non-UTF-8 encoding (#​8608).
  • Fix an issue where a missing project name caused an incomprehensible error message (#​8691).
  • Fix an issue where Poetry failed to install an sdist path dependency (#​8682).
  • Fix an issue where poetry install failed because an unused extra was not available (#​8548).
  • Fix an issue where poetry install --sync did not remove an unrequested extra (#​8621).
  • Fix an issue where poetry init did not allow specific characters in the author field (#​8779).
  • Fix an issue where Poetry could not download sdists from misconfigured servers (#​8701).
  • Fix an issue where metadata of sdists that call CLI tools of their build requirements could not be determined (#​8827).
  • Fix an issue where Poetry failed to use the currently activated environment (#​8831).
  • Fix an issue where poetry shell failed in zsh if a space was in the venv path (#​7245).
  • Fix an issue where scripts with extras could not be installed (#​8900).
  • Fix an issue where explicit sources where not propagated correctly (#​8835).
  • Fix an issue where debug prints where swallowed when using a build script (#​8760).
  • Fix an issue where explicit sources of locked dependencies where not propagated correctly (#​8948).
  • Fix an issue where Poetry's own environment was falsely identified as system environment (#​8970).
  • Fix an issue where dependencies from a setup.py were ignored silently (#​9000).
  • Fix an issue where environment variables for virtualenv.options were ignored (#​9015).
  • Fix an issue where virtualenvs.options.no-pip and virtualenvs.options.no-setuptools were not normalized (#​9015).
Docs
  • Replace deprecated --no-dev with --without dev in the FAQ (#​8659).
  • Recommend poetry-check instead of the deprecated poetry-lock pre-commit hook (#​8675).
  • Clarify the names of the environment variables to provide credentials for repositories (#​8782).
  • Add note how to install several version of Poetry in parallel (#​8814).
  • Improve description of poetry show --why (#​8817).
  • Improve documentation of poetry update (#​8706).
  • Add a warning about passing variables that may start with a hyphen via command line (#​8850).
  • Mention that the virtual environment in which Poetry itself is installed should not be activated (#​8833).
  • Add note about poetry run and externally managed environments (#​8748).
  • Update FAQ entry about tox for tox 4.x (#​8658).
  • Fix documentation for default format option for include and exclude value (#​8852).
  • Add note about tox and configured credentials (#​8888).
  • Add note and link how to install pipx (#​8878).
  • Fix examples for poetry add with git dependencies over ssh (#​8911).
  • Remove reference to deprecated scripts extras feature (#​8903).
  • Change examples to prefer --only main instead of --without dev (#​8921).
  • Mention that the develop attribute is a Poetry-specific feature and not propagated to other tools (#​8971).
  • Fix examples for adding supplemental and secondary sources (#​8953).
  • Add PyTorch example for explicit sources (#​9006).
poetry-core (1.9.0)
  • Deprecate scripts that depend on extras (#​690).
  • Add support for path dependencies that do not define a build system (#​675).
  • Update list of supported licenses (#​659,
    #​669,
    #​678,
    #​694).
  • Rework list of files included in build artifacts (#​666).
  • Fix an issue where insignificant errors were printed if the working directory is not inside a git repository (#​684).
  • Fix an issue where the project's directory was not recognized as git repository on Windows due to an encoding issue (#​685).
python/black (python/black)

v24.2.0

Compare Source

Stable style
  • Fixed a bug where comments where mistakenly removed along with redundant parentheses
    (#​4218)
Preview style
  • Move the hug_parens_with_braces_and_square_brackets feature to the unstable style
    due to an outstanding crash and proposed formatting tweaks (#​4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenary
    expression (#​4154)
  • Checking for newline before adding one on docstring that is almost at the line limit
    (#​4185)
  • Remove redundant parentheses in case statement if guards (#​4214).
Configuration
  • Fix issue where Black would ignore input files in the presence of symlinks (#​4222)
  • Black now ignores pyproject.toml that is missing a tool.black section when
    discovering project root and configuration. Since Black continues to use version
    control as an indicator of project root, this is expected to primarily change behavior
    for users in a monorepo setup (desirably). If you wish to preserve previous behavior,
    simply add an empty [tool.black] to the previously discovered pyproject.toml
    (#​4204)
Output
  • Black will swallow any SyntaxWarnings or DeprecationWarnings produced by the ast
    module when performing equivalence checks (#​4189)
Integrations
  • Add a JSONSchema and provide a validate-pyproject entry-point (#​4181)

v24.1.1

Compare Source

Bugfix release to fix a bug that made Black unusable on certain file systems with strict
limits on path length.

Preview style
  • Consistently add trailing comma on typed parameters (#​4164)
Configuration
  • Shorten the length of the name of the cache file to fix crashes on file systems that
    do not support long paths (#​4176)

v24.1.0

Compare Source

Highlights

This release introduces the new 2024 stable style (#​4106), stabilizing the following
changes:

  • Add parentheses around if-else expressions (#​2278)
  • Dummy class and function implementations consisting only of ... are formatted more
    compactly (#​3796)
  • If an assignment statement is too long, we now prefer splitting on the right-hand side
    (#​3368)
  • Hex codes in Unicode escape sequences are now standardized to lowercase (#​2916)
  • Allow empty first lines at the beginning of most blocks (#​3967, #​4061)
  • Add parentheses around long type annotations (#​3899)
  • Enforce newline after module docstrings (#​3932, #​4028)
  • Fix incorrect magic trailing comma handling in return types (#​3916)
  • Remove blank lines before class docstrings (#​3692)
  • Wrap multiple context managers in parentheses if combined in a single with statement
    (#​3489)
  • Fix bug in line length calculations for power operations (#​3942)
  • Add trailing commas to collection literals even if there's a comment after the last
    entry (#​3393)
  • When using --skip-magic-trailing-comma or -C, trailing commas are stripped from
    subscript expressions with more than 1 element (#​3209)
  • Add extra blank lines in stubs in a few cases (#​3564, #​3862)
  • Accept raw strings as docstrings (#​3947)
  • Split long lines in case blocks (#​4024)
  • Stop removing spaces from walrus operators within subscripts (#​3823)
  • Fix incorrect formatting of certain async statements (#​3609)
  • Allow combining # fmt: skip with other comments (#​3959)

There are already a few improvements in the --preview style, which are slated for the
2025 stable style. Try them out and
share your feedback. In the past, the preview
style has included some features that we were not able to stabilize. This year, we're
adding a separate --unstable style for features with known problems. Now, the
--preview style only includes features that we actually expect to make it into next
year's stable style.

Stable style

Several bug fixes were made in features that are moved to the stable style in this
release:

  • Fix comment handling when parenthesising conditional expressions (#​4134)
  • Fix bug where spaces were not added around parenthesized walruses in subscripts,
    unlike other binary operators (#​4109)
  • Remove empty lines before docstrings in async functions (#​4132)
  • Address a missing case in the change to allow empty lines at the beginning of all
    blocks, except immediately before a docstring (#​4130)
  • For stubs, fix logic to enforce empty line after nested classes with bodies (#​4141)
Preview style
  • Add --unstable style, covering preview features that have known problems that would
    block them from going into the stable style. Also add the --enable-unstable-feature
    flag; for example, use
    --enable-unstable-feature hug_parens_with_braces_and_square_brackets to apply this
    preview feature throughout 2024, even if a later Black release downgrades the feature
    to unstable (#​4096)
  • Format module docstrings the same as class and function docstrings (#​4095)
  • Fix crash when using a walrus in a dictionary (#​4155)
  • Fix unnecessary parentheses when wrapping long dicts (#​4135)
  • Stop normalizing spaces before # fmt: skip comments (#​4146)
Configuration
  • Print warning when configuration in pyproject.toml contains an invalid key (#​4165)
  • Fix symlink handling, properly ignoring symlinks that point outside of root (#​4161)
  • Fix cache mtime logic that resulted in false positive cache hits (#​4128)
  • Remove the long-deprecated --experimental-string-processing flag. This feature can
    currently be enabled with --preview --enable-unstable-feature string_processing.
    (#​4096)
Integrations
  • Revert the change to run Black's pre-commit integration only on specific git hooks
    (#​3940) for better compatibility with older versions of pre-commit (#​4137)

v23.12.1

Compare Source

Packaging
  • Fixed a bug that included dependencies from the d extra by default (#​4108)

v23.12.0

Compare Source

Highlights

It's almost 2024, which means it's time for a new edition of Black's stable style!
Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft
2024 stable style, which we'll finalize in the January release. Please try it out and
share your feedback.

This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in --preview mode will be in the 2024 stable style.

Stable style
  • Fix bug where # fmt: off automatically dedents when used with the --line-ranges
    option, even when it is not within the specified line range. (#​4084)
  • Fix feature detection for parenthesized context managers (#​4104)
Preview style
  • Prefer more equal signs before a break when splitting chained assignments (#​4010)
  • Standalone form feed characters at the module level are no longer removed (#​4021)
  • Additional cases of immediately nested tuples, lists, and dictionaries are now
    indented less (#​4012)
  • Allow empty lines at the beginning of all blocks, except immediately before a
    docstring (#​4060)
  • Fix crash in preview mode when using a short --line-length (#​4086)
  • Keep suites consisting of only an ellipsis on their own lines if they are not
    functions or class definitions (#​4066) (#​4103)
Configuration
  • --line-ranges now skips Black's internal stability check in --safe mode. This
    avoids a crash on rare inputs that have many unformatted same-content lines. (#​4034)
Packaging
Integrations
readthedocs/sphinx_rtd_theme (sphinx-rtd-theme)

v2.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Signed-off-by: Platform Engineering Bot <platform-engineering@redhat.com>
@platform-engineering-bot
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@dustinblack dustinblack merged commit 264ba3b into main Feb 26, 2024
4 checks passed
@dustinblack dustinblack deleted the renovate/all branch February 26, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants