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 Python dependencies #120

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
anyio (changelog) ==4.5.2 -> ==4.8.0 age adoption passing confidence
codespell 2.3.0 -> 2.4.1 age adoption passing confidence
mypy (changelog) 1.14.1 -> 1.15.0 age adoption passing confidence
pytest (changelog) 8.3.4 -> 8.3.5 age adoption passing confidence
ruff (source, changelog) ^0.8.6 -> ^0.9.0 age adoption passing confidence
tox (changelog) 4.23.2 -> 4.24.2 age adoption passing confidence

Release Notes

agronholm/anyio (anyio)

v4.8.0

Compare Source

  • Added experimental support for running functions in subinterpreters on Python 3.13 and later
  • Added support for the copy(), copy_into(), move() and move_into() methods in anyio.Path, available in Python 3.14
  • Changed TaskGroup on asyncio to always spawn tasks non-eagerly, even if using a task factory created via asyncio.create_eager_task_factory(), to preserve expected Trio-like task scheduling semantics (PR by @​agronholm and @​graingert)
  • Configure SO_RCVBUF, SO_SNDBUF and TCP_NODELAY on the selector thread waker socket pair (this should improve the performance of wait_readable() and wait_writable() when using the ProactorEventLoop) (#​836; PR by @​graingert)
  • Fixed AssertionError when using nest-asyncio (#​840)
  • Fixed return type annotation of various context managers' __exit__ method (#​847; PR by @​Enegg)

v4.7.0

Compare Source

  • Updated TaskGroup to work with asyncio's eager task factories (#​764)
  • Added the wait_readable() and wait_writable() functions which will accept an object with a .fileno() method or an integer handle, and deprecated their now obsolete versions (wait_socket_readable() and wait_socket_writable()) (PR by @​davidbrochart)
  • Changed EventAdapter (an Event with no bound async backend) to allow set() to work even before an async backend is bound to it (#​819)
  • Added support for wait_readable() and wait_writable() on ProactorEventLoop (used on asyncio + Windows by default)
  • Fixed a misleading ValueError in the context of DNS failures (#​815; PR by @​graingert)
  • Fixed the return type annotations of readinto() and readinto1() methods in the anyio.AsyncFile class (#​825)
  • Fixed TaskInfo.has_pending_cancellation() on asyncio returning false positives in cleanup code on Python >= 3.11 (#​832; PR by @​gschaffner)
  • Fixed cancelled cancel scopes on asyncio calling asyncio.Task.uncancel when propagating a CancelledError on exit to a cancelled parent scope (#​790; PR by @​gschaffner)

v4.6.2.post1

Compare Source

v4.6.2

Compare Source

  • Fixed regression caused by (#​807) that prevented the use of parametrized async fixtures

v4.6.1

Compare Source

This release contains all the changes from both v4.5.1 and v4.6.0, plus:

  • Fixed TaskGroup and CancelScope producing cyclic references in tracebacks when raising exceptions (#​806) (PR by @​graingert)

v4.6.0

Compare Source

  • Dropped support for Python 3.8 (as #​698 cannot be resolved without cancel message support)
  • Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope (#​695)
  • Fixed cancel scopes on asyncio not propagating CancelledError on exit when the enclosing cancel scope has been effectively cancelled (#​698)
  • Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on
  • Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running
codespell-project/codespell (codespell)

v2.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: codespell-project/codespell@v2.4.0...v2.4.1

v2.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: codespell-project/codespell@v2.3.0...v2.4.0

python/mypy (mypy)

v1.15.0

Compare Source

pytest-dev/pytest (pytest)

v8.3.5

Compare Source

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"}.
astral-sh/ruff (ruff)

v0.9.10

Compare Source

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)

v0.9.9

Compare Source

Preview features
  • Fix caching of unsupported-syntax errors (#​16425)
Bug fixes
  • Only show unsupported-syntax errors in editors when preview mode is enabled (#​16429)

v0.9.8

Compare Source

Preview features
  • Start detecting version-related syntax errors in the parser (#​16090)
Rule changes
  • [pylint] Mark fix unsafe (PLW1507) (#​16343)
  • [pylint] Catch case np.nan/case math.nan in match statements (PLW0177) (#​16378)
  • [ruff] Add more Pydantic models variants to the list of default copy semantics (RUF012) (#​16291)
Server
  • Avoid indexing the project if configurationPreference is editorOnly (#​16381)
  • Avoid unnecessary info at non-trace server log level (#​16389)
  • Expand ruff.configuration to allow inline config (#​16296)
  • Notify users for invalid client settings (#​16361)
Configuration
  • Add per-file-target-version option (#​16257)
Bug fixes
  • [refurb] Do not consider docstring(s) (FURB156) (#​16391)
  • [flake8-self] Ignore attribute accesses on instance-like variables (SLF001) (#​16149)
  • [pylint] Fix false positives, add missing methods, and support positional-only parameters (PLE0302) (#​16263)
  • [flake8-pyi] Mark PYI030 fix unsafe when comments are deleted (#​16322)
Documentation

v0.9.7

Compare Source

Preview features
  • Consider __new__ methods as special function type for enforcing class method or static method rules (#​13305)
  • [airflow] Improve the internal logic to differentiate deprecated symbols (AIR303) (#​16013)
  • [refurb] Manual timezone monkeypatching (FURB162) (#​16113)
  • [ruff] Implicit class variable in dataclass (RUF045) (#​14349)
  • [ruff] Skip singleton starred expressions for incorrectly-parenthesized-tuple-in-subscript (RUF031) (#​16083)
  • [refurb] Check for subclasses includes subscript expressions (FURB189) (#​16155)
Rule changes
  • [flake8-debugger] Also flag sys.breakpointhook and sys.__breakpointhook__ (T100) (#​16191)
  • [pycodestyle] Exempt site.addsitedir(...) calls (E402) (#​16251)
Formatter
  • Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (#​16187)
Server
  • Fix handling of requests received after shutdown message (#​16262)
  • Ignore source.organizeImports.ruff and source.fixAll.ruff code actions for a notebook cell (#​16154)
  • Include document specific debug info for ruff.printDebugInformation (#​16215)
  • Update server to return the debug info as string with ruff.printDebugInformation (#​16214)
CLI
  • Warn on invalid noqa even when there are no diagnostics (#​16178)
  • Better error messages while loading configuration extends (#​15658)
Bug fixes
  • [flake8-comprehensions] Handle trailing comma in C403 fix (#​16110)
  • [flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass methods (PYI019) (#​16141)
  • [pydocstyle] Handle arguments with the same names as sections (D417) (#​16011)
  • [pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#​16080)
  • [pylint] Do not offer fix for raw strings (PLE251) (#​16132)
  • [pyupgrade] Do not upgrade functional TypedDicts with private field names to the class-based syntax (UP013) (#​16219)
  • [pyupgrade] Handle micro version numbers correctly (UP036) (#​16091)
  • [pyupgrade] Unwrap unary expressions correctly (UP018) (#​15919)
  • [refurb] Correctly handle lengths of literal strings in slice-to-remove-prefix-or-suffix (FURB188) (#​16237)
  • [ruff] Skip RUF001 diagnostics when visiting string type definitions (#​16122)
Documentation
  • Add FAQ entry for source.* code actions in Notebook (#​16212)
  • Add SECURITY.md (#​16224)

v0.9.6

Compare Source

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)

v0.9.5

Compare Source

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)
  • [pylint] Fix missing parens in unsafe fix for unnecessary-dunder-call (PLC2801) (#​15762)
  • [pyupgrade] Better messages and diagnostic range (UP015) (#​15872)
  • [pyupgrade] Rename private type parameters in PEP 695 generics (UP049) (#​15862)
  • [refurb] Also report non-name expressions (FURB169) (#​15905)
  • [refurb] Mark fix as unsafe if there are comments (FURB171) (#​15832)
  • [ruff] Classes with mixed type variable style (RUF053) (#​15841)
  • [airflow] BashOperator has been moved to airflow.providers.standard.operators.bash.BashOperator (AIR302) (#​15922)
  • [flake8-pyi] Add autofix for unused-private-type-var (PYI018) ([#​15999](https://redirect.github.com/astral-sh/ruff/pull/159

Configuration

📅 Schedule: Branch creation - "after 1am and before 2am on saturday" in timezone Etc/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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from deusebio and welpaolo December 7, 2024 01:31
@deusebio deusebio changed the title Update Python dependencies [renovate] Update Python dependencies Dec 9, 2024
@deusebio deusebio requested review from theoctober19th and removed request for welpaolo December 9, 2024 09:11
@renovate renovate bot force-pushed the renovate/python-dependencies branch from 39a4e01 to 6603146 Compare December 11, 2024 18:06
@renovate renovate bot changed the title [renovate] Update Python dependencies Update Python dependencies Dec 11, 2024
@renovate renovate bot force-pushed the renovate/python-dependencies branch 4 times, most recently from 3444edc to 976fbed Compare December 20, 2024 15:30
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from 88e214f to aab2437 Compare December 24, 2024 05:33
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from a22d75f to 6a4f507 Compare January 5, 2025 13:38
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from 977b596 to 6e00a0a Compare January 14, 2025 15:02
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from 8cd6e8c to b9ee2f9 Compare January 21, 2025 22:31
@renovate renovate bot force-pushed the renovate/python-dependencies branch 3 times, most recently from c71e6ad to 61680ea Compare January 30, 2025 15:41
@renovate renovate bot force-pushed the renovate/python-dependencies branch 2 times, most recently from cc70b02 to ee23b13 Compare February 6, 2025 22:57
@renovate renovate bot force-pushed the renovate/python-dependencies branch 6 times, most recently from f725ad0 to 79e1781 Compare March 7, 2025 21:22
@renovate renovate bot force-pushed the renovate/python-dependencies branch from 79e1781 to 17d46da Compare March 11, 2025 16:00
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