Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pygments-pytest for 
openSUSE:Factory checked in at 2025-12-12 21:40:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pygments-pytest (Old)
 and      /work/SRC/openSUSE:Factory/.python-pygments-pytest.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pygments-pytest"

Fri Dec 12 21:40:40 2025 rev:13 rq:1322535 version:2.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pygments-pytest/python-pygments-pytest.changes
    2024-07-30 11:53:48.811947812 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pygments-pytest.new.1939/python-pygments-pytest.changes
  2025-12-12 21:41:06.600663557 +0100
@@ -1,0 +2,7 @@
+Fri Dec 12 04:38:19 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 2.5.0:
+  * disable test_warnings.
+  * add initial subtests support.
+
+-------------------------------------------------------------------

Old:
----
  v2.4.0.tar.gz

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  v2.5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pygments-pytest.spec ++++++
--- /var/tmp/diff_new_pack.z4eETl/_old  2025-12-12 21:41:07.712710427 +0100
+++ /var/tmp/diff_new_pack.z4eETl/_new  2025-12-12 21:41:07.712710427 +0100
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-pygments-pytest
-Version:        2.4.0
+Version:        2.5.0
 Release:        0
 Summary:        A pygments lexer for pytest output
 License:        MIT
@@ -51,8 +51,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# https://github.com/pytest-dev/pygments-pytest/issues/135
-%pytest -k 'not test_warnings'
+%pytest
 
 %files %{python_files}
 %doc README.md

++++++ _scmsync.obsinfo ++++++
mtime: 1765514357
commit: 740a73ec197ca081ad156c86d39205097d9c5ddc0cefedc57798e34c0d872070
url: https://src.opensuse.org/python-pytest/python-pygments-pytest.git
revision: 740a73ec197ca081ad156c86d39205097d9c5ddc0cefedc57798e34c0d872070
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-12-12 05:51:03.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ v2.4.0.tar.gz -> v2.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pygments-pytest-2.4.0/.github/workflows/main.yml 
new/pygments-pytest-2.5.0/.github/workflows/main.yml
--- old/pygments-pytest-2.4.0/.github/workflows/main.yml        2023-10-30 
23:48:16.000000000 +0100
+++ new/pygments-pytest-2.5.0/.github/workflows/main.yml        2025-11-07 
22:26:51.000000000 +0100
@@ -8,6 +8,6 @@
 
 jobs:
   main:
-    uses: asottile/workflows/.github/workflows/[email protected]
+    uses: asottile/workflows/.github/workflows/[email protected]
     with:
-      env: '["py38", "py38-main", "py39-main"]'
+      env: '["py310", "py310-main", "py311-main"]'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pygments-pytest-2.4.0/.pre-commit-config.yaml 
new/pygments-pytest-2.5.0/.pre-commit-config.yaml
--- old/pygments-pytest-2.4.0/.pre-commit-config.yaml   2023-10-30 
23:48:16.000000000 +0100
+++ new/pygments-pytest-2.5.0/.pre-commit-config.yaml   2025-11-07 
22:26:51.000000000 +0100
@@ -23,19 +23,19 @@
     hooks:
     -   id: add-trailing-comma
 -   repo: https://github.com/asottile/pyupgrade
-    rev: v3.15.0
+    rev: v3.15.2
     hooks:
     -   id: pyupgrade
         args: [--py38-plus]
 -   repo: https://github.com/hhatto/autopep8
-    rev: v2.0.4
+    rev: v2.1.0
     hooks:
     -   id: autopep8
 -   repo: https://github.com/PyCQA/flake8
-    rev: 6.1.0
+    rev: 7.0.0
     hooks:
     -   id: flake8
 -   repo: https://github.com/pre-commit/mirrors-mypy
-    rev: v1.6.1
+    rev: v1.9.0
     hooks:
     -   id: mypy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pygments-pytest-2.4.0/README.md 
new/pygments-pytest-2.5.0/README.md
--- old/pygments-pytest-2.4.0/README.md 2023-10-30 23:48:16.000000000 +0100
+++ new/pygments-pytest-2.5.0/README.md 2025-11-07 22:26:51.000000000 +0100
@@ -1,5 +1,5 @@
 [![build 
status](https://github.com/asottile/pygments-pytest/actions/workflows/main.yml/badge.svg)](https://github.com/asottile/pygments-pytest/actions/workflows/main.yml)
-[![Build 
Status](https://github.com/asottile/pygments-pytest/workflows/deploy/badge.svg)](https://github.com/asottile/pygments-pytest/actions)
+[![Build 
Status](https://github.com/asottile/pygments-pytest/actions/workflows/deploy.yml/badge.svg)](https://github.com/asottile/pygments-pytest/actions)
 [![pre-commit.ci 
status](https://results.pre-commit.ci/badge/github/asottile/pygments-pytest/main.svg)](https://results.pre-commit.ci/latest/github/asottile/pygments-pytest/main)
 
 pygments-pytest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pygments-pytest-2.4.0/pygments_pytest.py 
new/pygments-pytest-2.5.0/pygments_pytest.py
--- old/pygments-pytest-2.4.0/pygments_pytest.py        2023-10-30 
23:48:16.000000000 +0100
+++ new/pygments-pytest-2.5.0/pygments_pytest.py        2025-11-07 
22:26:51.000000000 +0100
@@ -50,6 +50,7 @@
         for k, color in (
                 ('failed', Color.Red),
                 ('passed', Color.Green),
+                ('subpassed', Color.Green),
                 ('skipped', Color.Yellow),
                 ('deselected', Color.Yellow),
                 ('xfailed', Color.Yellow),
@@ -89,6 +90,7 @@
                 r'^(?P<before>=+ )?'
                 r'(?P<failed>\d+ failed)?(?P<failedcomma>, )?'
                 r'(?P<passed>\d+ passed)?(?P<passedcomma>, )?'
+                r'(?P<subpassed>\d+ subtests passed)?(?P<subpassedcomma>, )?'
                 r'(?P<skipped>\d+ skipped)?(?P<skippedcomma>, )?'
                 r'(?P<deselected>\d+ deselected)?(?P<deselectedcomma>, )?'
                 r'(?P<xfailed>\d+ xfailed)?(?P<xfailedcomma>, )?'
@@ -104,6 +106,7 @@
         ],
         'progress_line': [
             (r'^[^ ]+ (?=[^ \n]+(?: \(.+\))? +\[)', pygments.token.Text),
+            (r'SUBPASSED\([^)]+\)|u', Color.Green),
             (r'PASSED|\.', Color.Green),
             (r' +', pygments.token.Text),
             (r'\n', pygments.token.Text, '#pop'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pygments-pytest-2.4.0/setup.cfg 
new/pygments-pytest-2.5.0/setup.cfg
--- old/pygments-pytest-2.4.0/setup.cfg 2023-10-30 23:48:16.000000000 +0100
+++ new/pygments-pytest-2.5.0/setup.cfg 2025-11-07 22:26:51.000000000 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = pygments_pytest
-version = 2.4.0
+version = 2.5.0
 description = A pygments lexer for pytest output.
 long_description = file: README.md
 long_description_content_type = text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pygments-pytest-2.4.0/tests/pygments_pytest_test.py 
new/pygments-pytest-2.5.0/tests/pygments_pytest_test.py
--- old/pygments-pytest-2.4.0/tests/pygments_pytest_test.py     2023-10-30 
23:48:16.000000000 +0100
+++ new/pygments-pytest-2.5.0/tests/pygments_pytest_test.py     2025-11-07 
22:26:51.000000000 +0100
@@ -82,6 +82,7 @@
     compare('def test(): pass')
 
 
[email protected](reason='no output for a warning but the [...%] is yellow')
 def test_warnings(compare):
     compare(
         'import warnings\n'
@@ -90,6 +91,16 @@
     )
 
 
[email protected](reason='unreleased feature')
+def test_subtests(compare):
+    compare(
+        'def test(subtests):\n'
+        '    for i in range(5):\n'
+        '        with subtests.test():\n'
+        '            pass\n',
+    )
+
+
 DIFFERENT_TYPES_SRC = '''\
 import warnings
 import pytest

Reply via email to