Skip to content
New issue

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

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

Already on GitHub? # to your account

chore(deps): bump the python-packages group with 6 updates #239

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2024

Bumps the python-packages group with 6 updates:

Package From To
black 23.11.0 24.1.0
flake8 6.1.0 7.0.0
importlib-metadata 7.0.0 7.0.1
more-itertools 10.1.0 10.2.0
pathspec 0.11.2 0.12.1
pyflakes 3.1.0 3.2.0

Updates black from 23.11.0 to 24.1.0

Release notes

Sourced from black's releases.

24.1.0

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

... (truncated)

Changelog

Sourced from black's changelog.

24.1.0

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

... (truncated)

Commits

Updates flake8 from 6.1.0 to 7.0.0

Commits
  • 88a4f9b Release 7.0.0
  • 6f3a60d Merge pull request #1906 from PyCQA/upgrade-pyflakes
  • cde8570 upgrade pyflakes to 3.2.x
  • 2ab9d76 Merge pull request #1903 from PyCQA/pre-commit-ci-update-config
  • e27611f [pre-commit.ci] pre-commit autoupdate
  • 9d20be1 Merge pull request #1902 from PyCQA/pre-commit-ci-update-config
  • 06c1503 [pre-commit.ci] auto fixes from pre-commit.com hooks
  • b67ce03 Fix bugbear lints
  • c8801c1 [pre-commit.ci] pre-commit autoupdate
  • 045f297 Merge pull request #1893 from PyCQA/pre-commit-ci-update-config
  • Additional commits viewable in compare view

Updates importlib-metadata from 7.0.0 to 7.0.1

Changelog

Sourced from importlib-metadata's changelog.

v7.0.1

Bugfixes

  • Corrected the interface for SimplePath to encompass the expectations of locate_file and PackagePath.
  • Fixed type annotations to allow strings.
Commits
  • f2e84e3 Finalize
  • e9e9f77 Merge commit '98196a'
  • 98196a7 Fixed type annotations to allow strings.
  • f38e051 Add Python 3.13 to compatibility matrix. Ref python/cpython#113174.
  • 0c1d32e Inline os.PathLike using future annotations.
  • b99c9d6 Refine SimplePath to allow for os.PathLike on input and SimplePath on output.
  • 200cf45 Merge pull request #480 from python/bugfix/distribution-simplepath
  • ac243d3 Include _meta in docs to fix doc build failures.
  • 1b3f272 Corrected the interface for SimplePath to encompass the expectations of locat...
  • fc4df51 Rely on read_text and read_bytes from located paths.
  • Additional commits viewable in compare view

Updates more-itertools from 10.1.0 to 10.2.0

Release notes

Sourced from more-itertools's releases.

Version 10.2.0

  • New functions

    • iter_suppress (thanks to jaraco, pochmann, and rhettinger)
    • filter_map (thanks to struktured)
    • classify_unique (thanks to haukex)
    • totient (from the itertools docs)
    • reshape (from the itertools docs)
  • Changes to existing functions

    • factor, iter_index, sieve, and unique_justseen were updated to match the itertools docs
    • first was was optimized (thanks to pochmann)
    • takewhile_inclusive was was refactored (thanks to eltoder)
    • combination_with_replacement_index was was optimized (thanks to elliotwutingfeng and rhettinger)
    • nth_permutation, nth_combination_with_replacement, combination_index, and combination_with_replacement_index were optimized (thanks to rhettinger)
    • batched now accepts a strict argument (adapted from itertools docs)
    • time_limited was improved for Windows (thanks to haukex)
  • Other changes

    • Several typing updates were made (thanks to obaltian and ilai-deutel)
    • Some documentation issues were fixed (thanks to F-park, DimitriPapadopoulos, peterbygrave, shuuji3, eltoder, and homeworkprod)
Commits
  • 1e0e662 Merge pull request #789 from more-itertools/version-10.2.0
  • 6700628 Add time_limited credit
  • 740ea62 Merge remote-tracking branch 'origin/master' into version-10.2.0
  • 3e94640 Merge pull request #791 from haukex/time_limit_0
  • fcd1f88 Fix up credits
  • 7313c86 Ensure time_limited(0, ...) always returns nothing
  • f83ff28 Attempt to fix RTD theme, round 2
  • 451c06f Attempt to fix RTD theme
  • f7d7c5a Add missing commas
  • 51ad8fb Bump version: 10.1.0 → 10.2.0
  • Additional commits viewable in compare view

Updates pathspec from 0.11.2 to 0.12.1

Release notes

Sourced from pathspec's releases.

v0.12.1

Release v0.12.1. See CHANGES.rst.

v0.12.0

Release v0.12.0. See CHANGES.rst.

Changelog

Sourced from pathspec's changelog.

0.12.1 (2023-12-10)

Bug fixes:

  • Issue [#84](https://github.com/cpburnz/python-pathspec/issues/84)_: PathSpec.match_file() returns None since 0.12.0.

.. _Issue [#84](https://github.com/cpburnz/python-pathspec/issues/84): cpburnz/python-pathspec#84

0.12.0 (2023-12-09)

Major changes:

  • Dropped support of EOL Python 3.7. See Pull [#82](https://github.com/cpburnz/python-pathspec/issues/82)_.

API changes:

  • Signature of protected method pathspec.pathspec.PathSpec._match_file() (with a leading underscore) has been changed from def _match_file(patterns: Iterable[Pattern], file: str) -> bool to def _match_file(patterns: Iterable[Tuple[int, Pattern]], file: str) -> Tuple[Optional[bool], Optional[int]].

New features:

  • Added pathspec.pathspec.PathSpec.check_*() methods. These methods behave similarly to .match_*() but return additional information in the pathspec.util.CheckResult objects (e.g., CheckResult.index indicates the index of the last pattern that matched the file).
  • Added pathspec.pattern.RegexPattern.pattern attribute which stores the original, uncompiled pattern.

Bug fixes:

  • Issue [#81](https://github.com/cpburnz/python-pathspec/issues/81)_: GitIgnoreSpec behaviors differ from git.
  • Pull [#83](https://github.com/cpburnz/python-pathspec/issues/83)_: Fix ReadTheDocs builds.

Improvements:

  • Mark Python 3.12 as supported. See Pull [#82](https://github.com/cpburnz/python-pathspec/issues/82)_.
  • Improve test debugging.
  • Improve type hint on on_error parameter on pathspec.pathspec.PathSpec.match_tree_entries().
  • Improve type hint on on_error parameter on pathspec.util.iter_tree_entries().

.. _Issue [#81](https://github.com/cpburnz/python-pathspec/issues/81): cpburnz/python-pathspec#81 .. _Pull [#82](https://github.com/cpburnz/python-pathspec/issues/82): cpburnz/python-pathspec#82 .. _Pull [#83](https://github.com/cpburnz/python-pathspec/issues/83): cpburnz/python-pathspec#83

Commits

Updates pyflakes from 3.1.0 to 3.2.0

Changelog

Sourced from pyflakes's changelog.

3.2.0 (2024-01-04)

  • Add support for *T (TypeVarTuple) and **P (ParamSpec) in PEP 695 annotations.
Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python-packages group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [black](https://github.com/psf/black) | `23.11.0` | `24.1.0` |
| [flake8](https://github.com/pycqa/flake8) | `6.1.0` | `7.0.0` |
| [importlib-metadata](https://github.com/python/importlib_metadata) | `7.0.0` | `7.0.1` |
| [more-itertools](https://github.com/more-itertools/more-itertools) | `10.1.0` | `10.2.0` |
| [pathspec](https://github.com/cpburnz/python-pathspec) | `0.11.2` | `0.12.1` |
| [pyflakes](https://github.com/PyCQA/pyflakes) | `3.1.0` | `3.2.0` |


Updates `black` from 23.11.0 to 24.1.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.11.0...24.1.0)

Updates `flake8` from 6.1.0 to 7.0.0
- [Commits](PyCQA/flake8@6.1.0...7.0.0)

Updates `importlib-metadata` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst)
- [Commits](python/importlib_metadata@v7.0.0...v7.0.1)

Updates `more-itertools` from 10.1.0 to 10.2.0
- [Release notes](https://github.com/more-itertools/more-itertools/releases)
- [Commits](more-itertools/more-itertools@v10.1.0...v10.2.0)

Updates `pathspec` from 0.11.2 to 0.12.1
- [Release notes](https://github.com/cpburnz/python-pathspec/releases)
- [Changelog](https://github.com/cpburnz/python-pathspec/blob/master/CHANGES.rst)
- [Commits](cpburnz/python-pathspec@v0.11.2...v0.12.1)

Updates `pyflakes` from 3.1.0 to 3.2.0
- [Changelog](https://github.com/PyCQA/pyflakes/blob/main/NEWS.rst)
- [Commits](PyCQA/pyflakes@3.1.0...3.2.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: flake8
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: importlib-metadata
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: more-itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pathspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pyflakes
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 26, 2024
@josegonzalez josegonzalez merged commit 7dc2235 into master Jan 29, 2024
1 check passed
@josegonzalez josegonzalez deleted the dependabot/pip/python-packages-1d7ddf90bb branch January 29, 2024 12:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant