Skip to content

Bump the development-dependencies group with 4 updates#774

Merged
github-actions[bot] merged 1 commit intodevelopfrom
dependabot/pip/development-dependencies-41557168d7
Mar 9, 2025
Merged

Bump the development-dependencies group with 4 updates#774
github-actions[bot] merged 1 commit intodevelopfrom
dependabot/pip/development-dependencies-41557168d7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps the development-dependencies group with 4 updates: hypothesis, pytest, ipython and ruff.

Updates hypothesis from 6.127.4 to 6.127.9

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.127.9

We now provide a better string representation for "one_of()" strategies, by flattening consecutive "|" combinations. For instance:

st.integers() | st.text() | st.booleans()

previously: one_of(one_of(integers(), text()), booleans())

one_of(integers(), text(), booleans())

Explicit calls to "one_of()" remain unflattened, in order to make tracking down complicated "one_of()" constructions easier:

st.one_of(st.integers(), st.one_of(st.text(), st.booleans())) one_of(integers(), one_of(text(), booleans()))

We print "one_of" in reprs (rather than "integers() | text() | ...") for consistency with reprs containing ".filter" or ".map" calls, which uses the full "one_of" to avoid ambiguity.

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

Hypothesis for Python - version 6.127.8

This patch improves shrinking behavior for values from "text()" and "binary()" which contain duplicate elements, like ""zzzabc"". It also improves shrinking for bugs which require the same character to be drawn from two different "text()" strategies to trigger.

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

Hypothesis for Python - version 6.127.7

Fix a type-hinting regression from version 6.125.1, where we would no longer guarantee the type of the argument to ".filter" predicates (issue #4269).

x was previously Unknown, but is now correctly guaranteed to be int

st.integers().filter(lambda x: x > 0)

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

Hypothesis for Python - version 6.127.6

This patch tweaks the performance of the target phase, avoiding aborting some test cases when it would be better to finish generating them.

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

Hypothesis for Python - version 6.127.5

This patch fixes a bug where "from_type()" would error on certain types involving "Protocol" (issue #4194).

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

Commits
  • a8f9089 Bump hypothesis-python version to 6.127.9 and update changelog
  • 7cb887b Merge pull request #4281 from tybug/merge-oneof
  • b6de1ba reword release notes
  • 6618fe6 Bump hypothesis-python version to 6.127.8 and update changelog
  • af39ce9 Merge pull request #4288 from tybug/duplicate-element-shrinking
  • e359603 add release notes
  • d5f0b38 shrink duplicated elements within a choice in Collection shrinker
  • 8f3230b add lower_duplicated_characters shrink pass
  • 77519d0 Merge remote-tracking branch 'upstream/master'
  • 8364e31 rename nodes -> choices in shrink pass
  • Additional commits viewable 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 ipython from 8.33.0 to 8.34.0

Commits

Updates ruff from 0.9.9 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)
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

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 development-dependencies group with 4 updates: [hypothesis](https://github.com/HypothesisWorks/hypothesis), [pytest](https://github.com/pytest-dev/pytest), [ipython](https://github.com/ipython/ipython) and [ruff](https://github.com/astral-sh/ruff).


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

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 `ipython` from 8.33.0 to 8.34.0
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](ipython/ipython@8.33.0...8.34.0)

Updates `ruff` from 0.9.9 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.9.9...0.9.10)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: ipython
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 9, 2025
@github-actions github-actions bot enabled auto-merge March 9, 2025 03:32
@github-actions github-actions bot merged commit b042133 into develop Mar 9, 2025
16 checks passed
@dependabot dependabot bot deleted the dependabot/pip/development-dependencies-41557168d7 branch March 9, 2025 03:39
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.

0 participants