Skip to content

python-pytest: bump to 9.0.2#28922

Open
commodo wants to merge 3 commits intoopenwrt:masterfrom
commodo:python-pytest-bump-9.0.2
Open

python-pytest: bump to 9.0.2#28922
commodo wants to merge 3 commits intoopenwrt:masterfrom
commodo:python-pytest-bump-9.0.2

Conversation

@commodo
Copy link
Copy Markdown
Contributor

@commodo commodo commented Mar 20, 2026

📦 Package Details

Maintainer: me

Description:

Changelog since 7.4.0:

  • v8.1.0: Add namespace packages support; fine-grained verbosity control; improved --import-mode=importlib behavior
  • v8.2.0: Add command-line argument files via @filename syntax; add PYTEST_VERSION env variable; requires pluggy>=1.5.0
  • v8.3.0: Add --xfail-tb flag; marker keyword matching; --no-fold-skipped option; better virtual environment detection
  • v8.4.0: Async tests without suitable plugin now fail (not warned); tests returning non-None values now fail; drop Python 3.8 support; add pytest.RaisesGroup for ExceptionGroup matching
  • v9.0.0: Drop Python 3.9 support; subtest support via pytest.Subtests; native TOML config in [tool.pytest] table; strict mode options; PytestRemovedIn9Warning deprecations are now errors
  • v9.0.1: Restore "raise unittest.SkipTest" support; disable terminal progress for iTerm2
  • v9.0.2: Disable terminal progress by default; fix config.inicfg compatibility; fix quadratic-time behavior with unittest subtests

Add python3-pygments dependency (new requirement since 8.x). Add test.sh.

Full changelog:
https://github.com/pytest-dev/pytest/releases

🧪 Run Testing Details

  • OpenWrt Version:
  • OpenWrt Target/Subtarget:
  • OpenWrt Device:

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@commodo commodo force-pushed the python-pytest-bump-9.0.2 branch from dca9d8d to ebbd8c2 Compare March 23, 2026 16:24
@commodo commodo force-pushed the python-pytest-bump-9.0.2 branch 3 times, most recently from c24f21c to 0e47bbf Compare March 24, 2026 05:00
commodo and others added 3 commits March 25, 2026 10:13
Pygments is a generic syntax highlighting library that supports over
500 languages and text formats. It is used by a wide range of tools
for terminal, HTML, and LaTeX output.

Added as a required dependency for python-pytest >= 7.x, which uses
Pygments to syntax-highlight code snippets in failure reports and
tracebacks.

The package uses hatchling as its build backend and has no runtime
dependencies beyond the Python standard library.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Changelog since 7.4.0:
- v8.1.0: Add namespace packages support; fine-grained verbosity control;
  improved --import-mode=importlib behavior
- v8.2.0: Add command-line argument files via @filename syntax; add
  PYTEST_VERSION env variable; requires pluggy>=1.5.0
- v8.3.0: Add --xfail-tb flag; marker keyword matching; --no-fold-skipped
  option; better virtual environment detection
- v8.4.0: Async tests without suitable plugin now fail (not warned);
  tests returning non-None values now fail; drop Python 3.8 support;
  add pytest.RaisesGroup for ExceptionGroup matching
- v9.0.0: Drop Python 3.9 support; subtest support via pytest.Subtests;
  native TOML config in [tool.pytest] table; strict mode options;
  PytestRemovedIn9Warning deprecations are now errors
- v9.0.1: Restore "raise unittest.SkipTest" support; disable terminal
  progress for iTerm2
- v9.0.2: Disable terminal progress by default; fix config.inicfg
  compatibility; fix quadratic-time behavior with unittest subtests

Add python3-pygments dependency (new requirement since 8.x).
Add test.sh.

Full changelog:
https://github.com/pytest-dev/pytest/releases

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Required by python-pytest >= 9.0.0, which needs pluggy >= 1.5.0.

v1.5.0 added support for deprecating specific hook parameters via
warn_on_impl_args (used by pytest 9.x hookspecs). Without this,
pytest fails to import with:
  TypeError: HookspecMarker.__call__() got an unexpected keyword
  argument 'warn_on_impl_args'

v1.6.0 changes:
- Drop Python 3.8 support
- Fix regression where get_result() on a failed Result caused the
  exception traceback to grow longer on each call
- Fix StopIteration passing through hook wrappers
- Fix Python 3.14 SyntaxWarning

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
@commodo commodo force-pushed the python-pytest-bump-9.0.2 branch from 0e47bbf to 95868dc Compare March 25, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant