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

build(deps): bump pytest from 7.1.3 to 8.3.3 #6501

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Bumps pytest from 7.1.3 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 requested a review from a team as a code owner November 4, 2024 17:54
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 4, 2024
@onkar
Copy link
Member

onkar commented Nov 4, 2024

/gcbrun

@onkar
Copy link
Member

onkar commented Nov 4, 2024

@dependabot rebase

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.3 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@7.1.3...8.3.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-8.3.3 branch from a120617 to 11ff7bb Compare November 4, 2024 18:30
@onkar
Copy link
Member

onkar commented Nov 4, 2024

/gcbrun

@onkar
Copy link
Member

onkar commented Nov 4, 2024

/gcbrun

@onkar
Copy link
Member

onkar commented Nov 4, 2024

/gcbrun

Copy link

codecov bot commented Nov 4, 2024

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
2621 1 2620 5
View the top 1 failed tests by shortest run time
tests.web.rpc.v1.test_endpoint_trace_item_attribute_names.TestTraceItemAttributeNames test_basic
Stack Traces | 0.345s run time
Traceback (most recent call last):
  File ".../local/lib/python3.11........./site-packages/_pytest/runner.py", line 341, in from_call
    result: TResult | None = func()
                             ^^^^^^
  File ".../local/lib/python3.11........./site-packages/_pytest/runner.py", line 242, in &lt;lambda&gt;
    lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11....../site-packages/pluggy/_hooks.py", line 513, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11....../site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 182, in _multicall
    return outcome.get_result()
           ^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11.../site-packages/pluggy/_result.py", line 100, in get_result
    raise exc.with_traceback(exc.__traceback__)
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
  File ".../local/lib/python3.11....../site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call
    yield from thread_exception_runtest_hook()
  File ".../local/lib/python3.11....../site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook
    yield
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
  File ".../local/lib/python3.11....../site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
  File ".../local/lib/python3.11....../site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook
    yield
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
  File ".../local/lib/python3.11....../site-packages/_pytest/logging.py", line 846, in pytest_runtest_call
    yield from self._runtest_for(item, "call")
  File ".../local/lib/python3.11....../site-packages/_pytest/logging.py", line 829, in _runtest_for
    yield
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
  File ".../local/lib/python3.11.../site-packages/_pytest/capture.py", line 880, in pytest_runtest_call
    return (yield)
            ^^^^^
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 167, in _multicall
    teardown.throw(outcome._exception)
  File ".../local/lib/python3.11.../site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call
    return (yield)
            ^^^^^
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 103, in _multicall
    res = hook_impl.function(*args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11........./site-packages/_pytest/runner.py", line 174, in pytest_runtest_call
    item.runtest()
  File ".../local/lib/python3.11....../site-packages/_pytest/python.py", line 1627, in runtest
    self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  File ".../local/lib/python3.11....../site-packages/pluggy/_hooks.py", line 513, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11....../site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 139, in _multicall
    raise exception.with_traceback(exception.__traceback__)
  File ".../local/lib/python3.11.........................../site-packages/pluggy/_callers.py", line 103, in _multicall
    res = hook_impl.function(*args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../local/lib/python3.11....../site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call
    result = testfunction(**testargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../rpc/v1/test_endpoint_trace_item_attribute_names.py", line 133, in test_basic
    assert res.attributes == expected
AssertionError: assert [name: "a_tag_000"\ntype: TYPE_STRING\n, name: "a_tag_001"\ntype: TYPE_STRING\n, name: "a_tag_002"\ntype: TYPE_STRING\n, name: "a_tag_003"\ntype: TYPE_STRING\n, name: "a_tag_004"\ntype: TYPE_STRING\n, name: "a_tag_005"\ntype: TYPE_STRING\n, name: "a_tag_006"\ntype: TYPE_STRING\n, name: "a_tag_007"\ntype: TYPE_STRING\n, name: "a_tag_008"\ntype: TYPE_STRING\n, name: "a_tag_009"\ntype: TYPE_STRING\n, name: "a_tag_010"\ntype: TYPE_STRING\n, name: "a_tag_011"\ntype: TYPE_STRING\n, name: "a_tag_012"\ntype: TYPE_STRING\n, name: "a_tag_013"\ntype: TYPE_STRING\n, name: "a_tag_014"\ntype: TYPE_STRING\n, name: "a_tag_015"\ntype: TYPE_STRING\n, name: "a_tag_016"\ntype: TYPE_STRING\n, name: "a_tag_017"\ntype: TYPE_STRING\n, name: "a_tag_018"\ntype: TYPE_STRING\n, name: "a_tag_019"\ntype: TYPE_STRING\n, name: "a_tag_020"\ntype: TYPE_STRING\n, name: "a_tag_021"\ntype: TYPE_STRING\n, name: "a_tag_022"\ntype: TYPE_STRING\n, name: "a_tag_023"\ntype: TYPE_STRING\n, name: "a_tag_024"\ntype: TYPE_STRING\n, name: "a_tag_025"\ntype: TYPE_STRING\n, name: "a_tag_026"\ntype: TYPE_STRING\n, name: "a_tag_027"\ntype: TYPE_STRING\n, name: "a_tag_028"\ntype: TYPE_STRING\n, name: "a_tag_029"\ntype: TYPE_STRING\n, name: "consumer_group"\ntype: TYPE_STRING\n, name: "customer"\ntype: TYPE_STRING\n, name: "environment"\ntype: TYPE_STRING\n, name: "http.status_code"\ntype: TYPE_STRING\n, name: "sentry.category"\ntype: TYPE_STRING\n, name: "sentry.environment"\ntype: TYPE_STRING\n, name: "sentry.name"\ntype: TYPE_STRING\n, name: "sentry.op"\ntype: TYPE_STRING\n, name: "sentry.platform"\ntype: TYPE_STRING\n, name: "sentry.release"\ntype: TYPE_STRING\n, name: "sentry.sdk.name"\ntype: TYPE_STRING\n, name: "sentry.sdk.version"\ntype: TYPE_STRING\n, name: "sentry.segment.name"\ntype: TYPE_STRING\n, name: "sentry.segment_name"\ntype: TYPE_STRING\n, name: "sentry.service"\ntype: TYPE_STRING\n, name: "sentry.status"\ntype: TYPE_STRING\n, name: "sentry.status_code"\ntype: TYPE_STRING\n, name: "sentry.thread.id"\ntype: TYPE_STRING\n, name: "sentry.thread.name"\ntype: TYPE_STRING\n, name: "sentry.trace.status"\ntype: TYPE_STRING\n, name: "sentry.transaction.method"\ntype: TYPE_STRING\n, name: "sentry.transaction.op"\ntype: TYPE_STRING\n, name: "sentry.user"\ntype: TYPE_STRING\n, name: "thread.id"\ntype: TYPE_STRING\n, name: "thread.name"\ntype: TYPE_STRING\n] == [name: "a_tag_000"\ntype: TYPE_STRING\n, name: "a_tag_001"\ntype: TYPE_STRING\n, name: "a_tag_002"\ntype: TYPE_STRING\n, name: "a_tag_003"\ntype: TYPE_STRING\n, name: "a_tag_004"\ntype: TYPE_STRING\n, name: "a_tag_005"\ntype: TYPE_STRING\n, name: "a_tag_006"\ntype: TYPE_STRING\n, name: "a_tag_007"\ntype: TYPE_STRING\n, name: "a_tag_008"\ntype: TYPE_STRING\n, name: "a_tag_009"\ntype: TYPE_STRING\n, name: "a_tag_010"\ntype: TYPE_STRING\n, name: "a_tag_011"\ntype: TYPE_STRING\n, name: "a_tag_012"\ntype: TYPE_STRING\n, name: "a_tag_013"\ntype: TYPE_STRING\n, name: "a_tag_014"\ntype: TYPE_STRING\n, name: "a_tag_015"\ntype: TYPE_STRING\n, name: "a_tag_016"\ntype: TYPE_STRING\n, name: "a_tag_017"\ntype: TYPE_STRING\n, name: "a_tag_018"\ntype: TYPE_STRING\n, name: "a_tag_019"\ntype: TYPE_STRING\n, name: "a_tag_020"\ntype: TYPE_STRING\n, name: "a_tag_021"\ntype: TYPE_STRING\n, name: "a_tag_022"\ntype: TYPE_STRING\n, name: "a_tag_023"\ntype: TYPE_STRING\n, name: "a_tag_024"\ntype: TYPE_STRING\n, name: "a_tag_025"\ntype: TYPE_STRING\n, name: "a_tag_026"\ntype: TYPE_STRING\n, name: "a_tag_027"\ntype: TYPE_STRING\n, name: "a_tag_028"\ntype: TYPE_STRING\n, name: "a_tag_029"\ntype: TYPE_STRING\n, name: "http.status_code"\ntype: TYPE_STRING\n, name: "sentry.category"\ntype: TYPE_STRING\n, name: "sentry.name"\ntype: TYPE_STRING\n, name: "sentry.segment_name"\ntype: TYPE_STRING\n, name: "sentry.service"\ntype: TYPE_STRING\n]
  
  At index 30 diff: name: "consumer_group"\ntype: TYPE_STRING\n != name: "http.status_code"\ntype: TYPE_STRING\n
  Left contains 20 more items, first extra item: name: "sentry.environment"\ntype: TYPE_STRING\n
  
  Full diff:
  - [
  -     name: "a_tag_000"
  ? ^^^^
  + [name: "a_tag_000"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_001"
  ? ^^^
  + , name: "a_tag_001"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_002"
  ? ^^^
  + , name: "a_tag_002"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_003"
  ? ^^^
  + , name: "a_tag_003"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_004"
  ? ^^^
  + , name: "a_tag_004"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_005"
  ? ^^^
  + , name: "a_tag_005"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_006"
  ? ^^^
  + , name: "a_tag_006"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_007"
  ? ^^^
  + , name: "a_tag_007"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_008"
  ? ^^^
  + , name: "a_tag_008"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_009"
  ? ^^^
  + , name: "a_tag_009"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_010"
  ? ^^^
  + , name: "a_tag_010"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_011"
  ? ^^^
  + , name: "a_tag_011"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_012"
  ? ^^^
  + , name: "a_tag_012"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_013"
  ? ^^^
  + , name: "a_tag_013"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_014"
  ? ^^^
  + , name: "a_tag_014"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_015"
  ? ^^^
  + , name: "a_tag_015"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_016"
  ? ^^^
  + , name: "a_tag_016"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_017"
  ? ^^^
  + , name: "a_tag_017"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_018"
  ? ^^^
  + , name: "a_tag_018"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_019"
  ? ^^^
  + , name: "a_tag_019"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_020"
  ? ^^^
  + , name: "a_tag_020"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_021"
  ? ^^^
  + , name: "a_tag_021"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_022"
  ? ^^^
  + , name: "a_tag_022"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_023"
  ? ^^^
  + , name: "a_tag_023"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_024"
  ? ^^^
  + , name: "a_tag_024"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_025"
  ? ^^^
  + , name: "a_tag_025"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_026"
  ? ^^^
  + , name: "a_tag_026"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_027"
  ? ^^^
  + , name: "a_tag_027"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_028"
  ? ^^^
  + , name: "a_tag_028"
  ? ^
    type: TYPE_STRING
  - ,
  -     name: "a_tag_029"
  ? ^^^
  + , name: "a_tag_029"
  ? ^
    type: TYPE_STRING
  + , name: "consumer_group"
  - ,
  -     name: "http.status_code"
    type: TYPE_STRING
  + , name: "customer"
  - ,
  -     name: "sentry.category"
    type: TYPE_STRING
  + , name: "environment"
  - ,
  -     name: "sentry.name"
    type: TYPE_STRING
  + , name: "http.status_code"
  - ,
  -     name: "sentry.segment_name"
    type: TYPE_STRING
  + , name: "sentry.category"
  - ,
  -     name: "sentry.service"
    type: TYPE_STRING
  - ,
  + , name: "sentry.environment"
  + type: TYPE_STRING
  + , name: "sentry.name"
  + type: TYPE_STRING
  + , name: "sentry.op"
  + type: TYPE_STRING
  + , name: "sentry.platform"
  + type: TYPE_STRING
  + , name: "sentry.release"
  + type: TYPE_STRING
  + , name: "sentry.sdk.name"
  + type: TYPE_STRING
  + , name: "sentry.sdk.version"
  + type: TYPE_STRING
  + , name: "sentry.segment.name"
  + type: TYPE_STRING
  + , name: "sentry.segment_name"
  + type: TYPE_STRING
  + , name: "sentry.service"
  + type: TYPE_STRING
  + , name: "sentry.status"
  + type: TYPE_STRING
  + , name: "sentry.status_code"
  + type: TYPE_STRING
  + , name: "sentry.thread.id"
  + type: TYPE_STRING
  + , name: "sentry.thread.name"
  + type: TYPE_STRING
  + , name: "sentry.trace.status"
  + type: TYPE_STRING
  + , name: "sentry.transaction.method"
  + type: TYPE_STRING
  + , name: "sentry.transaction.op"
  + type: TYPE_STRING
  + , name: "sentry.user"
  + type: TYPE_STRING
  + , name: "thread.id"
  + type: TYPE_STRING
  + , name: "thread.name"
  + type: TYPE_STRING
    ]

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

@onkar
Copy link
Member

onkar commented Nov 4, 2024

/gcbrun

@onkar
Copy link
Member

onkar commented Nov 5, 2024

/gcbrun

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.

1 participant