Skip to content

Update dependency pytest to v8.3.5#634

Merged
ctalkington merged 1 commit into
masterfrom
renovate/pytest-8.x
Apr 18, 2025
Merged

Update dependency pytest to v8.3.5#634
ctalkington merged 1 commit into
masterfrom
renovate/pytest-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 9, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest (changelog) 8.3.3 -> 8.3.5 age adoption passing confidence

Release Notes

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"}.

v8.3.4

Compare Source

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.

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 added dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code labels Dec 9, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.39%. Comparing base (940e3ce) to head (b175801).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #634   +/-   ##
=======================================
  Coverage   94.39%   94.39%           
=======================================
  Files           9        9           
  Lines         874      874           
  Branches      121      121           
=======================================
  Hits          825      825           
  Misses         22       22           
  Partials       27       27           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate Bot force-pushed the renovate/pytest-8.x branch 6 times, most recently from fd2cbc0 to a633efd Compare December 16, 2024 01:02
@renovate renovate Bot force-pushed the renovate/pytest-8.x branch from a633efd to 21c4f12 Compare March 2, 2025 13:39
@renovate renovate Bot changed the title Update dependency pytest to v8.3.4 Update dependency pytest to v8.3.5 Mar 2, 2025
@renovate renovate Bot force-pushed the renovate/pytest-8.x branch 5 times, most recently from bcef0d8 to 5075f39 Compare April 18, 2025 05:02
@renovate renovate Bot force-pushed the renovate/pytest-8.x branch from 5075f39 to b175801 Compare April 18, 2025 05:14
@ctalkington ctalkington merged commit 7d03ef8 into master Apr 18, 2025
15 checks passed
@ctalkington ctalkington deleted the renovate/pytest-8.x branch April 18, 2025 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant