6350dfa
\r\nBump pylint to 3.3.0, update changelog78f3dfa
\r\nBump astroid to 3.3.3 (#9939)b28c1f6
\r\nAdd check for unnecessary-default-type-args
(#9938)bd97b93
\r\n[doc framework] Assert that the good and bad example exists in the doc\r\n(#9936)7aa4436
\r\nFix duplicate workflow step ids (#9934)0950916
\r\n[pre-commit] Add codespell, and fix some existing typos (#9912)3b4a7f9
\r\nAdd details.rst for c-extension-no-member (#9933)7d60c27
\r\nExplicitly save cache in primer jobs67acc96
\r\nAdd additional stdlib deprecations (mostly 3.13) (#9853)0adf671
\r\nRemove old-style classes code, remove check for new-style class (#9925)Sourced from pytest's\r\nreleases.
\r\n\r\n\r\n8.3.3
\r\npytest 8.3.3 (2024-09-09)
\r\nBug fixes
\r\n\r\n
\r\n- \r\n
\r\n#12446:\r\nAvoid calling
\r\n@property
(and other instance descriptors)\r\nduring fixture discovery -- byasottile
{.interpreted-text\r\nrole="user"}- \r\n
\r\n#12659:\r\nFixed the issue of not displaying assertion failure differences when\r\nusing the parameter
\r\n--import-mode=importlib
in\r\npytest>=8.1.- \r\n
\r\n#12667:\r\nFixed a regression where type change in\r\n[ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to\r\nfail.
\r\n- \r\n
\r\n#12744:\r\nFixed typing compatibility with Python 3.9 or less -- replaced\r\n[typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} --\r\nby
\r\nAvasam
{.interpreted-text role="user"}- \r\n
\r\n#12745:\r\nFixed an issue with backslashes being incorrectly converted in nodeid\r\npaths on Windows, ensuring consistent path handling across\r\nenvironments.
\r\n- \r\n
\r\n#6682:\r\nFixed bug where the verbosity levels where not being respected when\r\nprinting the "msg" part of failed assertion (as in\r\n
\r\nassert condition, msg
).- \r\n
\r\n#9422:\r\nFix bug where disabling the terminal plugin via
\r\n-p\r\nno:terminal
would cause crashes related to missing the\r\nverbose
option.-- by
\r\nGTowers1
{.interpreted-text\r\nrole="user"}Improved documentation
\r\n\r\n
\r\n- #12663:\r\nClarify that the [pytest_deselected]{.title-ref} hook should be called\r\nfrom [pytest_collection_modifyitems]{.title-ref} hook implementations\r\nwhen items are deselected.
\r\n- #12678:\r\nRemove erroneous quotes from [tmp_path_retention_policy]{.title-ref}\r\nexample in docs.
\r\nMiscellaneous internal changes
\r\n\r\n
\r\n- #12769:\r\nFix typos discovered by codespell and add codespell to pre-commit\r\nhooks.
\r\n
d0f136f
\r\nbuild(deps): Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 (#12790)972f307
\r\nPrepare release version 8.3.30dabdcf
\r\nInclude co-authors in release announcement (#12795)\r\n(#12797)a9910a4
\r\nDo not discover properties when iterating fixtures (#12781)\r\n(#12788)0f10b6b
\r\nFix issue with slashes being turned into backslashes on Windows (#12760)\r\n(#12...300d13d
\r\nMerge pull request #12785\r\nfrom pytest-dev/patchback/backports/8.3.x/57cccf7f4...e5d32c7
\r\nMerge pull request #12784\r\nfrom svenevs/fix/docs-example-parametrize-minor-typobc913d1
\r\nStreamline checks for verbose option (#12706)\r\n(#12778)01cfcc9
\r\nFix typos and introduce codespell pre-commit hook (#12769)\r\n(#12774)4873394
\r\ndoc: Remove past training (#12772)\r\n(#12773)a98215b
\r\nBump pylint to 3.2.7, update changelog1deaffa
\r\nFix to maintain order of package paths (#9887)\r\n(#9897)b4c2951
\r\n[Backport maintenance/3.2.x] Fix a crash in\r\nundefined-loop-variable
with `e...f1925f4
\r\nFix crash in refactoring checker when calling bound lambda (#9867)7d1626c
\r\nFix a false positive unreachable
for NoReturn
\r\ncoroutine functions (#9844)...Sourced from coverage's\r\nchangelog.
\r\n\r\n\r\nVersion 7.6.1 — 2024-08-04
\r\n\r\n
\r\n- \r\n
\r\nFix: coverage used to fail when measuring code using\r\n:func:
\r\nrunpy.run_path <python:runpy.run_path>
with a\r\n:class:Path <python:pathlib.Path>
argument.\r\nThis is now fixed, thanks toAsk Hjorth Larsen <pull\r\n1819_>
_.- \r\n
\r\nFix: backslashes preceding a multi-line backslashed string could\r\nconfuse the\r\nHTML report. This is now fixed, thanks to
\r\nLiuYinCarl <pull\r\n1828_>
_.- \r\n
\r\nNow we publish wheels for Python 3.13, both regular and\r\nfree-threaded.
\r\n.. _pull 1819: nedbat/coveragepy#1819\r\n.. _pull 1828: nedbat/coveragepy#1828
\r\n.. _changes_7-6-0:
\r\n
29f5898
\r\ndocs: sample HTML for 7.6.19b829f1
\r\ndocs: prep for 7.6.1ebbb6a2
\r\nbuild: wheels for 3.13rc13872525
\r\nchore: make upgrade7a27f40
\r\ntest: fix a test on free-threading, use abiflags to get site-packages\r\npath co...2b53664
\r\nbuild: include gil/nogil in the version bannerda1682f
\r\ndocs: changelog and contributor for #1828dc819ff
\r\ntest: two tests for #18289aaa404
\r\nfix: properly handle backslash before multi-line string (#1828)9c50270
\r\nchore: make upgradeSourced from pytest's\r\nreleases.
\r\n\r\n\r\n8.3.2
\r\npytest 8.3.2 (2024-07-24)
\r\nBug fixes
\r\n\r\n
\r\n- \r\n
\r\n#12652:\r\nResolve regression [conda]{.title-ref} environments where no longer\r\nbeing automatically detected.
\r\n-- by
\r\nRonnyPfannschmidt
{.interpreted-text\r\nrole="user"}
bbcec9c
\r\nPrepare release version 8.3.278fe8b6
\r\nMerge pull request #12657\r\nfrom pytest-dev/patchback/backports/8.3.x/6c806b499...238bad2
\r\nMerge pull request #12656\r\nfrom RonnyPfannschmidt/fix-12652-detect-conda-envae6034a
\r\nMerge pull request #12641\r\nfrom pytest-dev/patchback/backports/8.3.x/c03989cee...31337ab
\r\nMerge pull request #12640\r\nfrom pytest-dev/update-userca3070b
\r\nMerge pull request #12637\r\nfrom pytest-dev/release-8.3.1Sourced from pytest's\r\nreleases.
\r\n\r\n\r\n8.3.1
\r\npytest 8.3.1 (2024-07-20)
\r\nThe 8.3.0 release failed to include the change notes and docs for the\r\nrelease. This patch release remedies this. There are no other\r\nchanges.
\r\n8.3.0
\r\npytest 8.3.0 (2024-07-20)
\r\nNew features
\r\n\r\n
\r\n- \r\n
\r\n#12231:\r\nAdded [--xfail-tb]{.title-ref} flag, which turns on traceback output for\r\nXFAIL results.
\r\n\r\n
\r\n- If the [--xfail-tb]{.title-ref} flag is not given, tracebacks for\r\nXFAIL results are NOT shown.
\r\n- The style of traceback for XFAIL is set with [--tb]{.title-ref}, and\r\ncan be [auto|long|short|line|native|no]{.title-ref}.
\r\n- Note: Even if you have [--xfail-tb]{.title-ref} set, you won't see\r\nthem if [--tb=no]{.title-ref}.
\r\nSome history:
\r\nWith pytest 8.0, [-rx]{.title-ref} or [-ra]{.title-ref} would not\r\nonly turn on summary reports for xfail, but also report the tracebacks\r\nfor xfail results. This caused issues with some projects that utilize\r\nxfail, but don't want to see all of the xfail tracebacks.
\r\nThis change detaches xfail tracebacks from [-rx]{.title-ref}, and now\r\nwe turn on xfail tracebacks with [--xfail-tb]{.title-ref}. With this,\r\nthe default [-rx]{.title-ref}/ [-ra]{.title-ref} behavior is identical\r\nto pre-8.0 with respect to xfail tracebacks. While this is a behavior\r\nchange, it brings default behavior back to pre-8.0.0 behavior, which\r\nultimately was considered the better course of action.
\r\n- \r\n
\r\n#12281:\r\nAdded support for keyword matching in marker expressions.
\r\nNow tests can be selected by marker keyword arguments.\r\nSupported values are
\r\nint
{.interpreted-text\r\nrole="class"}, (unescaped)str
{.interpreted-text\r\nrole="class"},bool
{.interpreted-text\r\nrole="class"} &None
{.interpreted-text\r\nrole="data"}.See
\r\nmarker examples\r\n<marker_keyword_expression_example>
{.interpreted-text\r\nrole="ref"} for more information.-- by
\r\nlovetheguitar
{.interpreted-text\r\nrole="user"}- \r\n
\r\n#12567:\r\nAdded
\r\n--no-fold-skipped
command line option.If this option is set, then skipped tests in short summary are no\r\nlonger grouped\r\nby reason but all tests are printed individually with their nodeid in\r\nthe same\r\nway as other statuses.
\r\n-- by
\r\npbrezina
{.interpreted-text\r\nrole="user"}Improvements in existing functionality
\r\n\r\n
\r\n\r\n- \r\n
\r\n#12469:\r\nThe console output now uses the "third-party plugins"\r\nterminology,\r\nreplacing the previously established but confusing and outdated\r\nreference to
\r\nsetuptools\r\n<setuptools:index>
{.interpreted-text\r\nrole="std:doc"}\r\n-- bywebknjaz
{.interpreted-text\r\nrole="user"}.- \r\n
\r\n#12544,\r\n#12545:\r\nPython virtual environment detection was improved by\r\nchecking for a
\r\npyvenv.cfg
{.interpreted-text\r\nrole="file"} file, ensuring reliable detection on\r\nvarious platforms -- byzachsnickers
{.interpreted-text\r\nrole="user"}.
... (truncated)
\r\nde98446
\r\nPrepare release version 8.3.1bd0a042
\r\nMerge pull request #12636\r\nfrom pytest-dev/update-release-notes664325b
\r\ndoc/changelog: update 8.3.0 notes19d225d
\r\nMerge pull request #12635\r\nfrom pytest-dev/release-8.3.0bc33028
\r\nPrepare release version 8.3.0a7d5a8e
\r\nMerge pull request #12557\r\nfrom x612skm/maintainence/11771-pypy-3.9-bumpced7072
\r\nAdd a change note for PR #11771d42b76d
\r\nAdjust test_errors_in_xfail_skip_expressions for PyPy9eee45a
\r\nBump PyPy runtime to v3.9 @ GHAd489247
\r\nFix caching of parameterized fixtures (#12600)da19566
\r\nBump pylint to 3.2.6, update changelog (#9825)810c59c
\r\nUpdate setuptools to >=71.0.4 (#9812)\r\n(#9824)5f19cd5
\r\nFix a crash when a subclass extends __slots__
(#9817)\r\n(#9822)c0b1d22
\r\nBump astroid to 3.2.4 (#9816)\r\n(#9821)1d877de
\r\nFix consider-using-min-max-builtin (#9802)\r\n(#9803)8410f57
\r\nFix a false positive for missing-param-doc
(#9740)\r\n(#9793)bd4c8f1
\r\nHandle assert_never() when imported from typing_extensions (#9782)\r\n(#9790)8eb2c4d
\r\nFix FP for unexpected-keyword-arg
with ambiguous\r\nconstructors (#9785)\r\n(#9788)9882537
\r\nBump astroid to 3.2.3 (#9787)aea868c
\r\nFix invalid-name
regression for class attributes in\r\nsubclasses (#9772)\r\n(#9775)Sourced from coverage's\r\nchangelog.
\r\n\r\n\r\nVersion 7.6.0 — 2024-07-11
\r\n\r\n
\r\n- \r\n
\r\nExclusion patterns can now be multi-line, thanks to
\r\nDaniel\r\nDiniz <pull 1807_>
. This enables many interesting\r\nexclusion use-cases, including those\r\nrequested in issues118 <issue 118_>
(entire\r\nfiles),996 <issue 996_>
_ (multiple lines only when\r\nappearing together),1741 <issue 1741_>
_ (remainder\r\nof a function), and1803 <issue 1803_>
_\r\n(arbitrary sequence of marked lines). See the\r\n:ref:multi_line_exclude
\r\nsection of the docs for more details and examples.- \r\n
\r\nThe JSON report now includes per-function and per-class coverage\r\ninformation.\r\nThanks to
\r\nDaniel Diniz <pull 1809_>
_ for getting the\r\nwork started. This\r\nclosesissue 1793
_ andissue 1532
_.- \r\n
\r\nFixed an incorrect calculation of "(no class)" lines in the\r\nHTML classes\r\nreport.
\r\n- \r\n
\r\nPython 3.13.0b3 is supported.
\r\n.. _issue 118: nedbat/coveragepy#118\r\n.. _issue 996: nedbat/coveragepy#996\r\n.. _issue 1532: nedbat/coveragepy#1532\r\n.. _issue 1741: nedbat/coveragepy#1741\r\n.. _issue 1793: nedbat/coveragepy#1793\r\n.. _issue 1803: nedbat/coveragepy#1803\r\n.. _pull 1807: nedbat/coveragepy#1807\r\n.. _pull 1809: nedbat/coveragepy#1809
\r\n.. _changes_7-5-4:
\r\n
59a3cd7
\r\ndocs: sample HTML for 7.6.07f27fa7
\r\ndocs: prep for 7.6.06a268b0
\r\ndocs: issues closed by the json region reporting5bfe9e7
\r\nchore: bump actions/setup-python from 5.1.0 to 5.1.1 (#1814)ab609ef
\r\ndocs: mention json region reporting in the changes92d96b9
\r\nfix: json report needs 'no class' and 'no function' alsoe47e7e7
\r\nrefactor: move duplicate code into methods3d6be2b
\r\nfix: json format should bump for regionsa9992d2
\r\ntest: add a test of json regions with branches8b89764
\r\ntest: json expectations should have explicit format number