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.4 #10221

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 Dec 23, 2024

Bumps pytest from 8.1.1 to 8.3.4.

Release notes

Sourced from pytest's releases.

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

  • #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.

8.3.3

pytest 8.3.3 (2024-09-09)

Bug fixes

  • #12446: Avoid calling @property (and other instance descriptors) during fixture discovery -- by asottile{.interpreted-text role="user"}

  • #12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.

... (truncated)

Commits
  • 53f8b4e Update pypa/gh-action-pypi-publish to v1.12.2
  • 98dff36 Prepare release version 8.3.4
  • 1b474e2 approx: use exact comparison for bool (#13013)
  • b541721 docs: Fix wrong statement about sys.modules with importlib import mode (#1298...
  • 16cb87b pytest.fail: fix ANSI escape codes for colored output (#12959) (#12990)
  • be6bc81 Issue #12966 Clarify filterwarnings docs on precedence when using multiple ma...
  • 7aeb72b Improve docs on basetemp and retention (#12912) (#12928)
  • c875841 Merge pull request #12917 from pytest-dev/patchback/backports/8.3.x/ded1f44e5...
  • 6502816 Merge pull request #12913 from jakkdl/dontfailonbadpath
  • 52135b0 Merge pull request #12885 from The-Compiler/pdb-py311 (#12887)
  • Additional commits viewable in compare view

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 Dec 23, 2024
@github-actions github-actions bot enabled auto-merge (squash) December 23, 2024 11:42
Copy link

codspeed-hq bot commented Dec 23, 2024

CodSpeed Performance Report

Merging #10221 will not alter performance

Comparing dependabot/pip/pytest-8.3.4 (9f6c3cc) with master (f52ec5c)

Summary

✅ 47 untouched benchmarks

Copy link

codecov bot commented Dec 23, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3460 1 3459 27
View the top 1 failed tests by shortest run time
tests.test_test_utils test_testcase_no_app
Stack Traces | 0.076s 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[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.4, pluggy-1.5.0'#x1B[0m
#x1B[1m#x1B[31mE           and: 'codspeed: 3.1.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.1.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.04s>
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
📢 Thoughts on this report? Let us know!

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.4 branch 7 times, most recently from 5b0a200 to 9918401 Compare December 25, 2024 11:49
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.3.4.
- [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.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.4 branch from 9918401 to 9f6c3cc Compare December 25, 2024 12:43
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