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

chore(deps): bump the python-packages group across 1 directory with 9 updates #426

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Updates the requirements on torch, qrcode, horde-safety, pytest, mypy, black, ruff, tox and pre-commit to permit the latest version.
Updates torch from 2.5.0 to 2.6.0

Release notes

Sourced from torch's releases.

PyTorch 2.6.0 Release

  • Highlights
  • Tracked Regressions
  • Backwards Incompatible Change
  • Deprecations
  • New Features
  • Improvements
  • Bug fixes
  • Performance
  • Documentation
  • Developers

Highlights

We are excited to announce the release of PyTorch® 2.6 (release notes)! This release features multiple improvements for PT2: torch.compile can now be used with Python 3.13; new performance-related knob torch.compiler.set_stance; several AOTInductor enhancements. Besides the PT2 improvements, another highlight is FP16 support on X86 CPUs.

NOTE: Starting with this release we are not going to publish on Conda, please see [Announcement] Deprecating PyTorch’s official Anaconda channel for the details.

For this release the experimental Linux binaries shipped with CUDA 12.6.3 (as well as Linux Aarch64, Linux ROCm 6.2.4, and Linux XPU binaries) are built with CXX11_ABI=1 and are using the Manylinux 2.28 build platform. If you build PyTorch extensions with custom C++ or CUDA extensions, please update these builds to use CXX_ABI=1 as well and report any issues you are seeing. For the next PyTorch 2.7 release we plan to switch all Linux builds to Manylinux 2.28 and CXX11_ABI=1, please see [RFC] PyTorch next wheel build platform: manylinux-2.28 for the details and discussion.

Also in this release as an important security improvement measure we have changed the default value for weights_only parameter of torch.load. This is a backward compatibility-breaking change, please see this forum post for more details.

This release is composed of 3892 commits from 520 contributors since PyTorch 2.5. We want to sincerely thank our dedicated community for your contributions. As always, we encourage you to try these out and report any issues as we improve PyTorch. More information about how to get started with the PyTorch 2-series can be found at our Getting Started page.

... (truncated)

Commits

Updates qrcode from 7.4.2 to 8.0

Changelog

Sourced from qrcode's changelog.

8.0 ( 27 September 2024)

  • Added support for Python 3.11 and 3.12.

  • Drop support for Python <=3.8.

  • Change local development setup to use Poetry_.

  • Testsuite and code quality checks are done through Github Actions.

  • Code quality and formatting utilises ruff_.

  • Removed typing_extensions as a dependency, as it's no longer required with having Python 3.9+ as a requirement.

  • Only allow high error correction rate (qrcode.ERROR_CORRECT_H) when generating QR codes with embedded images to ensure content is readable

.. _Poetry: https://python-poetry.org .. _ruff: https://astral.sh/ruff

Commits
  • 456b01d Preparing release 8.0
  • 909b791 Merge pull request #370 from lincolnloop/poetry
  • dc783ed Update CHANGELOG and README
  • 68f3b29 Raise error if embedded image is provided and error correction is lower than H
  • ffa2b4a Merge branch 'poetry' into fix/embedded-and-error-correction
  • 39cf502 Fix test dependency skip
  • d991b67 Update poetry dependency groups to allow having pillow and png together
  • 11b0f95 Merge branch 'poetry' into decompat
  • 5760eec Run ruf and fix formatting
  • 137946a Fix import errors in tests
  • Additional commits viewable in compare view

Updates horde-safety to 0.2.4

Release notes

Sourced from horde-safety's releases.

v0.2.4

Version 0.2.4

What's Changed

Full Changelog: Haidra-Org/horde-safety@v0.2.3...v0.2.4

Commits
  • 4a86ecb build: pypi release action
  • a8862e4 chore: version bump
  • 1c7a33a fix: support HF_HOME
  • 40ea8cd Update .gitignore
  • 2571311 build(deps-dev): bump the python-packages group across 1 directory with 6 upd...
  • 9683930 ci: moves pre-commit to own job; check 3.11 install too
  • 9b49822 style/chore: update pre-commit deps + lint fix
  • e7ae47c build(deps-dev): bump the python-packages group with 6 updates
  • bc30c95 chore: include third party licenses in releases to pypi
  • See full diff in compare view

Updates pytest from 8.3.4 to 8.3.5

Release notes

Sourced from pytest's releases.

8.3.5

pytest 8.3.5 (2025-03-02)

Bug fixes

  • #11777: Fixed issue where sequences were still being shortened even with -vv verbosity.
  • #12888: Fixed broken input when using Python 3.13+ and a libedit build of Python, such as on macOS or with uv-managed Python binaries from the python-build-standalone project. This could manifest e.g. by a broken prompt when using Pdb, or seeing empty inputs with manual usage of input() and suspended capturing.
  • #13026: Fixed AttributeError{.interpreted-text role="class"} crash when using --import-mode=importlib when top-level directory same name as another module of the standard library.
  • #13053: Fixed a regression in pytest 8.3.4 where, when using --import-mode=importlib, a directory containing py file with the same name would cause an ImportError
  • #13083: Fixed issue where pytest could crash if one of the collected directories got removed during collection.

Improved documentation

  • #12842: Added dedicated page about using types with pytest.

    See types{.interpreted-text role="ref"} for detailed usage.

Contributor-facing changes

  • #13112: Fixed selftest failures in test_terminal.py with Pygments >= 2.19.0
  • #13256: Support for Towncrier versions released in 2024 has been re-enabled when building Sphinx docs -- by webknjaz{.interpreted-text role="user"}.
Commits

Updates mypy from 1.14.1 to 1.15.0

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Different Property Getter and Setter Types

Mypy now supports using different types for property getter and setter.

class A:
    value: int
@property
def f(self) -&gt; int:
    return self.value
@f.setter
def f(self, x: str | int) -&gt; None:
    try:
        self.value = int(x)
    except ValueError:
        raise Exception(f&quot;'{x}' is not a valid value for 'f'&quot;)

Contributed by Ivan Levkivskyi (PR 18510)

Selectively Disable Deprecated Warnings

It's now possible to selectively disable warnings generated from warnings.deprecated using the --deprecated-calls-exclude option.

# mypy --enable-error-code deprecated
#      --deprecated-calls-exclude=foo.A
import foo
foo.A().func()  # OK, the deprecated warning is ignored
file foo.py
from typing_extensions import deprecated
class A:
@​deprecated("Use A.func2 instead")
def func(self): pass

Contributed by Marc Mueller (PR 18641)

Mypy 1.15

We’ve just uploaded mypy 1.15 to the Python Package Index (PyPI).

... (truncated)

Commits
  • 9397454 remove +dev from version ahead of final release
  • 686b591 remove "unreleased" from 1.15 changelog entry
  • cb4b243 Various small updates to 1.15 changelog (#18599)
  • 1a26502 Prepare changelog for 1.15 release (#18583)
  • d4515e4 Fix a few PR links in the changelog (#18586)
  • f83b643 Add object self-type to tuple test fixture (#18592)
  • ebc2cb8 Prevent crash on generic NamedTuple with unresolved typevar bound (#18585)
  • 63c251e empty commit to trigger wheel rebuild
  • c30573e Fix literal context for ternary expressions (for real) (#18545)
  • 23d862d Fix isinstance with explicit (non generic) type alias (#18512)
  • Additional commits viewable in compare view

Updates black from 24.10.0 to 25.1.0

Release notes

Sourced from black's releases.

25.1.0

Highlights

This release introduces the new 2025 stable style (#4558), stabilizing the following changes:

  • Normalize casing of Unicode escape characters in strings to lowercase (#2916)
  • Fix inconsistencies in whether certain strings are detected as docstrings (#4095)
  • Consistently add trailing commas to typed function parameters (#4164)
  • Remove redundant parentheses in if guards for case blocks (#4214)
  • Add parentheses to if clauses in case blocks when the line is too long (#4269)
  • Whitespace before # fmt: skip comments is no longer normalized (#4146)
  • Fix line length computation for certain expressions that involve the power operator (#4154)
  • Check if there is a newline before the terminating quotes of a docstring (#4185)
  • Fix type annotation spacing between * and more complex type variable tuple (#4440)

The following changes were not in any previous release:

  • Remove parentheses around sole list items (#4312)
  • Generic function definitions are now formatted more elegantly: parameters are split over multiple lines first instead of type parameter definitions (#4553)

Stable style

  • Fix formatting cells in IPython notebooks with magic methods and starting or trailing empty lines (#4484)
  • Fix crash when formatting with statements containing tuple generators/unpacking (#4538)

Preview style

  • Fix/remove string merging changing f-string quotes on f-strings with internal quotes (#4498)
  • Collapse multiple empty lines after an import into one (#4489)
  • Prevent string_processing and wrap_long_dict_values_in_parens from removing parentheses around long dictionary values (#4377)
  • Move wrap_long_dict_values_in_parens from the unstable to preview style (#4561)

Packaging

  • Store license identifier inside the License-Expression metadata field, see PEP 639. (#4479)

Performance

  • Speed up the is_fstring_start function in Black's tokenizer (#4541)

Integrations

  • If using stdin with --stdin-filename set to a force excluded path, stdin won't be

... (truncated)

Changelog

Sourced from black's changelog.

25.1.0

Highlights

This release introduces the new 2025 stable style (#4558), stabilizing the following changes:

  • Normalize casing of Unicode escape characters in strings to lowercase (#2916)
  • Fix inconsistencies in whether certain strings are detected as docstrings (#4095)
  • Consistently add trailing commas to typed function parameters (#4164)
  • Remove redundant parentheses in if guards for case blocks (#4214)
  • Add parentheses to if clauses in case blocks when the line is too long (#4269)
  • Whitespace before # fmt: skip comments is no longer normalized (#4146)
  • Fix line length computation for certain expressions that involve the power operator (#4154)
  • Check if there is a newline before the terminating quotes of a docstring (#4185)
  • Fix type annotation spacing between * and more complex type variable tuple (#4440)

The following changes were not in any previous release:

  • Remove parentheses around sole list items (#4312)
  • Generic function definitions are now formatted more elegantly: parameters are split over multiple lines first instead of type parameter definitions (#4553)

Stable style

  • Fix formatting cells in IPython notebooks with magic methods and starting or trailing empty lines (#4484)
  • Fix crash when formatting with statements containing tuple generators/unpacking (#4538)

Preview style

  • Fix/remove string merging changing f-string quotes on f-strings with internal quotes (#4498)
  • Collapse multiple empty lines after an import into one (#4489)
  • Prevent string_processing and wrap_long_dict_values_in_parens from removing parentheses around long dictionary values (#4377)
  • Move wrap_long_dict_values_in_parens from the unstable to preview style (#4561)

Packaging

  • Store license identifier inside the License-Expression metadata field, see PEP 639. (#4479)

Performance

  • Speed up the is_fstring_start function in Black's tokenizer (#4541)

Integrations

... (truncated)

Commits

Updates ruff from 0.8.6 to 0.9.10

Release notes

Sourced from ruff's releases.

0.9.10

Release Notes

Preview features

  • [ruff] Add new rule RUF059: Unused unpacked assignment (#16449)
  • [syntax-errors] Detect assignment expressions before Python 3.8 (#16383)
  • [syntax-errors] Named expressions in decorators before Python 3.9 (#16386)
  • [syntax-errors] Parenthesized keyword argument names after Python 3.8 (#16482)
  • [syntax-errors] Positional-only parameters before Python 3.8 (#16481)
  • [syntax-errors] Tuple unpacking in return and yield before Python 3.8 (#16485)
  • [syntax-errors] Type parameter defaults before Python 3.13 (#16447)
  • [syntax-errors] Type parameter lists before Python 3.12 (#16479)
  • [syntax-errors] except* before Python 3.11 (#16446)
  • [syntax-errors] type statements before Python 3.12 (#16478)

Bug fixes

  • Escape template filenames in glob patterns in configuration (#16407)
  • [flake8-simplify] Exempt unittest context methods for SIM115 rule (#16439)
  • Formatter: Fix syntax error location in notebooks (#16499)
  • [pyupgrade] Do not offer fix when at least one target is global/nonlocal (UP028) (#16451)
  • [flake8-builtins] Ignore variables matching module attribute names (A001) (#16454)
  • [pylint] Convert code keyword argument to a positional argument in fix for (PLR1722) (#16424)

CLI

  • Move rule code from description to check_name in GitLab output serializer (#16437)

Documentation

  • [pydocstyle] Clarify that D417 only checks docstrings with an arguments section (#16494)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.9.10

Preview features

  • [ruff] Add new rule RUF059: Unused unpacked assignment (#16449)
  • [syntax-errors] Detect assignment expressions before Python 3.8 (#16383)
  • [syntax-errors] Named expressions in decorators before Python 3.9 (#16386)
  • [syntax-errors] Parenthesized keyword argument names after Python 3.8 (#16482)
  • [syntax-errors] Positional-only parameters before Python 3.8 (#16481)
  • [syntax-errors] Tuple unpacking in return and yield before Python 3.8 (#16485)
  • [syntax-errors] Type parameter defaults before Python 3.13 (#16447)
  • [syntax-errors] Type parameter lists before Python 3.12 (#16479)
  • [syntax-errors] except* before Python 3.11 (#16446)
  • [syntax-errors] type statements before Python 3.12 (#16478)

Bug fixes

  • Escape template filenames in glob patterns in configuration (#16407)
  • [flake8-simplify] Exempt unittest context methods for SIM115 rule (#16439)
  • Formatter: Fix syntax error location in notebooks (#16499)
  • [pyupgrade] Do not offer fix when at least one target is global/nonlocal (UP028) (#16451)
  • [flake8-builtins] Ignore variables matching module attribute names (A001) (#16454)
  • [pylint] Convert code keyword argument to a positional argument in fix for (PLR1722) (#16424)

CLI

  • Move rule code from description to check_name in GitLab output serializer (#16437)

Documentation

  • [pydocstyle] Clarify that D417 only checks docstrings with an arguments section (#16494)

0.9.9

Preview features

  • Fix caching of unsupported-syntax errors (#16425)

Bug fixes

  • Only show unsupported-syntax errors in editors when preview mode is enabled (#16429)

0.9.8

Preview features

  • Start detecting version-related syntax errors in the parser (#16090)

Rule changes

... (truncated)

Commits
  • 0dfa810 Bump 0.9.10 (#16556)
  • 9cd0cde Assert that formatted code doesn't introduce any new unsupported syntax error...
  • 05a4c29 print MDTEST_TEST_FILTER value in single-quotes (and escaped) (#16548)
  • b3c884f [syntax-errors] Parenthesized keyword argument names after Python 3.8 (#16482)
  • 6c14225 [syntax-errors] Tuple unpacking in return and yield before Python 3.8 (#1...
  • 0a627ef [red-knot] Never is callable and iterable. Arbitrary attributes can be access...
  • a25be46 Clarify that D417 only checks docstrings with an arguments section (#16494)
  • ce0018c Add OsSystem support to mdtests (#16518)
  • 48f906e Add tests for case-sensitive module resolution (#16517)
  • ebd172e [red-knot] Several failing tests for generics (#16509)
  • Additional commits viewable in compare view

Updates tox to 4.24.2

Release notes

Sourced from tox's releases.

4.24.2

What's Changed

New Contributors

Full Changelog: tox-dev/tox@4.24.1...4.24.2

Changelog

Sourced from tox's changelog.

v4.24.2 (2025-03-07)

Bugfixes - 4.24.2

- multiple source_type supports for the same filename. Like pyproject.toml can be load by both TomlPyProject & LegacyToml (:issue:`3117`)
- Support ``set_env = { file = "conf{/}local.env"}`` for TOML format - by :user:`juditnovak`. (:issue:`3474`)
- fix example on the docs (:issue:`3480`)
- - ``--parallel-no-spinner`` now respects max CPU set by ``--parallel N`` (:issue:`3495`)

Improved Documentation - 4.24.2

  • Updates the documentation for os.environ['KEY'] when the variable does not exist - by :user:jugmac00. (:issue:3456)

v4.24.1 (2025-01-21)

Misc - 4.24.1

- :issue:`3426`

v4.24.0 (2025-01-21)

Features - 4.24.0

  • Add a schema command to produce a JSON Schema for tox and the current plugins.

    • by :user:henryiii (:issue:3446)

Bugfixes - 4.24.0

- Log exception name when subprocess execution produces one.
  • by :user:ssbarnea (:issue:3450)

Improved Documentation - 4.24.0

  • Fix typo in docs/config.rst from {} to {:}.

    • by :user:wooshaun53 (:issue:3424)
  • Pass NIX_LD and NIX_LD_LIBRARY_PATH variables by default in pass_env to make generic binaries work under Nix/NixOS.

    • by :user:albertodonato (:issue:3425)

v4.23.2 (2024-10-22)

Misc - 4.23.2

</tr></table> 

... (truncated)

Commits

Updates pre-commit to 4.1.0

Release notes

Sourced from pre-commit's releases.

pre-commit v4.1.0

Features

Fixes

Changelog

Sourced from pre-commit's changelog.

4.1.0 - 2025-01-20

Features

Fixes

4.0.1 - 2024-10-08

Fixes

4.0.0 - 2024-10-05

Features

Migrating

  • language: python_venv has been removed -- use language: python instead.

... (truncated)

Commits
  • b152e92 v4.1.0
  • c3125a4 Merge pull request #3389 from lorenzwalthert/dev-always-unset-renv
  • c2c061c fix: ensure env patch is applied for vanilla emulation
  • cd429db Merge pull request #3382 from pre-commit/pre-commit-ci-update-config
  • 9b9f8e2 [pre-commit.ci] pre-commit autoupdate
  • 86300a4 Merge pull request #3376 from pre-commit/r-gone
  • 77edad8 install r on ubuntu runners
  • 18b3939 Merge pull request #3375 from pre-commit/dotnet-tests-ubuntu-latest
  • 31cb945 Merge pull request #3374 from pre-commit/docker-image-tests-ubuntu-22-not-pre...
  • 28c3d81 update .net tests to use .net 8
  • Additional commits viewable in compare view

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

… updates

Updates the requirements on [torch](https://github.com/pytorch/pytorch), [qrcode](https://github.com/lincolnloop/python-qrcode), [horde-safety](https://github.com/Haidra-Org/horde-safety), [pytest](https://github.com/pytest-dev/pytest), [mypy](https://github.com/python/mypy), [black](https://github.com/psf/black), [ruff](https://github.com/astral-sh/ruff), [tox](https://github.com/tox-dev/tox) and [pre-commit](https://github.com/pre-commit/pre-commit) to permit the latest version.

Updates `torch` from 2.5.0 to 2.6.0
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.5.0...v2.6.0)

Updates `qrcode` from 7.4.2 to 8.0
- [Changelog](https://github.com/lincolnloop/python-qrcode/blob/main/CHANGES.rst)
- [Commits](lincolnloop/python-qrcode@v7.4.2...v8.0)

Updates `horde-safety` to 0.2.4
- [Release notes](https://github.com/Haidra-Org/horde-safety/releases)
- [Commits](Haidra-Org/horde-safety@v0.2.3...v0.2.4)

Updates `pytest` from 8.3.4 to 8.3.5
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.3.4...8.3.5)

Updates `mypy` from 1.14.1 to 1.15.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.14.1...v1.15.0)

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

Updates `ruff` from 0.8.6 to 0.9.10
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.8.6...0.9.10)

Updates `tox` to 4.24.2
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](tox-dev/tox@4.23.2...4.24.2)

Updates `pre-commit` to 4.1.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: qrcode
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: horde-safety
  dependency-type: direct:production
  dependency-group: python-packages
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: tox
  dependency-type: direct:development
  dependency-group: python-packages
- dependency-name: pre-commit
  dependency-type: direct:development
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 10, 2025
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants