Skip to content

Release 9.2.0 - #15271

Merged
bluetech merged 3 commits into
9.2.xfrom
release-9.2.0
Oct 27, 2026
Merged

bluetech merged 3 commits into
9.2.xfrom
release-9.2.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Created by the prepare release pr workflow.

Once all builds pass and it has been approved by one or more maintainers, start the deploy workflow, using these parameters:

  • Use workflow from: release-9.2.0.
  • Release version: 9.2.0.

Or execute on the command line:

gh workflow run deploy.yml -r release-9.2.0 -f version=9.2.0

After the workflow has been approved by a core maintainer, the package will be uploaded to PyPI automatically.

Comment thread doc/en/announce/release-9.2.0.rst Outdated
* Aditya
* Alex Chen
* Andrew Barnes
* Anthropic Claude

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to remove all of the AI "authors"

Comment thread doc/en/example/reportingdemo.rst Outdated
def test_eq_attrs(self):
import attr
> import attr
E ModuleNotFoundError: No module named 'attr'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm this is not right, I'll look into it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a commit to fix this. Not sure it's the best solution but I don't want to block the release to start investigating too much.

Comment thread doc/en/changelog.rst Outdated
--------------------------------------------

- `#14742 <https://github.com/pytest-dev/pytest/issues/14742>`_: The private ``_pytest.python.CallSpec2`` name has been renamed to ``CallSpec``.
The old ``CallSpec2`` alias remains available for now and will be removed in pytest 10.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or 11

Comment thread doc/en/changelog.rst Outdated
The old ``CallSpec2`` alias remains available for now and will be removed in pytest 10.


- `#14755 <https://github.com/pytest-dev/pytest/issues/14755>`_: Schedule *yield_fixture* decorator for removal in pytest 10.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or 11

Comment thread doc/en/changelog.rst Outdated
class-scoped fixtures, see :issue:`10819` and :issue:`14011`.


- `#14808 <https://github.com/pytest-dev/pytest/issues/14808>`_: Passing a non-string value to a ``string``-typed ini option now emits a ``pytest.PytestRemovedIn10Warning``. This affects ``[tool.pytest.ini_options]`` in ``pyproject.toml``, where TOML arrays are kept as lists by ``make_scalar`` instead of being converted to strings. In pytest 10 this will raise a ``TypeError``, matching the behavior of the corresponding TOML config path.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove the bit about make_scalar which is an internal detail, not for the changelog

Comment thread doc/en/changelog.rst Outdated


- `#15153 <https://github.com/pytest-dev/pytest/issues/15153>`_: The :confval:`verbosity_assertions`, :confval:`verbosity_test_cases`, :confval:`verbosity_subtests`, :confval:`tmp_path_retention_count`, :confval:`log_level`, :confval:`log_cli_level`, :confval:`log_file_level` and :confval:`log_auto_indent` configuration options now accept native integer (and, for ``log_auto_indent``, boolean) values in TOML configuration files, while still accepting strings for backward compatibility.
:confval:`log_file_mode` and :confval:`parametrize_long_str_id_strategy` now report invalid values as a usage error.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing parametrize_long_str_id_strategy from here since it's added in this release

Comment thread doc/en/changelog.rst Outdated
- `#14638 <https://github.com/pytest-dev/pytest/issues/14638>`_: Top-level options in ``pytest.toml`` and ``.pytest.toml`` files now raise an error instead of being silently ignored when no ``[pytest]`` table is present.


- `#14675 <https://github.com/pytest-dev/pytest/issues/14675>`_: The :confval:`truncation_limit_lines` and :confval:`truncation_limit_chars` configuration options now accept integer values in TOML configuration files, while still accepting strings for backward compatibility.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combining this with the other changelog about same bug for other options

Comment thread doc/en/changelog.rst Outdated
This can happen particularly when many tests are defined in separate classes which inherit from a base class which defines fixtures (the fixtures are repeated per class).


- `#14953 <https://github.com/pytest-dev/pytest/issues/14953>`_: The :confval:`max_warnings` configuration option now accepts integer values in TOML configuration files, while still accepting strings for backward compatibility.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one too

Comment thread doc/en/changelog.rst Outdated
- `#15052 <https://github.com/pytest-dev/pytest/issues/15052>`_: Fixed possible off-by-one line numbers in :option:`--fixtures` and :option:`--fixtures-per-test` output.


- `#15132 <https://github.com/pytest-dev/pytest/issues/15132>`_: Native TOML numeric values are now accepted for the ``faulthandler_timeout``

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this...

Comment thread doc/en/changelog.rst Outdated
Added flaky test papers published on the `Test FLARE <https://test-flare.github.io/>`__ project to the list of flaky papers in ``plugins.rst``.


- `#14834 <https://github.com/pytest-dev/pytest/issues/14834>`_: Added :pypi:`pytest-skip-slow` to the annotated list of third-party plugins.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this as we don't really document such changes

@bluetech
bluetech marked this pull request as ready for review October 27, 2026 20:32
@bluetech

Copy link
Copy Markdown
Member

Hmm codespell pre-commit fails us due to:

doc/en/announce/release-9.2.0.rst:31: Parin ==> Paring, Par in, Pain, Sarin

@SemTiOne I bet you never thought your name will fail a pytest release 😀 (just kidding, I will look at how to work around this)

@bluetech
bluetech merged commit 16f7b4a into 9.2.x Oct 27, 2026
42 checks passed
@bluetech
bluetech deleted the release-9.2.0 branch October 27, 2026 21:31
@SemTiOne

Copy link
Copy Markdown
Contributor

Hmm codespell pre-commit fails us due to:

doc/en/announce/release-9.2.0.rst:31: Parin ==> Paring, Par in, Pain, Sarin

@SemTiOne I bet you never thought your name will fail a pytest release 😀 (just kidding, I will look at how to work around this)

Oh wow, that's hilarious ngl. Happy to be part of this! :)

This branch was successfully deployed

1 active deployment
deploy — ae1d0ff5 Deployed Oct 27, 2026 by bluetech via publish-to-pypi #47
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.

3 participants