Bump the dev-dependencies group with 3 updates by dependabot[bot] · Pull Request #121 · bretterer/rivian-python-client
Bumps the dev-dependencies group with 3 updates: pytest-asyncio, mypy and ruff.
Updates pytest-asyncio from 0.24.0 to 0.25.0
Release notes
Sourced from pytest-asyncio's releases.
pytest-asyncio 0.25.0
0.25.0 (2024-12-13)
- Deprecated: Added warning when asyncio test requests async
@pytest.fixturein strict mode. This will become an error in a future version of flake8-asyncio. #979- Updates the error message about pytest.mark.asyncio's scope keyword argument to say loop_scope instead. #1004
- Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope #990
- Propagates contextvars set in async fixtures to other fixtures and tests on Python 3.11 and above. #1008
Commits
b24de08build: Prepare release of v0.25.09fd64dachangelog +=asyncio_default_fixture_loop_scopef15b9c2Add release note for #10080184cbaRefactor tests to use Pytester97c682fCopy context variables from non-generator fixtures62ab185Improve contextvars test coverage3004bb7Simplify contextvars support746c114Maintain contextvars.Context in fixtures and testsebbd602docs: describe when UsageError is raised for loop_scope="class" markerc4c1b48Build(deps): Bump hypothesis in /dependencies/default- Additional commits viewable in compare view
Updates mypy from 1.13.0 to 1.14.0
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next release
Drop Support for Python 3.8
Mypy no longer supports running with Python 3.8, which has reached end-of-life. When running mypy with Python 3.9+, it is still possible to type check code that needs to support Python 3.8 with the
--python-version 3.8argument. Support for this will be dropped in the first half of 2025!Contributed by Marc Mueller (PR 17492).
Mypyc accelerated mypy wheels for aarch64
Mypy can compile itself to C extension modules using mypyc. This makes mypy 3-5x faster than if mypy is interpreted with pure Python. We now build and upload mypyc accelerated mypy wheels for
manylinux_aarch64to PyPI, making it easy for users on such platforms to realise this speedup.Contributed by Christian Bundy (PR mypy_mypyc-wheels#76)
--strict-bytesBy default, mypy treats an annotation of
bytesas permittingbytearrayandmemoryview. PEP 688 specified the removal of this special case. Use this flag to disable this behavior.--strict-byteswill be enabled by default in mypy 2.0.Contributed by Ali Hamdan (PR 18137) and Shantanu Jain (PR 13952).
Improvements to partial type handling in loops
This change results in mypy better modelling control flow within loops and hence detecting several issues it previously did not detect. In some cases, this change may require use of an additional explicit annotation of a variable.
Contributed by Christoph Tyralla (PR 18180).
(Speaking of partial types, another reminder that mypy plans on enabling
--local-partial-typesby default in mypy 2.0).Mypy 1.14
We’ve just uploaded mypy 1.14 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features and bug fixes. You can install it as follows:
python3 -m pip install -U mypy
... (truncated)
Commits
6f37859Remove +dev from version for release 1.145a6a754Minor updates to 1.14 changelog (#18310)9772d48Update changelog for release 1.14 (#18301)92473c8Warn about --follow-untyped-imports (#18249)e6ce8bePEP 702 (@deprecated): descriptors (#18090)5082a22[mypyc] Document optimized bytes ops and additional str ops (#18242)ee19ea7[mypyc] Add primitives and specialization for ord() (#18240)cc45bec[mypyc] Make exception type check in assertRaises test helper precise (#18241)f51090dMake "deprecated" Note a standard Error, disabled by default (#18192)242873aImplement flag to allow typechecking of untyped modules (#17712)- Additional commits viewable in compare view
Updates ruff from 0.8.1 to 0.8.4
Release notes
Sourced from ruff's releases.
0.8.4
Release Notes
Preview features
- [
airflow] ExtendAIR302with additional functions and classes (#15015)- [
airflow] Implementmoved-to-provider-in-3for modules that has been moved to Airflow providers (AIR303) (#14764)- [
flake8-use-pathlib] Extend check for invalid path suffix to include the case"."(PTH210) (#14902)- [
perflint] Fix panic inPERF401when list variable is after theforloop (#14971)- [
perflint] Simplify finding the loop target inPERF401(#15025)- [
pylint] Preserve original value format (PLR6104) (#14978)- [
ruff] Avoid false positives forRUF027for typing context bindings (#15037)- [
ruff] Check for ambiguous pattern passed topytest.raises()(RUF043) (#14966)Rule changes
- [
flake8-bandit] CheckS105for annotated assignment (#15059)- [
flake8-pyi] More autofixes forredundant-none-literal(PYI061) (#14872)- [
pydocstyle] Skip leading whitespace forD403(#14963)- [
ruff] SkipSQLModelbase classes formutable-class-default(RUF012) (#14949)Bug
- [
perflint] Parenthesize walrus expressions in autofix formanual-list-comprehension(PERF401) (#15050)Server
- Check diagnostic refresh support from client capability which enables dynamic configuration for various editors (#15014)
Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.8.4
Preview features
- [
airflow] ExtendAIR302with additional functions and classes (#15015)- [
airflow] Implementmoved-to-provider-in-3for modules that has been moved to Airflow providers (AIR303) (#14764)- [
flake8-use-pathlib] Extend check for invalid path suffix to include the case"."(PTH210) (#14902)- [
perflint] Fix panic inPERF401when list variable is after theforloop (#14971)- [
perflint] Simplify finding the loop target inPERF401(#15025)- [
pylint] Preserve original value format (PLR6104) (#14978)- [
ruff] Avoid false positives forRUF027for typing context bindings (#15037)- [
ruff] Check for ambiguous pattern passed topytest.raises()(RUF043) (#14966)Rule changes
- [
flake8-bandit] CheckS105for annotated assignment (#15059)- [
flake8-pyi] More autofixes forredundant-none-literal(PYI061) (#14872)- [
pydocstyle] Skip leading whitespace forD403(#14963)- [
ruff] SkipSQLModelbase classes formutable-class-default(RUF012) (#14949)Bug
- [
perflint] Parenthesize walrus expressions in autofix formanual-list-comprehension(PERF401) (#15050)Server
- Check diagnostic refresh support from client capability which enables dynamic configuration for various editors (#15014)
0.8.3
Preview features
- Fix fstring formatting removing overlong implicit concatenated string in expression part (#14811)
- [
airflow] Add fix to remove deprecated keyword arguments (AIR302) (#14887)- [
airflow]: Extend rule to include deprecated names for Airflow 3.0 (AIR302) (#14765 and #14804)- [
flake8-bugbear] Improve error messages forexcept*(B025,B029,B030,B904) (#14815)- [
flake8-bugbear]itertools.batched()without explicitstrict(B911) (#14408)- [
flake8-use-pathlib] Dotless suffix passed toPath.with_suffix()(PTH210) (#14779)- [
pylint] Include parentheses and multiple comparators in check forboolean-chained-comparison(PLR1716) (#14781)- [
ruff] Do not simplifyround()calls (RUF046) (#14832)- [
ruff] Don't emitused-dummy-variableon function parameters (RUF052) (#14818)- [
ruff] Implementif-key-in-dict-del(RUF051) (#14553)- [
ruff] Mark autofix forRUF052as always unsafe (#14824)- [
ruff] Teach autofix forused-dummy-variableabout TypeVars etc. (RUF052) (#14819)Rule changes
... (truncated)
Commits
3bb0dacBump version to 0.8.4 (#15064)40cba5d[red-knot] Cleanup varioustodo_type!()messages (#15063)596d80c[perflint] Parenthesize walrus expressions in autofix for `manual-list-comp...d8b9a36Disable actionlint hook by default when running pre-commit locally (#15061)85e71ba[flake8-bandit] CheckS105for annotated assignment (#15059)2802cbdDon't special-case class instances in unary expression inference (#15045)ed2bce6[red-knot] Report invalid exceptions (#15042)f0012dfFix typos inRUF043.py(#15044)0fc4e8fIntroduceInferContext(#14956)ac81c72[ruff] Ambiguous pattern passed topytest.raises()(RUF043) (#14966)- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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