diff --git a/pytest-8.4.2.tar.gz b/pytest-8.4.2.tar.gz deleted file mode 100644 index 1dbd73b..0000000 --- a/pytest-8.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01 -size 1519618 diff --git a/pytest-9.0.1.tar.gz b/pytest-9.0.1.tar.gz new file mode 100644 index 0000000..a20f17f --- /dev/null +++ b/pytest-9.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e9c069ea73583e255c3b21cf46b8d3c56f6e3a1a8f6da94ccb0fcf57b9d73c8 +size 1564125 diff --git a/python-pytest.changes b/python-pytest.changes index d69cc11..5ab54ba 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,76 @@ +------------------------------------------------------------------- +Tue Nov 25 04:50:19 UTC 2025 - Steve Kowalik + +- Update to 9.0.1: + * New features + + Support for subtests has been added. This feature is experimental and + will likely evolve in future releases. + + Added support for native TOML configuration files. + + Added a “strict mode” enabled by the strict configuration option. + + Added the strict_parametrization_ids configuration option. + + Added support for displaying test session progress in the terminal tab + using the OSC 9;4; ANSI sequence. + + Support PEP420 (implicit namespace packages) as --pyargs target when + consider_namespace_packages is true in the config. + + Added a new faulthandler_exit_on_timeout configuration option set to + "false" by default to let faulthandler interrupt the pytest process + after a timeout in case of deadlock. + + Added support for configuration option aliases via the aliases + parameter in Parser.addini(). + * Improvements in existing functionality + + Having pytest configuration spread over more than one file (for example + having both a pytest.ini file and pyproject.toml with a + [tool.pytest.ini_options] table) will now print a warning to make it + clearer to the user that only one of them is actually used. + + The single argument --version no longer loads the entire plugin + infrastructure. + + Added strict_xfail as an alias to the xfail_strict option, + strict_config as an alias to the --strict-config flag, and + strict_markers as an alias to the --strict-markers flag. + + --junitxml no longer prints the generated xml file summary at the end + of the pytest session when --quiet is given. + + Previously, when filtering warnings, pytest would fail if the filter + referenced a class that could not be imported. + + Clarify the error message for pytest.raises() when a regex match fails. + * Removals and backward incompatible breaking changes + + Fixed a bug where an invocation such as pytest a/ a/b would cause only + tests from a/b to run, and not other tests under a/. + + Support for Python 3.9 is dropped following its end of life. + + Previously, pytest would assume it was running in a CI/CD environment + if either of the environment variables $CI or $BUILD_NUMBER was + defined; now, CI mode is only activated if at least one of those + variables is defined and set to a non-empty value. + + PytestRemovedIn9Warning deprecation warnings are now errors by default. + * Deprecations (removal in next major release) + + monkeypatch.syspath_prepend() now issues a deprecation warning when the + prepended path contains legacy namespace packages (those using + pkg_resources.declare_namespace()). + * Bug fixes + + Restore support for skipping tests via raise unittest.SkipTest. + + Fixed the TOML type of the verbosity settings in the API reference from + number to string. + + Fixed UserWarning: Do not expect file_or_dir on some earlier Python 3.12 + and 3.13 point versions. + + Fixed a bug in which ExceptionGroup with only skipped exceptions in + teardown was not handled correctly and showed as error. + + Fixed a bug where a nonsensical invocation like pytest x.py[a] (a file + cannot be parametrized) was silently treated as pytest x.py. This is + now a usage error. + + Fixed a misleading assertion failure message when using pytest.approx() + on mappings with differing lengths. + + Fixed the static fixture closure calculation to properly consider + transitive dependencies requested by overridden fixtures. + + Fixed pytest.approx() which now returns a clearer error message when + comparing mappings with different keys. + + Hidden .pytest.ini files are now picked up as the config file even if + empty. This was an inconsistency with non-hidden pytest.ini. + + Fixed --show-capture with --tb=line. + + Fixed pytester in subprocess mode ignored all pytest.Pytester.plugins + except the first. + * Packaging updates and notes for downstreams + + Minimum requirements on iniconfig and packaging were bumped to 1.0.1 + and 22.0.0, respectively. + ------------------------------------------------------------------- Fri Sep 5 09:16:27 UTC 2025 - Dirk Müller diff --git a/python-pytest.spec b/python-pytest.spec index 1644f9d..9fa5d9e 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -33,7 +33,7 @@ %{?sle15_python_module_pythons} Name: python-pytest%{psuffix} -Version: 8.4.2 +Version: 9.0.1 Release: 0 Summary: Simple powerful testing with Python License: MIT @@ -47,8 +47,8 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 Requires: python-Pygments >= 2.7.2 -Requires: python-iniconfig >= 1 -Requires: python-packaging >= 20 +Requires: python-iniconfig >= 1.0.1 +Requires: python-packaging >= 22 Requires: python-pluggy >= 1.5 Requires: python-setuptools Recommends: python-attrs >= 19.2.0