--- - branch: MAIN date: Mon Jun 26 16:03:50 UTC 2023 files: - new: '1.116' old: '1.115' path: pkgsrc/devel/py-test/Makefile pathrev: pkgsrc/devel/py-test/Makefile@1.116 type: modified - new: '1.102' old: '1.101' path: pkgsrc/devel/py-test/distinfo pathrev: pkgsrc/devel/py-test/distinfo@1.102 type: modified id: 20230626T160350Z.51dca7c5448d716be4995a96dee569eae7730095 log: "py-test: updated to 7.4.0\n\npytest 7.4.0 (2023-06-23)\nFeatures\n* Added ExceptionInfo.from_exception(), a simpler way to create an ExceptionInfo from an exception. This can replace ExceptionInfo.from_exc_info() for most uses.\nImprovements\n* Update test log report annotation to named tuple and fixed inconsistency in docs for pytest_report_teststatus hook.\n\n* When an exception traceback to be displayed is completely filtered out (by mechanisms such as __tracebackhide__, internal frames, and similar), now only the exception string and the following message are shown:\n\nâ\x80\x9CAll traceback entries are hidden. Pass --full-trace to see hidden and internal frames.â\x80\x9D.\n\nPreviously, the last frame of the traceback was shown, even though it was hidden.\n\n* Improved verbose output (-vv) of skip and xfail reasons by performing text wrapping while leaving a clear margin for progress output.\n\nAdded TerminalReporter.wrap_write() as a helper for that.\n\n* Added handling of %f directive to print microseconds in log format options, such as log-date-format.\n\n* Added the underlying exception to the cache providerâ\x80\x99s path creation and write warning messages.\n\n* Added warning when testpaths is set, but paths are not found by glob. In this case, pytest will fall back to searching from the current directory.\n\n* When --confcutdir is not specified, and there is no config file present, the conftest cutoff directory (--confcutdir) is now set to the rootdir. Previously in such cases, conftest.py files would be probed all the way to the root directory of the filesystem. If you are badly affected by this change, consider adding an empty config file to your desired cutoff directory, or explicitly set --confcutdir.\n\n* The norecursedirs check is now performed in a pytest_ignore_collect implementation, so plugins can affect it.\n\nIf after updating to this version you see that your norecursedirs setting is not being respected, it means that a conftest or a plugin you use has a bad pytest_ignore_collect implementation. Most likely, your hook returns False for paths it does not want to ignore, which ends the processing and doesnâ\x80\x99t allow other plugins, including pytest itself, to ignore the path. The fix is to return None instead of False for paths your hook doesnâ\x80\x99t want to ignore.\n\n* caplog.set_level() and caplog.at_level() will temporarily enable the requested level if level was disabled globally via logging.disable(LEVEL).\nBug Fixes\n* Terminal Reporting: Fixed bug when running in --tb=line mode where pytest.fail(pytrace=False) tests report None.\n* Fixed the --last-failed whole-file skipping functionality (â\x80\x9Cskipped N filesâ\x80\x9D) for non-python test files.\n* Fixed a regression in pytest 7.3.2 which caused to testpaths to be considered for loading initial conftests, even when it was not utilized (e.g. when explicit paths were given on the command line). Now the testpaths are only considered when they are in use.\n* Fixed traceback entries hidden with __tracebackhide__ = True still being shown for chained exceptions (parts after â\x80\x9Câ\x80¦ the above exception â\x80¦â\x80\x9D message).\n* Fix writing non-encodable text to log file when using --debug.\nImproved Documentation\n* Improved documentation for caplog.set_level().\nTrivial/Internal Changes\n* Enhanced the CLI flag for -c to now include --config-file to make it clear that this flag applies to the usage of a custom config file.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-test' unixtime: '1687795430' user: adam