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.3 #9102

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 10, 2024

Bumps pytest from 8.1.1 to 8.3.3.

Release notes

Sourced from pytest's releases.

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.

  • #12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.

  • #12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by Avasam{.interpreted-text role="user"}

  • #12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.

  • #6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in assert condition, msg).

  • #9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.

    -- by GTowers1{.interpreted-text role="user"}

Improved documentation

  • #12663: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
  • #12678: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.

Miscellaneous internal changes

  • #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.

8.3.2

pytest 8.3.2 (2024-07-24)

Bug fixes

  • #12652: Resolve regression [conda]{.title-ref} environments where no longer being automatically detected.

    -- by RonnyPfannschmidt{.interpreted-text role="user"}

8.3.1

pytest 8.3.1 (2024-07-20)

The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 10, 2024
@github-actions github-actions bot enabled auto-merge (squash) September 10, 2024 11:07
Copy link

codecov bot commented Sep 10, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3334 1 3333 28
View the top 1 failed tests by shortest run time
tests.test_test_utils test_testcase_no_app
Stack Traces | 0.066s run time
testdir = &lt;Testdir local('.../pytest-of-runner/pytest-0/test_testcase_no_app0')&gt;
loop = &lt;_UnixSelectorEventLoop running=False closed=False debug=False&gt;

    def test_testcase_no_app(
        testdir: pytest.Testdir, loop: asyncio.AbstractEventLoop
    ) -&gt; None:
        testdir.makepyfile(
            """
            from aiohttp.test_utils import AioHTTPTestCase
    
    
            class InvalidTestCase(AioHTTPTestCase):
                def test_noop(self) -&gt; None:
                    pass
            """
        )
        result = testdir.runpytest()
&gt;       result.stdout.fnmatch_lines(["*TypeError*"])
E       Failed: nomatch: '*TypeError*'
E           and: '============================= test session starts =============================='
E           and: 'platform darwin -- Python 3.10.11, pytest-8.3.3, pluggy-1.5.0'
E           and: 'rootdir: .../pytest-of-runner/pytest-0/test_testcase_no_app0'
E           and: 'plugins: cov-5.0.0, mock-3.14.0'
E           and: 'collected 0 items'
E           and: ''
E           and: '============================ no tests ran in 0.00s ============================='
E       remains unmatched: '*TypeError*'

loop       = &lt;_UnixSelectorEventLoop running=False closed=False debug=False&gt;
result     = &lt;RunResult ret=ExitCode.NO_TESTS_COLLECTED len(stdout.lines)=7 len(stderr.lines)=0 duration=0.03s&gt;
testdir    = &lt;Testdir local('.../pytest-of-runner/pytest-0/test_testcase_no_app0')&gt;

.../aiohttp/tests/test_test_utils.py:317: Failed

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.3 branch 5 times, most recently from 69c6762 to ad808dc Compare September 22, 2024 12:04
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.3 branch from ad808dc to 95a3196 Compare September 23, 2024 11:11
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.3 branch 3 times, most recently from f54524d to 3820ad1 Compare October 8, 2024 12:06
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.3.3.
- [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.3)

---
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.3 branch from 3820ad1 to 2e477de Compare October 8, 2024 12:44
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 23, 2024

Superseded by #10221.

@dependabot dependabot bot closed this Dec 23, 2024
auto-merge was automatically disabled December 23, 2024 11:05

Pull request was closed

@dependabot dependabot bot deleted the dependabot/pip/pytest-8.3.3 branch December 23, 2024 11:05
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