Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 15, 2025

Bumps the python-dependencies group with 7 updates:

Package From To
nox 2024.10.9 2025.2.9
pre-commit 4.0.1 4.1.0
ruff 0.7.1 0.9.6
mypy 1.13.0 1.15.0
pytest 8.3.3 8.3.4
pytest-randomly 3.15.0 3.16.0
sphinx-autoapi 3.3.2 3.5.0

Updates nox from 2024.10.9 to 2025.2.9

Release notes

Sourced from nox's releases.

2025.02.09 💝

This release improves PEP 723 support, including adding dependencies to the noxfile itself ("plugins"). It adds the long-awaited "requires" option, allowing sessions to require other sessions. And it brings further improvements to the pyproject.toml support, including helpers for dependency-groups and Python version lists.

We'd like to thank the following folks who contributed to this release:

New features:

Bugfixes:

Bugfixes related to uv support:

Tox-to-nox script:

Improved noxfile validation:

... (truncated)

Changelog

Sourced from nox's changelog.

Changelog

2025.02.09

This release improves PEP 723 support, including adding dependencies to the noxfile itself ("plugins"). It adds the long-awaited "requires" option, allowing sessions to require other sessions. And it brings further improvements to the pyproject.toml support, including helpers for dependency-groups and Python version lists.

We'd like to thank the following folks who contributed to this release:

New features:

Bugfixes:

Bugfixes related to uv support:

Tox-to-nox script:

Improved noxfile validation:

... (truncated)

Commits

Updates pre-commit from 4.0.1 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

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

Updates ruff from 0.7.1 to 0.9.6

Release notes

Sourced from ruff's releases.

0.9.6

Release Notes

Preview features

  • [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 (#16014)
  • [flake8-builtins] Make strict module name comparison optional (A005) (#15951)
  • [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) (#16044)
  • [pylint] Also report when the object isn't a literal (PLE1310) (#15985)
  • [ruff] Implement indented-form-feed (RUF054) (#16049)
  • [ruff] Skip type definitions for missing-f-string-syntax (RUF027) (#16054)

Rule changes

  • [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025)
  • [flake8-builtins] Match upstream module name comparison (A005) (#16006)
  • [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) (#15955)
  • [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)
  • [flake8-simplify] Only trigger SIM401 on known dictionaries (#15995)
  • [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)
  • [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)
  • [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)
  • [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)
  • [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) (#16032)
  • [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types (#16048)

Server

  • Root exclusions in the server to project root (#16043)

Bug fixes

  • [flake8-datetime] Ignore .replace() calls while looking for .astimezone (#16050)
  • [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ (#16052)

Documentation

  • Improve ruff-lsp migration document (#16072)
  • Undeprecate ruff.nativeServer (#16039)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.9.6

Preview features

  • [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 (#16014)
  • [flake8-builtins] Make strict module name comparison optional (A005) (#15951)
  • [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) (#16044)
  • [pylint] Also report when the object isn't a literal (PLE1310) (#15985)
  • [ruff] Implement indented-form-feed (RUF054) (#16049)
  • [ruff] Skip type definitions for missing-f-string-syntax (RUF027) (#16054)

Rule changes

  • [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025)
  • [flake8-builtins] Match upstream module name comparison (A005) (#16006)
  • [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) (#15955)
  • [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)
  • [flake8-simplify] Only trigger SIM401 on known dictionaries (#15995)
  • [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)
  • [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)
  • [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)
  • [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)
  • [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) (#16032)
  • [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types (#16048)

Server

  • Root exclusions in the server to project root (#16043)

Bug fixes

  • [flake8-datetime] Ignore .replace() calls while looking for .astimezone (#16050)
  • [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ (#16052)

Documentation

  • Improve ruff-lsp migration document (#16072)
  • Undeprecate ruff.nativeServer (#16039)

0.9.5

Preview features

  • Recognize all symbols named TYPE_CHECKING for in_type_checking_block (#15719)
  • [flake8-comprehensions] Handle builtins at top of file correctly for unnecessary-dict-comprehension-for-iterable (C420) (#15837)
  • [flake8-logging] .exception() and exc_info= outside exception handlers (LOG004, LOG014) (#15799)
  • [flake8-pyi] Fix incorrect behaviour of custom-typevar-return-type preview-mode autofix if typing was already imported (PYI019) (#15853)
  • [flake8-pyi] Fix more complex cases (PYI019) (#15821)
  • [flake8-pyi] Make PYI019 autofixable for .py files in preview mode as well as stubs (#15889)
  • [flake8-pyi] Remove type parameter correctly when it is the last (PYI019) (#15854)

... (truncated)

Commits

Updates mypy from 1.13.0 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 pytest from 8.3.3 to 8.3.4

Release notes

Sourced from pytest's releases.

8.3.4

pytest 8.3.4 (2024-12-01)

Bug fixes

  • #12592: Fixed KeyError{.interpreted-text role="class"} crash when using --import-mode=importlib in a directory layout where a directory contains a child directory with the same name.

  • #12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the AST, like executing.

  • #12849: ANSI escape codes for colored output now handled correctly in pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.

  • #9353: pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.

Improved documentation

  • #10558: Fix ambiguous docstring of pytest.Config.getoption{.interpreted-text role="func"}.

  • #10829: Improve documentation on the current handling of the --basetemp option and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}).

  • #12866: Improved cross-references concerning the recwarn{.interpreted-text role="fixture"} fixture.

  • #12966: Clarify filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple @pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.

Contributor-facing changes

  • #12497: Fixed two failing pdb-related tests on Python 3.13.
Commits
  • 53f8b4e Update pypa/gh-action-pypi-publish to v1.12.2
  • 98dff36 Prepare release version 8.3.4
  • 1b474e2 approx: use exact comparison for bool (#13013)
  • b541721 docs: Fix wrong statement about sys.modules with importlib import mode (#1298...
  • 16cb87b pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990)
  • be6bc81 Issue #12966 Clarify filterwarnings docs on precedence when using multiple ma...
  • 7aeb72b Improve docs on basetemp and retention (#12912) (#12928)
  • c875841 Merge pull request #12917 from pytest-dev/patchback/backports/8.3.x/ded1f44e5...
  • 6502816 Merge pull request #12913 from jakkdl/dontfailonbadpath
  • 52135b0 Merge pull request #12885 from The-Compiler/pdb-py311 (#12887)
  • Additional commits viewable in compare view

Updates pytest-randomly from 3.15.0 to 3.16.0

Changelog

Sourced from pytest-randomly's changelog.

3.16.0 (2024-10-25)

  • Drop Python 3.8 support.

  • Support Python 3.13.

Commits

Updates sphinx-autoapi from 3.3.2 to 3.5.0

Release notes

Sourced from sphinx-autoapi's releases.

v3.5.0

Features

  • Can exclude directories from being documented (#312)

Bugfixes

  • Fix exception when calling a function imported from a wildcard (#508)
  • Remove usage of astroid alpha builds (#512)

Misc

v3.4.0

Features

  • NamedTuples that have been created with functional syntax are documented as a class (#485)

Misc

v3.3.3

Bugfixes

  • Document packages and modules under a single "submodules" heading (#450)
  • Fix crash when __init__ is assigned to (#488)
  • Fix documenting incorrect attributes from __init__ (#497)

Misc

Changelog

Sourced from sphinx-autoapi's changelog.

v3.5.0 (2025-02-09)

Features ^^^^^^^^

  • Can exclude directories from being documented (#312)

Bugfixes ^^^^^^^^

  • Fix exception when calling a function imported from a wildcard (#508)
  • Remove usage of astroid alpha builds (#512)

Misc ^^^^

v3.4.0 (2024-11-29)

Features ^^^^^^^^

  • NamedTuples that have been created with functional syntax are documented as a class (#485)

Misc ^^^^

v3.3.3 (2024-10-25)

Bugfixes ^^^^^^^^

  • Document packages and modules under a single "submodules" heading (#450)
  • Fix crash when init is assigned to (#488)
  • Fix documenting incorrect attributes from init (#497)

Misc

... (truncated)

Commits
  • 26bd172 Version 3.5.0
  • 086dff8 Fixes for PR #503
  • b4c75f7 Allow skipping entire directories
  • a7a973d Make _need_to_load not assume that file ordering remained the same
  • 6fdc914 Fix inclusion of tests in the sdist
  • 156a2a7 Corrected license text in package metadata
  • 1c0a669 Fix exception when calling a function imported from a wildcard
  • d12eccb Fix formatting failure in tests
  • bc8f43b Add missing release notes entry for #512
  • 8f40ca9 Don't pull in alpha releases of astroid
  • 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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 15, 2025
Bumps the python-dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [nox](https://github.com/wntrblm/nox) | `2024.10.9` | `2025.2.9` |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `4.0.1` | `4.1.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.7.1` | `0.9.6` |
| [mypy](https://github.com/python/mypy) | `1.13.0` | `1.15.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.3.3` | `8.3.4` |
| [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) | `3.15.0` | `3.16.0` |
| [sphinx-autoapi](https://github.com/readthedocs/sphinx-autoapi) | `3.3.2` | `3.5.0` |


Updates `nox` from 2024.10.9 to 2025.2.9
- [Release notes](https://github.com/wntrblm/nox/releases)
- [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md)
- [Commits](wntrblm/nox@2024.10.09...2025.02.09)

Updates `pre-commit` from 4.0.1 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)

Updates `ruff` from 0.7.1 to 0.9.6
- [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.7.1...0.9.6)

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

Updates `pytest` from 8.3.3 to 8.3.4
- [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.3...8.3.4)

Updates `pytest-randomly` from 3.15.0 to 3.16.0
- [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-randomly@3.15.0...3.16.0)

Updates `sphinx-autoapi` from 3.3.2 to 3.5.0
- [Release notes](https://github.com/readthedocs/sphinx-autoapi/releases)
- [Changelog](https://github.com/readthedocs/sphinx-autoapi/blob/main/CHANGELOG.rst)
- [Commits](readthedocs/sphinx-autoapi@v3.3.2...v3.5.0)

---
updated-dependencies:
- dependency-name: nox
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-dependencies
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-dependencies
- dependency-name: pytest-randomly
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: sphinx-autoapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/python-dependencies-02984e52db branch from 30b8f44 to 2207890 Compare February 15, 2025 04:19
@shenanigansd shenanigansd merged commit 9b2cfb1 into main Feb 15, 2025
14 checks passed
@shenanigansd shenanigansd deleted the dependabot/pip/python-dependencies-02984e52db branch February 15, 2025 04:23
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.

2 participants