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

Update dependency pytest to v8 - autoclosed #42

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 31, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest (source, changelog) ^7.3.1 -> ^8.0.0 age adoption passing confidence

Release Notes

pytest-dev/pytest (pytest)

v8.0.2

Compare Source

pytest 8.0.2 (2024-02-24)

Bug Fixes

  • #​11895: Fix collection on Windows where initial paths contain the short version of a path (for example c:\PROGRA~1\tests).
  • #​11953: Fix an IndexError crash raising from getstatementrange_ast.
  • #​12021: Reverted a fix to [--maxfail]{.title-ref} handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached.

v8.0.1

Compare Source

pytest 8.0.1 (2024-02-16)

Bug Fixes

  • #​11875: Correctly handle errors from getpass.getuser{.interpreted-text role="func"} in Python 3.13.
  • #​11879: Fix an edge case where ExceptionInfo._stringify_exception could crash pytest.raises{.interpreted-text role="func"}.
  • #​11906: Fix regression with pytest.warns{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their [__init__]{.title-ref}.
  • #​11907: Fix a regression in pytest 8.0.0 whereby calling pytest.skip{.interpreted-text role="func"} and similar control-flow exceptions within a pytest.warns(){.interpreted-text role="func"} block would get suppressed instead of propagating.
  • #​11929: Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.
  • #​11937: Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.

v8.0.0: pytest 8.0.0 (2024-01-27)

Compare Source

See 8.0.0rc1 and 8.0.0rc2 for the full changes since pytest 7.4!

Bug Fixes

  • #​11842: Properly escape the reason of a skip <pytest.mark.skip ref>{.interpreted-text role="ref"} mark when writing JUnit XML files.
  • #​11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with %f specifier, which might cause the test suite to crash.

v7.4.4

Compare Source

v7.4.3: pytest 7.4.3 (2023-10-24)

Compare Source

Bug Fixes

  • #​10447: Markers are now considered in the reverse mro order to ensure base class markers are considered first -- this resolves a regression.

  • #​11239: Fixed := in asserts impacting unrelated test cases.

  • #​11439: Handled an edge case where :data:sys.stderr might already be closed when :ref:faulthandler is tearing down.

v7.4.2: pytest 7.4.2 (2023-09-07)

Compare Source

Bug Fixes
  • #​11237: Fix doctest collection of functools.cached_property objects.

  • #​11306: Fixed bug using --importmode=importlib which would cause package __init__.py files to be imported more than once in some cases.

  • #​11367: Fixed bug where user_properties where not being saved in the JUnit XML file if a fixture failed during teardown.

  • #​11394: Fixed crash when parsing long command line arguments that might be interpreted as files.

Improved Documentation
  • #​11391: Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing.

v7.4.1: pytest 7.4.1 (2023-09-02)

Compare Source

Bug Fixes

  • #​10337: Fixed bug where fake intermediate modules generated by --import-mode=importlib would not include the
    child modules as attributes of the parent modules.

  • #​10702: Fixed error assertion handling in pytest.approx when None is an expected or received value when comparing dictionaries.

  • #​10811: Fixed issue when using --import-mode=importlib together with --doctest-modules that caused modules
    to be imported more than once, causing problems with modules that have import side effects.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Jan 31, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: axis-ptz-controller/poetry.lock
[05:34:56.677] INFO (1930): Installing tool [email protected]...
tool poetry v1.1.5 is already installed
linking tool poetry v1.1.5
Traceback (most recent call last):
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/bin/poetry", line 5, in <module>
    from poetry.console import main
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/console/__init__.py", line 1, in <module>
    from .application import Application
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/console/application.py", line 7, in <module>
    from .commands.about import AboutCommand
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/console/commands/__init__.py", line 2, in <module>
    from .add import AddCommand
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/console/commands/add.py", line 8, in <module>
    from .init import InitCommand
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/console/commands/init.py", line 16, in <module>
    from poetry.core.pyproject import PyProjectException
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/core/pyproject/__init__.py", line 2, in <module>
    from poetry.core.pyproject.tables import BuildSystem
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/core/pyproject/tables.py", line 5, in <module>
    from poetry.core.utils._compat import Path
  File "/opt/containerbase/tools/poetry/1.1.5/3.12/lib/python3.12/site-packages/poetry/core/utils/_compat.py", line 8, in <module>
    import six.moves.urllib.parse as urllib_parse
ModuleNotFoundError: No module named 'six.moves'
[05:34:56.815] FATAL (1930): Command failed with exit code 1: /usr/local/containerbase/bin/install-tool poetry 1.1.5
    err: {
      "type": "Error",
      "message": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool poetry 1.1.5",
      "stack":
          Error: Command failed with exit code 1: /usr/local/containerbase/bin/install-tool poetry 1.1.5
              at makeError (/snapshot/dist/containerbase-cli.js:44233:13)
              at handlePromise (/snapshot/dist/containerbase-cli.js:45132:29)
              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
              at async InstallLegacyToolService.execute (/snapshot/dist/containerbase-cli.js:51957:5)
              at async InstallToolService.execute (/snapshot/dist/containerbase-cli.js:52137:9)
              at async InstallToolShortCommand.execute (/snapshot/dist/containerbase-cli.js:52345:14)
              at async InstallToolShortCommand.validateAndExecute (/snapshot/dist/containerbase-cli.js:2426:26)
              at async _Cli.run (/snapshot/dist/containerbase-cli.js:3539:22)
              at async _Cli.runExit (/snapshot/dist/containerbase-cli.js:3547:28)
              at async main (/snapshot/dist/containerbase-cli.js:52539:3)
      "shortMessage": "Command failed with exit code 1: /usr/local/containerbase/bin/install-tool poetry 1.1.5",
      "command": "/usr/local/containerbase/bin/install-tool poetry 1.1.5",
      "escapedCommand": "\"/usr/local/containerbase/bin/install-tool\" poetry 1.1.5",
      "exitCode": 1,
      "cwd": "/tmp/renovate/repos/github/IQTLabs/edgetech-axis-ptz-controller/axis-ptz-controller",
      "failed": true,
      "timedOut": false,
      "isCanceled": false,
      "killed": false
    }
[05:34:56.831] INFO (1930): Installed tool poetry with errors in 154ms.


@renovate renovate bot changed the title Update dependency pytest to v8 Update dependency pytest to v8 - autoclosed Jun 20, 2024
@renovate renovate bot closed this Jun 20, 2024
@renovate renovate bot deleted the renovate/pytest-8.x branch June 20, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants