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 pytest from 8.1.1 to 8.3.5 #10515

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

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps pytest from 8.1.1 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"}.

8.3.4

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

... (truncated)

Commits

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 4, 2025
@dependabot dependabot bot requested review from webknjaz and asvetlov as code owners March 4, 2025 04:38
@github-actions github-actions bot enabled auto-merge (squash) March 4, 2025 04:59
Copy link

codspeed-hq bot commented Mar 4, 2025

CodSpeed Performance Report

Merging #10515 will not alter performance

Comparing dependabot/pip/pytest-8.3.5 (d0f6112) with master (af9d236)

Summary

✅ 46 untouched benchmarks

Copy link

codecov bot commented Mar 4, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3451 1 3450 45
View the top 1 failed test(s) by shortest run time
tests.test_test_utils test_testcase_no_app
Stack Traces | 0.153s run time
testdir = <Testdir local('.../pytest-0/popen-gw2/test_testcase_no_app0')>
loop = <_UnixSelectorEventLoop running=False closed=False debug=False>

    #x1B[0m#x1B[94mdef#x1B[39;49;00m#x1B[90m #x1B[39;49;00m#x1B[92mtest_testcase_no_app#x1B[39;49;00m(#x1B[90m#x1B[39;49;00m
        testdir: pytest.Testdir, loop: asyncio.AbstractEventLoop#x1B[90m#x1B[39;49;00m
    ) -> #x1B[94mNone#x1B[39;49;00m:#x1B[90m#x1B[39;49;00m
        testdir.makepyfile(#x1B[90m#x1B[39;49;00m
    #x1B[90m        #x1B[39;49;00m#x1B[33m"""#x1B[39;49;00m
    #x1B[33m        from aiohttp.test_utils import AioHTTPTestCase#x1B[39;49;00m
    #x1B[33m#x1B[39;49;00m
    #x1B[33m#x1B[39;49;00m
    #x1B[33m        class InvalidTestCase(AioHTTPTestCase):#x1B[39;49;00m
    #x1B[33m            def test_noop(self) -> None:#x1B[39;49;00m
    #x1B[33m                pass#x1B[39;49;00m
    #x1B[33m        """#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
        )#x1B[90m#x1B[39;49;00m
        result = testdir.runpytest()#x1B[90m#x1B[39;49;00m
>       result.stdout.fnmatch_lines([#x1B[33m"#x1B[39;49;00m#x1B[33m*TypeError*#x1B[39;49;00m#x1B[33m"#x1B[39;49;00m])#x1B[90m#x1B[39;49;00m
#x1B[1m#x1B[31mE       Failed: nomatch: '*TypeError*'#x1B[0m
#x1B[1m#x1B[31mE           and: '============================= test session starts =============================='#x1B[0m
#x1B[1m#x1B[31mE           and: 'platform darwin -- Python 3.10.11, pytest-8.3.5, pluggy-1.5.0'#x1B[0m
#x1B[1m#x1B[31mE           and: 'codspeed: 3.2.0 (disabled, mode: walltime, timer_resolution: 41.7ns)'#x1B[0m
#x1B[1m#x1B[31mE           and: 'rootdir: .../pytest-0/popen-gw2/test_testcase_no_app0'#x1B[0m
#x1B[1m#x1B[31mE           and: 'plugins: cov-6.0.0, codspeed-3.2.0, mock-3.14.0, xdist-3.6.1'#x1B[0m
#x1B[1m#x1B[31mE           and: 'collected 0 items'#x1B[0m
#x1B[1m#x1B[31mE           and: ''#x1B[0m
#x1B[1m#x1B[31mE           and: '============================ no tests ran in 0.01s ============================='#x1B[0m
#x1B[1m#x1B[31mE       remains unmatched: '*TypeError*'#x1B[0m

loop       = <_UnixSelectorEventLoop running=False closed=False debug=False>
result     = <RunResult ret=ExitCode.NO_TESTS_COLLECTED len(stdout.lines)=8 len(stderr.lines)=0 duration=0.05s>
testdir    = <Testdir local('.../pytest-0/popen-gw2/test_testcase_no_app0')>

#x1B[1m#x1B[.../aiohttp/tests/test_test_utils.py#x1B[0m:317: Failed

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.5 branch from fd91b65 to 945579f Compare March 4, 2025 05:23
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 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.1.1...8.3.5)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.5 branch from 945579f to d0f6112 Compare March 6, 2025 11:28
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants