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

Bump the dev-dependencies group with 4 updates #90

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2025

Bumps the dev-dependencies group with 4 updates: hypothesis, coverage, mypy and ruff.

Updates hypothesis from 6.122.1 to 6.123.2

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.123.2

The shrinker now uses the typed choice sequence (issue #3921) when ordering failing examples. As a result, Hypothesis may now report a different minimal failing example for some tests. We expect most cases to remain unchanged.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.123.1

Our pytest plugin now emits a warning if you set Pytest's "norecursedirs" config option in such a way that the ".hypothesis" directory would be searched for tests. This reliably indicates that you've made a mistake which slows down test collection, usually assuming that your configuration extends the set of ignored patterns when it actually replaces them. (issue #4200)

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.123.0

"from_type()" can now handle constructors with required positional- only arguments if they have type annotations. Previously, we only passed arguments by keyword.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.122.7

This patch lays some groundwork for migrating our internal representation to the typed choice sequence (issue #3921)

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.122.6

This patch cleans up some internal code around clamping floats.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.122.5

This release improves shrinking in some cases, especially for strategies using "one_of()". This will typically improve shrinking speed and may in some cases improve the end result.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.122.4

This patch improves generation performance for the provisional "domains()" strategy, including its derivative strategies "urls()" and "emails()".

The canonical version of these notes (with links) is on readthedocs.

... (truncated)

Commits
  • 8250483 Bump hypothesis-python version to 6.123.2 and update changelog
  • 462c5fc Merge pull request #4215 from tybug/sort-key-ir
  • b089be7 reword release, typing
  • 3dbfae2 Merge pull request #4214 from tybug/automate-shrinking-benchmark
  • 681df66 typing
  • 4181f0c this fails test_minimizes_errors_in_teardown due to forced being trivial
  • fb74bd7 this test can go back to normal now!
  • a4c8648 speed up test_shrinks_downwards_to_integers
  • 75d1f42 this test is unsound with a db failure
  • 4657a4f use sort_key_ir for most things
  • Additional commits viewable in compare view

Updates coverage from 7.6.8 to 7.6.10

Changelog

Sourced from coverage's changelog.

Version 7.6.10 — 2024-12-26

  • Fix: some descriptions of missing branches in HTML and LCOV reports were incorrect when multi-line statements were involved (issue 1874_ and issue 1875_). These are now fixed.

  • Fix: Python 3.14 defers evaluation of annotations <pep649_>_ by moving them into separate code objects. That code is rarely executed, so coverage.py would mark them as missing, as reported in issue 1908_. Now they are ignored by coverage automatically.

  • Fixed an obscure and mysterious problem on PyPy 3.10 seemingly involving mocks, imports, and trace functions: issue 1902_. To be honest, I don't understand the problem or the solution, but git bisect helped find it, and now it's fixed.

  • Docs: re-wrote the :ref:subprocess page to put multiprocessing first and to highlight the correct use of :class:multiprocessing.Pool <python:multiprocessing.pool.Pool>.

.. _issue 1874: nedbat/coveragepy#1874 .. _issue 1875: nedbat/coveragepy#1875 .. _issue 1902: nedbat/coveragepy#1902 .. _issue 1908: nedbat/coveragepy#1908 .. _pep649: https://docs.python.org/3.14/whatsnew/3.14.html#pep-649-deferred-evaluation-of-annotations

.. _changes_7-6-9:

Version 7.6.9 — 2024-12-06

  • Fix: Tomas Uribe fixed <pull 1901_>_ a performance problem in the XML report. Large code bases should produce XML reports much faster now.

.. _pull 1901: nedbat/coveragepy#1901

.. _changes_7-6-8:

Commits
  • f0dcf65 docs: sample HTML for 7.6.10
  • 0f26f35 docs: prep for 7.6.10
  • 81c5e43 docs: rewrite the subprocess page
  • 878410c chore: make doc_upgrade
  • f1d320d chore: make upgrade
  • 67f1440 debug: this condition is never true. really?
  • c85eaba fix: multi-line statements no longer confuse branch target descriptions. #187...
  • 73e58fa refactor: clarify the code that fixes with-statement exits
  • e16c9cc typo: backslask
  • 865fd7f chore: bump the action-dependencies group with 4 updates (#1909)
  • Additional commits viewable in compare view

Updates mypy from 1.13.0 to 1.14.1

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.8 argument. 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_aarch64 to PyPI, making it easy for users on such platforms to realise this speedup.

Contributed by Christian Bundy (PR mypy_mypyc-wheels#76)

--strict-bytes

By default, mypy treats an annotation of bytes as permitting bytearray and memoryview. PEP 688 specified the removal of this special case. Use this flag to disable this behavior. --strict-bytes will 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-types by 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

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] Extend AIR302 with additional functions and classes (#15015)
  • [airflow] Implement moved-to-provider-in-3 for 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 in PERF401 when list variable is after the for loop (#14971)
  • [perflint] Simplify finding the loop target in PERF401 (#15025)
  • [pylint] Preserve original value format (PLR6104) (#14978)
  • [ruff] Avoid false positives for RUF027 for typing context bindings (#15037)
  • [ruff] Check for ambiguous pattern passed to pytest.raises() (RUF043) (#14966)

Rule changes

  • [flake8-bandit] Check S105 for annotated assignment (#15059)
  • [flake8-pyi] More autofixes for redundant-none-literal (PYI061) (#14872)
  • [pydocstyle] Skip leading whitespace for D403 (#14963)
  • [ruff] Skip SQLModel base classes for mutable-class-default (RUF012) (#14949)

Bug

  • [perflint] Parenthesize walrus expressions in autofix for manual-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] Extend AIR302 with additional functions and classes (#15015)
  • [airflow] Implement moved-to-provider-in-3 for 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 in PERF401 when list variable is after the for loop (#14971)
  • [perflint] Simplify finding the loop target in PERF401 (#15025)
  • [pylint] Preserve original value format (PLR6104) (#14978)
  • [ruff] Avoid false positives for RUF027 for typing context bindings (#15037)
  • [ruff] Check for ambiguous pattern passed to pytest.raises() (RUF043) (#14966)

Rule changes

  • [flake8-bandit] Check S105 for annotated assignment (#15059)
  • [flake8-pyi] More autofixes for redundant-none-literal (PYI061) (#14872)
  • [pydocstyle] Skip leading whitespace for D403 (#14963)
  • [ruff] Skip SQLModel base classes for mutable-class-default (RUF012) (#14949)

Bug

  • [perflint] Parenthesize walrus expressions in autofix for manual-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 for except* (B025, B029, B030, B904) (#14815)
  • [flake8-bugbear] itertools.batched() without explicit strict (B911) (#14408)
  • [flake8-use-pathlib] Dotless suffix passed to Path.with_suffix() (PTH210) (#14779)
  • [pylint] Include parentheses and multiple comparators in check for boolean-chained-comparison (PLR1716) (#14781)
  • [ruff] Do not simplify round() calls (RUF046) (#14832)
  • [ruff] Don't emit used-dummy-variable on function parameters (RUF052) (#14818)
  • [ruff] Implement if-key-in-dict-del (RUF051) (#14553)
  • [ruff] Mark autofix for RUF052 as always unsafe (#14824)
  • [ruff] Teach autofix for used-dummy-variable about TypeVars etc. (RUF052) (#14819)

Rule changes

  • [flake8-bugbear] Offer unsafe autofix for no-explicit-stacklevel (B028) (#14829)
  • [flake8-pyi] Skip all type definitions in string-or-bytes-too-long (PYI053) (#14797)
  • [pyupgrade] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (UP009) (#14728)

... (truncated)

Commits
  • 3bb0dac Bump version to 0.8.4 (#15064)
  • 40cba5d [red-knot] Cleanup various todo_type!() messages (#15063)
  • 596d80c [perflint] Parenthesize walrus expressions in autofix for `manual-list-comp...
  • d8b9a36 Disable actionlint hook by default when running pre-commit locally (#15061)
  • 85e71ba [flake8-bandit] Check S105 for annotated assignment (#15059)
  • 2802cbd Don't special-case class instances in unary expression inference (#15045)
  • ed2bce6 [red-knot] Report invalid exceptions (#15042)
  • f0012df Fix typos in RUF043.py (#15044)
  • 0fc4e8f Introduce InferContext (#14956)
  • ac81c72 [ruff] Ambiguous pattern passed to pytest.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 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 dev-dependencies group with 4 updates: [hypothesis](https://github.com/HypothesisWorks/hypothesis), [coverage](https://github.com/nedbat/coveragepy), [mypy](https://github.com/python/mypy) and [ruff](https://github.com/astral-sh/ruff).


Updates `hypothesis` from 6.122.1 to 6.123.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.122.1...hypothesis-python-6.123.2)

Updates `coverage` from 7.6.8 to 7.6.10
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.8...7.6.10)

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

Updates `ruff` from 0.8.1 to 0.8.4
- [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.1...0.8.4)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 1, 2025
@coveralls
Copy link

coveralls commented Jan 1, 2025

Pull Request Test Coverage Report for Build 12574558698

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 74.912%

Totals Coverage Status
Change from base Build 12109536739: 0.0%
Covered Lines: 373
Relevant Lines: 488

💛 - Coveralls

@insolor insolor merged commit e00e394 into master Jan 1, 2025
6 checks passed
@insolor insolor deleted the dependabot/pip/dev-dependencies-f6c86d2ea9 branch January 1, 2025 23:35
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