Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 18, 2025

This PR contains the following updates:

Package Change Age Confidence
pytest (changelog) ==8.4.0 -> ==8.4.2 age confidence

Release Notes

pytest-dev/pytest (pytest)

v8.4.2

Compare Source

pytest 8.4.2 (2025-09-03)

Bug fixes

  • #​13478: Fixed a crash when using console_output_style{.interpreted-text role="confval"} with times and a module is skipped.

  • #​13530: Fixed a crash when using pytest.approx{.interpreted-text role="func"} and decimal.Decimal{.interpreted-text role="class"} instances with the decimal.FloatOperation{.interpreted-text role="class"} trap set.

  • #​13549: No longer evaluate type annotations in Python 3.14 when inspecting function signatures.

    This prevents crashes during module collection when modules do not explicitly use from __future__ import annotations and import types for annotations within a if TYPE_CHECKING: block.

  • #​13559: Added missing [int]{.title-ref} and [float]{.title-ref} variants to the [Literal]{.title-ref} type annotation of the [type]{.title-ref} parameter in pytest.Parser.addini{.interpreted-text role="meth"}.

  • #​13563: pytest.approx{.interpreted-text role="func"} now only imports numpy if NumPy is already in sys.modules. This fixes unconditional import behavior introduced in [8.4.0]{.title-ref}.

Improved documentation

  • #​13577: Clarify that pytest_generate_tests is discovered in test modules/classes; other hooks must be in conftest.py or plugins.

Contributor-facing changes

  • #​13480: Self-testing: fixed a few test failures when run with -Wdefault or a similar override.
  • #​13547: Self-testing: corrected expected message for test_doctest_unexpected_exception in Python 3.14.
  • #​13684: Make pytest's own testsuite insensitive to the presence of the CI environment variable -- by ogrisel{.interpreted-text role="user"}.

v8.4.1

Compare Source

pytest 8.4.1 (2025-06-17)

Bug fixes

  • #​13461: Corrected _pytest.terminal.TerminalReporter.isatty to support
    being called as a method. Before it was just a boolean which could
    break correct code when using -o log_cli=true).

  • #​13477: Reintroduced pytest.PytestReturnNotNoneWarning{.interpreted-text role="class"} which was removed by accident in pytest [8.4]{.title-ref}.

    This warning is raised when a test functions returns a value other than None, which is often a mistake made by beginners.

    See return-not-none{.interpreted-text role="ref"} for more information.

  • #​13497: Fixed compatibility with Twisted 25+.

Improved documentation

  • #​13492: Fixed outdated warning about faulthandler not working on Windows.

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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/pytest-8.x branch from 9ef373c to 6558bc0 Compare August 10, 2025 13:15
@renovate renovate bot force-pushed the renovate/pytest-8.x branch from 6558bc0 to 7cdb474 Compare September 4, 2025 17:02
@renovate renovate bot changed the title Update dependency pytest to v8.4.1 Update dependency pytest to v8.4.2 Sep 4, 2025
@renovate renovate bot force-pushed the renovate/pytest-8.x branch from 7cdb474 to caadcf1 Compare October 21, 2025 10:56
@renovate
Copy link
Contributor Author

renovate bot commented Oct 21, 2025

⚠️ 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: Pipfile.lock
Command failed: pipenv lock
Creating a virtualenv for this project
Pipfile: /tmp/renovate/repos/github/saucelabs-training/demo-python/Pipfile
Using /usr/local/bin/python33.14.0 to create virtualenv...
created virtual environment CPython3.14.0.final.0-64 in 637ms
  creator 
CPython3Posix(dest=/runner/cache/others/virtualenvs/demo-python-pkXjvlzF, 
clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, via=copy, 
app_data_dir=/tmp/containerbase/cache/.local/share/virtualenv)
    added seed packages: pip==25.3
  activators 
BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator
,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /runner/cache/others/virtualenvs/demo-python-pkXjvlzF
Locking  dependencies...
CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Ignored the 
following versions that require a different python version: 6.4.0 
Requires-Python <3.12,>=3.8; 6.4.0rc1 Requires-Python <3.12,>=3.8; 6.5.0 
Requires-Python <3.12,>=3.8; 6.5.0rc1 Requires-Python <3.12,>=3.8; 6.6.0 
Requires-Python <=3.12,>=3.8; 6.6.1 Requires-Python <3.13,>=3.8; 6.7.0 
Requires-Python <3.14,>=3.8; 6.7.0rc1 Requires-Python <3.14,>=3.8; 6.7.1 
Requires-Python <3.14,>=3.8
CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Could not 
find a version that satisfies the requirement 
robotframework-seleniumlibrary==6.7.1 (from versions: 2.9.2, 3.0.0a2, 3.0.0b1, 
3.0.0b3, 3.0.0rc1, 3.0.0rc2, 3.0.0, 3.0.1, 3.1.0a1, 3.1.0a2, 3.1.0, 3.1.1, 
3.2.0rc1, 3.2.0, 3.3.0, 3.3.1, 4.0.0a1, 4.0.0a2, 4.0.0b1, 4.0.0rc1, 4.0.0, 
4.1.0rc1, 4.1.0, 4.2.0rc1, 4.2.0, 4.3.0rc1, 4.3.0, 4.4.0rc1, 4.4.0rc2, 4.4.0rc3,
4.4.0, 4.5.0rc1, 4.5.0rc2, 4.5.0, 5.0.0a1, 5.0.0a2, 5.0.0a3, 5.0.0b1, 5.0.0, 
5.0.1, 5.1.0, 5.1.1, 5.1.2, 5.1.3, 6.0.0rc1, 6.0.0, 6.1.0rc1, 6.1.0, 6.1.1rc1, 
6.1.1, 6.1.2rc1, 6.1.2, 6.1.3b1, 6.1.3, 6.2.0rc1, 6.2.0, 6.3.0rc1, 6.3.0rc2, 
6.3.0, 6.8.0)
[ResolutionFailure]:   File 
"/opt/containerbase/tools/pipenv/2025.0.4/3.14.0/lib/python3.14/site-packages/pi
penv/resolver.py", line 451, in main
[ResolutionFailure]:       _main(
[ResolutionFailure]:       ~~~~~^
[ResolutionFailure]:       parsed.pre,
[ResolutionFailure]:       ^^^^^^^^^^^
[ResolutionFailure]:       ...<7 lines>...
[ResolutionFailure]:       category=parsed.category,
[ResolutionFailure]:       ^^^^^^^^^^^^^^^^^^^^^^^^^
[ResolutionFailure]:       )
[ResolutionFailure]:       ^
[ResolutionFailure]:   File 
"/opt/containerbase/tools/pipenv/2025.0.4/3.14.0/lib/python3.14/site-packages/pi
penv/resolver.py", line 436, in _main
[ResolutionFailure]:       resolve_packages(
[ResolutionFailure]:       ~~~~~~~~~~~~~~~~^
[ResolutionFailure]:       pre, clear, verbose, system, write, requirements_dir,
packages, category
[ResolutionFailure]:       
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ResolutionFailure]:       )
[ResolutionFailure]:       ^
[ResolutionFailure]:   File 
"/opt/containerbase/tools/pipenv/2025.0.4/3.14.0/lib/python3.14/site-packages/pi
penv/resolver.py", line 400, in resolve_packages
[ResolutionFailure]:       results, resolver = resolve_deps(
[ResolutionFailure]:       ~~~~~~~~~~~~^
[ResolutionFailure]:       packages,
[ResolutionFailure]:       ^^^^^^^^^
[ResolutionFailure]:       ...<7 lines>...
[ResolutionFailure]:       req_dir=requirements_dir,
[ResolutionFailure]:       ^^^^^^^^^^^^^^^^^^^^^^^^^
[ResolutionFailure]:       )
[ResolutionFailure]:       ^
[ResolutionFailure]:   File 
"/opt/containerbase/tools/pipenv/2025.0.4/3.14.0/lib/python3.14/site-packages/pi
penv/utils/resolver.py", line 1083, in resolve_deps
[ResolutionFailure]:       results, hashes, internal_resolver = 
actually_resolve_deps(
[ResolutionFailure]:       ~~~~~~~~~~~~~~~~~~~~~^
[ResolutionFailure]:       deps,
[ResolutionFailure]:       ^^^^^
[ResolutionFailure]:       ...<7 lines>...
[ResolutionFailure]:       req_dir=req_dir,
[ResolutionFailure]:       ^^^^^^^^^^^^^^^^
[ResolutionFailure]:       )
[ResolutionFailure]:       ^
[ResolutionFailure]:   File 
"/opt/containerbase/tools/pipenv/2025.0.4/3.14.0/lib/python3.14/site-packages/pi
penv/utils/resolver.py", line 811, in actually_resolve_deps
[ResolutionFailure]:       resolver.resolve()
[ResolutionFailure]:       ~~~~~~~~~~~~~~~~^^
[ResolutionFailure]:   File 
"/opt/containerbase/tools/pipenv/2025.0.4/3.14.0/lib/python3.14/site-packages/pi
penv/utils/resolver.py", line 471, in resolve
[ResolutionFailure]:       raise ResolutionFailure(message=e)
Your dependencies could not be resolved. You likely have a mismatch in your 
sub-dependencies.
You can use $ pipenv run pip install <requirement_name> to bypass this 
mechanism, then run $ pipenv graph to inspect the versions actually installed in
the virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: No matching distribution found for robotframework-seleniumlibrary==6.7.1

Your dependencies could not be resolved. You likely have a mismatch in your 
sub-dependencies.
You can use $ pipenv run pip install <requirement_name> to bypass this 
mechanism, then run $ pipenv graph to inspect the versions actually installed in
the virtualenv.
Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Failed to lock Pipfile.lock!

@renovate renovate bot force-pushed the renovate/pytest-8.x branch from caadcf1 to 99cc269 Compare October 30, 2025 09:55
@renovate renovate bot changed the title Update dependency pytest to v8.4.2 Update dependency pytest to v8.4.2 - autoclosed Oct 30, 2025
@renovate renovate bot closed this Oct 30, 2025
@renovate renovate bot deleted the renovate/pytest-8.x branch October 30, 2025 14:44
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