Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ sphinx-autobuild==2025.8.25
sphinx-copybutton==0.5.2
sphinx-sitemap==2.9.0
sphinx-click==6.2.0
sphinx-autodoc-typehints==3.9.9
sphinx-autodoc-typehints==3.10.2
16 changes: 8 additions & 8 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
setuptools==80.9.0
pytest==8.3.5
respx==0.22.0
setuptools==82.0.1
pytest==9.0.3
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

pytest 9.0.0 breaking changes and migration guide

💡 Result:

Pytest 9.0.0 was released on November 5, 2025 [1][2][3]. As a major version release, it introduced several significant changes, including the removal of deprecated features and the introduction of new capabilities [4][2]. Key Changes and Migration Considerations: 1. Python Version Support: Pytest 9.0.0 requires Python 3.10 or newer [5]. If your environment uses an older version of Python (such as 3.9 or earlier), you must upgrade your Python interpreter before migrating to pytest 9.0.0 [6]. 2. Native TOML Configuration: Pytest 9.0.0 introduced support for native TOML configuration files [4][7]. - You can now use a [tool.pytest] table in your pyproject.toml file, or use a dedicated pytest.toml or.pytest.toml file [7]. - While the previous [tool.pytest.ini_options] table remains supported for backward compatibility, you cannot use both the native [tool.pytest] table and the legacy [tool.pytest.ini_options] table simultaneously [7]. 3. Experimental Subtests Support: Support for subtests has been integrated into the pytest core [4]. This functionality, previously available via the pytest-subtests plugin, now includes support for unittest.TestCase.subTest [4]. Note that this feature is considered experimental and may evolve in future releases [4]. 4. Deprecations and Removals: As is standard for major releases, pytest 9.0.0 removed various features that were deprecated in previous 8.x versions [4][2]. Users are advised to review the deprecation warnings in their test suites (which should have been visible when running pytest 8.x) to identify and address any code that relies on removed functionality [4][2]. Migration Steps: - Audit your environment: Ensure you are running Python 3.10+. - Check for deprecation warnings: Before upgrading, run your existing test suite with the latest 8.x version of pytest and resolve all deprecation warnings. - Update configuration: If you wish to adopt native TOML configuration, migrate your settings from [tool.pytest.ini_options] to the [tool.pytest] table in your pyproject.toml or a separate.toml file [7]. - Test with the new version: Upgrade to 9.0.0 (or the latest 9.0.x patch release) and verify that your test suite passes. For a comprehensive list of all changes, including specific bug fixes and minor improvements, consult the official pytest changelog [4][1].

Citations:


🏁 Script executed:

#!/bin/bash
# Description: Verify pytest can be imported and check for obvious compatibility issues

# Check if pytest imports successfully with the new version
python -c "import pytest; print(f'pytest version: {pytest.__version__}')" 2>&1

Repository: DagsHub/client

Length of output: 80


Pytest 9.0.3 requires Python 3.10+ and removes deprecated features—verify compatibility before merging.

Pytest was upgraded from 8.3.5 to 9.0.3, a major version jump with significant breaking changes:

  • Python 3.10+ is now required (drops support for Python 3.9 and earlier)
  • Deprecated features from pytest 8.x have been removed
  • TOML configuration behavior has changed (native [tool.pytest] in pyproject.toml now required instead of [tool.pytest.ini_options])

Before merging, ensure:

  1. Your environment runs Python 3.10 or newer
  2. Your test suite passes with pytest 9.0.3 (no failures from removed deprecated APIs)
  3. Update any pytest configuration files to use the new TOML format if applicable

respx==0.23.1
pytest-git==1.8.0
pytest-env==1.1.5
pytest-mock==3.14.0
fiftyone==1.5.2
datasets==3.6.0
ultralytics==8.3.237
pytest-env==1.6.0
pytest-mock==3.15.1
fiftyone==1.15.0
datasets==4.8.5
ultralytics==8.4.51
Loading