Title: Bump pytest from 8.3.5 to 8.4.2 by dependabot[bot] · Pull Request #152 · EuroPython/programapi · GitHub
Open Graph Title: Bump pytest from 8.3.5 to 8.4.2 by dependabot[bot] · Pull Request #152 · EuroPython/programapi
X Title: Bump pytest from 8.3.5 to 8.4.2 by dependabot[bot] · Pull Request #152 · EuroPython/programapi
Description: Bumps pytest from 8.3.5 to 8.4.2.
Release notes
Sourced from pytest's releases.
8.4.2
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"}.
8.4.1
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.
8.4.0
pytest 8.4.0 (2025-06-02)
... (truncated)
Commits
bfae422 Prepare release version 8.4.2
8990538 Fix passenv CI in tox ini and make tests insensitive to the presence of the C...
ca676bf Merge pull request #13687 from pytest-dev/patchback/backports/8.4.x/e63f6e51c...
975a60a Merge pull request #13686 from pytest-dev/patchback/backports/8.4.x/12bde8af6...
7723ce8 Merge pull request #13683 from even-even/fix_Exeption_to_Exception_in_errorMe...
b7f0568 Merge pull request #13685 from CoretexShadow/fix/docs-pytest-generate-tests
2c94c4a add missing colon (#13640) (#13641)
c3d7684 Merge pull request #13606 from pytest-dev/patchback/backports/8.4.x/5f9938563...
dc6e3be Merge pull request #13605 from The-Compiler/training-update-2025-07
f87289c Fix crash with times output style and skipped module (#13573) (#13579)
Additional commits viewable in compare view
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
Open Graph Description: Bumps pytest from 8.3.5 to 8.4.2. Release notes Sourced from pytest's releases. 8.4.2 pytest 8.4.2 (2025-09-03) Bug fixes #13478: Fixed a crash when using console_output_style{.interpreted-...
X Description: Bumps pytest from 8.3.5 to 8.4.2. Release notes Sourced from pytest's releases. 8.4.2 pytest 8.4.2 (2025-09-03) Bug fixes #13478: Fixed a crash when using console_output_style{.interpre...
Opengraph URL: https://github.com/EuroPython/programapi/pull/152
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0fbbccf9-0de7-aaa1-aacd-9cff94429b85 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A2E8:166AF4:209770:2C1783:6972F29C |
| html-safe-nonce | 7f2227f8f9f5112b6b07074bea3afd3e0c053a53bb0a4b7d9b50851d9e0da010 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkU4OjE2NkFGNDoyMDk3NzA6MkMxNzgzOjY5NzJGMjlDIiwidmlzaXRvcl9pZCI6IjM3NjgwMjM4ODA1NTEyOTc2OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a31869a430437829c10c96926e266ca30ba5953d289d79ef392696ded00af1a0 |
| hovercard-subject-tag | pull_request:2877339760 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/EuroPython/programapi/pull/152/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps pytest from 8.3.5 to 8.4.2. Release notes Sourced from pytest's releases. 8.4.2 pytest 8.4.2 (2025-09-03) Bug fixes #13478: Fixed a crash when using console_output_style{.interpreted-... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25ef7e923c492d9047af899b2ba66bfcb0a78059369630f2ce2cf57826ed6a53 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/EuroPython/programapi git https://github.com/EuroPython/programapi.git |
| octolytics-dimension-user_id | 5538814 |
| octolytics-dimension-user_login | EuroPython |
| octolytics-dimension-repository_id | 797821381 |
| octolytics-dimension-repository_nwo | EuroPython/programapi |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 797821381 |
| octolytics-dimension-repository_network_root_nwo | EuroPython/programapi |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c0badd0db61d89a34653af2d762b2eb8c84f9d59 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width