Skip to content

chore(deps-dev): update pytest requirement from <10.0.0,>=8.3.2 to >=9.1.0,<10.0.0 in /packages/serialization/json#600

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0
Closed

chore(deps-dev): update pytest requirement from <10.0.0,>=8.3.2 to >=9.1.0,<10.0.0 in /packages/serialization/json#600
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pytest to permit the latest version.

Release notes

Sourced from pytest's releases.

9.1.0

pytest 9.1.0 (2026-06-13)

Removals and backward incompatible breaking changes

  • #14533: When using --doctest-modules, autouse fixtures with module, package or session scope that are defined inline in Python test modules (not plugins or conftests) will now possibly execute twice.

    If this is undesirable, move the fixture definition to a conftest.py file if possible.

    Technical explanation for those interested: When using --doctest-modules, pytest possibly collects Python modules twice, once as pytest.Module and once as a DoctestModule (depending on the configuration). Due to improvements in pytest's fixture implementation, if e.g. the DoctestModule collects a fixture, it is now visible to it only, and not to the Module. This means that both need to register the fixtures independently.

Deprecations (removal in next major release)

  • #10819: Added a deprecation warning for class-scoped fixtures defined as instance methods (without @classmethod). Such fixtures set attributes on a different instance than the test methods use, leading to unexpected behavior. Use @classmethod decorator instead -- by yastcher.

    See 10819 and 14011.

  • #12882: Calling request.getfixturevalue() <pytest.FixtureRequest.getfixturevalue> during teardown to request a fixture that was not already requested is now deprecated and will become an error in pytest 10.

    See dynamic-fixture-request-during-teardown for details.

  • #13409: Using non-~collections.abc.Collection iterables (such as generators, iterators, or custom iterable objects) for the argvalues parameter in @pytest.mark.parametrize <pytest.mark.parametrize ref> and metafunc.parametrize <pytest.Metafunc.parametrize> is now deprecated.

    These iterables get exhausted after the first iteration, leading to tests getting unexpectedly skipped in cases such as running pytest.main() multiple times, using class-level parametrize decorators, or collecting tests multiple times.

    See parametrize-iterators for details and suggestions.

  • #13946: The private config.inicfg attribute is now deprecated. Use config.getini() <pytest.Config.getini> to access configuration values instead.

    See config-inicfg for more details.

  • #14004: Passing baseid to ~pytest.FixtureDef or nodeid strings to fixture registration APIs is now deprecated. These are internal pytest APIs that are used by some plugins.

    Use the node parameter instead for fixture scoping. This enables more robust node-based matching instead of string prefix matching. If you've used nodeid=None, pass node=session instead.

    This will be removed in pytest 10.

  • #14335: The method of configuring hooks using markers, deprecated since pytest 7.2, is now scheduled to be removed in pytest 10. See hook-markers for more details.

  • #14434: The --pastebin option is now deprecated.

... (truncated)

Commits
  • b2522cf Prepare release version 9.1.0
  • 368d2fc [refactor] Tighten SetComparisonFunction to Iterator[str] (#14587)
  • ff77cd8 [refactor] Make base assertion comparisons return an iterator instead of a li...
  • 0d8491a build(deps): Bump actions/stale from 10.2.0 to 10.3.0
  • 4a809d9 Merge pull request #14568 from pytest-dev/register-fixture
  • 5dfa385 Fix recursion traceback test to cover all styles (#14582)
  • f52ff0c Add pytest.register_fixture
  • a8ac094 Merge pull request #14567 from pytest-dev/more-visibility-deprecate
  • e5620cd [pre-commit.ci] pre-commit autoupdate (#14577)
  • 2ce9c6d Merge pull request #14540 from minbang930/fix-14533-doctest-module-fixtures
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 17, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 17, 2026 16:06
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 17, 2026
@dependabot dependabot Bot added the python Pull requests that update Python code label Jun 17, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch from fc30f5d to 9480ed1 Compare June 17, 2026 16:11
@baywet baywet enabled auto-merge June 17, 2026 16:17
@dependabot dependabot Bot force-pushed the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch 4 times, most recently from 6fc0d7e to 4260e08 Compare June 17, 2026 17:34
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.

@dependabot dependabot Bot force-pushed the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch from 4260e08 to fa88b0d Compare June 17, 2026 17:51
@github-actions

Copy link
Copy Markdown
Contributor

Conflicts have been resolved. A maintainer will take a look shortly.

@dependabot dependabot Bot force-pushed the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch from fa88b0d to 9e9f640 Compare June 17, 2026 18:27
baywet
baywet previously approved these changes Jun 17, 2026
@github-project-automation github-project-automation Bot moved this to In Progress 🚧 in Kiota Jun 17, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch 2 times, most recently from 376215e to 8c68820 Compare June 17, 2026 19:27
@dependabot dependabot Bot force-pushed the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch from 8c68820 to 92e0b7f Compare June 17, 2026 19:37
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.3.2...9.1.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.1.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch from 92e0b7f to 8ade37c Compare June 17, 2026 19:50
@sonarqubecloud

Copy link
Copy Markdown

@dependabot @github

dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

Looks like pytest is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 17, 2026
auto-merge was automatically disabled June 17, 2026 20:36

Pull request was closed

@github-project-automation github-project-automation Bot moved this from In Progress 🚧 to Done ✔️ in Kiota Jun 17, 2026
@dependabot dependabot Bot deleted the dependabot/pip/packages/serialization/json/pytest-gte-9.1.0-and-lt-10.0.0 branch June 17, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

Status: Done ✔️

Development

Successfully merging this pull request may close these issues.

1 participant