Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-termcolor for 
openSUSE:Factory checked in at 2026-02-25 21:10:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-termcolor (Old)
 and      /work/SRC/openSUSE:Factory/.python-termcolor.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-termcolor"

Wed Feb 25 21:10:45 2026 rev:18 rq:1335002 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-termcolor/python-termcolor.changes        
2025-12-01 11:14:32.821619476 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-termcolor.new.1977/python-termcolor.changes  
    2026-02-25 21:11:16.467911739 +0100
@@ -1,0 +2,6 @@
+Tue Feb 24 15:14:20 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 3.3.0
+  * Add support for italic (#128) @hugovk
+
+-------------------------------------------------------------------

Old:
----
  termcolor-3.2.0.tar.gz

New:
----
  termcolor-3.3.0.tar.gz

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

Other differences:
------------------
++++++ python-termcolor.spec ++++++
--- /var/tmp/diff_new_pack.6NRLIX/_old  2026-02-25 21:11:17.011934203 +0100
+++ /var/tmp/diff_new_pack.6NRLIX/_new  2026-02-25 21:11:17.011934203 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-termcolor
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-termcolor
-Version:        3.2.0
+Version:        3.3.0
 Release:        0
 Summary:        ANSII Color formatting for output in terminal
 License:        MIT

++++++ termcolor-3.2.0.tar.gz -> termcolor-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/.github/renovate.json 
new/termcolor-3.3.0/.github/renovate.json
--- old/termcolor-3.2.0/.github/renovate.json   2025-10-25 18:17:06.000000000 
+0200
+++ new/termcolor-3.3.0/.github/renovate.json   2025-12-29 13:08:59.000000000 
+0100
@@ -2,6 +2,7 @@
   "$schema": "https://docs.renovatebot.com/renovate-schema.json";,
   "extends": ["config:base", ":semanticCommitsDisabled"],
   "labels": ["changelog: skip", "dependencies"],
+  "minimumReleaseAge": "7 days",
   "packageRules": [
     {
       "groupName": "github-actions",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/.github/workflows/deploy.yml 
new/termcolor-3.3.0/.github/workflows/deploy.yml
--- old/termcolor-3.2.0/.github/workflows/deploy.yml    2025-10-25 
18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/.github/workflows/deploy.yml    2025-12-29 
13:08:59.000000000 +0100
@@ -23,7 +23,7 @@
     runs-on: ubuntu-latest
 
     steps:
-      - uses: actions/checkout@v5
+      - uses: actions/checkout@v6
         with:
           fetch-depth: 0
           persist-credentials: false
@@ -45,7 +45,7 @@
 
     steps:
       - name: Download packages built by build-and-inspect-python-package
-        uses: actions/download-artifact@v5
+        uses: actions/download-artifact@v6
         with:
           name: Packages
           path: dist
@@ -69,7 +69,7 @@
 
     steps:
       - name: Download packages built by build-and-inspect-python-package
-        uses: actions/download-artifact@v5
+        uses: actions/download-artifact@v6
         with:
           name: Packages
           path: dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/.github/workflows/labels.yml 
new/termcolor-3.3.0/.github/workflows/labels.yml
--- old/termcolor-3.2.0/.github/workflows/labels.yml    2025-10-25 
18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/.github/workflows/labels.yml    2025-12-29 
13:08:59.000000000 +0100
@@ -14,7 +14,7 @@
       pull-requests: write
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v5
+      - uses: actions/checkout@v6
         with:
           persist-credentials: false
       - uses: micnncim/action-label-syncer@v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/.github/workflows/lint.yml 
new/termcolor-3.3.0/.github/workflows/lint.yml
--- old/termcolor-3.2.0/.github/workflows/lint.yml      2025-10-25 
18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/.github/workflows/lint.yml      2025-12-29 
13:08:59.000000000 +0100
@@ -13,7 +13,7 @@
     runs-on: ubuntu-latest
 
     steps:
-      - uses: actions/checkout@v5
+      - uses: actions/checkout@v6
         with:
           persist-credentials: false
       - uses: actions/setup-python@v6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/.github/workflows/test.yml 
new/termcolor-3.3.0/.github/workflows/test.yml
--- old/termcolor-3.2.0/.github/workflows/test.yml      2025-10-25 
18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/.github/workflows/test.yml      2025-12-29 
13:08:59.000000000 +0100
@@ -28,7 +28,7 @@
         os: [windows-latest, macos-latest, ubuntu-latest]
 
     steps:
-      - uses: actions/checkout@v5
+      - uses: actions/checkout@v6
         with:
           persist-credentials: false
 
@@ -44,7 +44,7 @@
           echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
 
       - name: Install uv
-        uses: astral-sh/setup-uv@v6
+        uses: astral-sh/setup-uv@v7
 
       - name: Tox tests
         run: |
@@ -55,8 +55,6 @@
         with:
           flags: ${{ matrix.os }}
           name: ${{ matrix.os }} Python ${{ matrix.python-version }}
-        env:
-          CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}
 
   success:
     needs: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/PKG-INFO new/termcolor-3.3.0/PKG-INFO
--- old/termcolor-3.2.0/PKG-INFO        2025-10-25 18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/PKG-INFO        2025-12-29 13:08:59.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: termcolor
-Version: 3.2.0
+Version: 3.3.0
 Summary: ANSI color formatting for output in terminal
 Project-URL: Changelog, https://github.com/termcolor/termcolor/releases
 Project-URL: Homepage, https://github.com/termcolor/termcolor
@@ -97,12 +97,12 @@
 | --------------- | ------------------ | ----------- |
 | `black`         | `on_black`         | `bold`      |
 | `red`           | `on_red`           | `dark`      |
-| `green`         | `on_green`         | `underline` |
-| `yellow`        | `on_yellow`        | `blink`     |
-| `blue`          | `on_blue`          | `reverse`   |
-| `magenta`       | `on_magenta`       | `concealed` |
-| `cyan`          | `on_cyan`          | `strike`    |
-| `white`         | `on_white`         |             |
+| `green`         | `on_green`         | `italic`    |
+| `yellow`        | `on_yellow`        | `underline` |
+| `blue`          | `on_blue`          | `blink`     |
+| `magenta`       | `on_magenta`       | `reverse`   |
+| `cyan`          | `on_cyan`          | `concealed` |
+| `white`         | `on_white`         | `strike`    |
 | `light_grey`    | `on_light_grey`    |             |
 | `dark_grey`     | `on_dark_grey`     |             |
 | `light_red`     | `on_light_red`     |             |
@@ -117,18 +117,18 @@
 
 ## Terminal properties
 
-| Terminal     | bold    | dark | underline | blink      | reverse | concealed 
|
-| ------------ | ------- | ---- | --------- | ---------- | ------- | --------- 
|
-| xterm        | yes     | no   | yes       | bold       | yes     | yes       
|
-| linux        | yes     | yes  | bold      | yes        | yes     | no        
|
-| rxvt         | yes     | no   | yes       | bold/black | yes     | no        
|
-| dtterm       | yes     | yes  | yes       | reverse    | yes     | yes       
|
-| teraterm     | reverse | no   | yes       | rev/red    | yes     | no        
|
-| aixterm      | normal  | no   | yes       | no         | yes     | yes       
|
-| PuTTY        | color   | no   | yes       | no         | yes     | no        
|
-| Windows      | no      | no   | no        | no         | yes     | no        
|
-| Cygwin SSH   | yes     | no   | color     | color      | color   | yes       
|
-| Mac Terminal | yes     | no   | yes       | yes        | yes     | yes       
|
+| Terminal     | bold    | dark | italic | underline | blink      | reverse | 
concealed |
+| ------------ | ------- | ---- | ------ | --------- | ---------- | ------- | 
--------- |
+| xterm        | yes     | no   | yes    | yes       | bold       | yes     | 
yes       |
+| linux        | yes     | yes  | color  | bold      | yes        | yes     | 
no        |
+| rxvt         | yes     | no   | yes    | yes       | bold/black | yes     | 
no        |
+| dtterm       | yes     | yes  | ?      | yes       | reverse    | yes     | 
yes       |
+| teraterm     | reverse | no   | ?      | yes       | rev/red    | yes     | 
no        |
+| aixterm      | normal  | no   | ?      | yes       | no         | yes     | 
yes       |
+| PuTTY        | color   | no   | no     | yes       | no         | yes     | 
no        |
+| Windows      | no      | no   | no     | no        | no         | yes     | 
no        |
+| Cygwin SSH   | yes     | no   | ?      | color     | color      | color   | 
yes       |
+| Mac Terminal | yes     | no   | yes    | yes       | yes        | yes     | 
yes       |
 
 ## Overrides
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/README.md 
new/termcolor-3.3.0/README.md
--- old/termcolor-3.2.0/README.md       2025-10-25 18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/README.md       2025-12-29 13:08:59.000000000 +0100
@@ -63,12 +63,12 @@
 | --------------- | ------------------ | ----------- |
 | `black`         | `on_black`         | `bold`      |
 | `red`           | `on_red`           | `dark`      |
-| `green`         | `on_green`         | `underline` |
-| `yellow`        | `on_yellow`        | `blink`     |
-| `blue`          | `on_blue`          | `reverse`   |
-| `magenta`       | `on_magenta`       | `concealed` |
-| `cyan`          | `on_cyan`          | `strike`    |
-| `white`         | `on_white`         |             |
+| `green`         | `on_green`         | `italic`    |
+| `yellow`        | `on_yellow`        | `underline` |
+| `blue`          | `on_blue`          | `blink`     |
+| `magenta`       | `on_magenta`       | `reverse`   |
+| `cyan`          | `on_cyan`          | `concealed` |
+| `white`         | `on_white`         | `strike`    |
 | `light_grey`    | `on_light_grey`    |             |
 | `dark_grey`     | `on_dark_grey`     |             |
 | `light_red`     | `on_light_red`     |             |
@@ -83,18 +83,18 @@
 
 ## Terminal properties
 
-| Terminal     | bold    | dark | underline | blink      | reverse | concealed 
|
-| ------------ | ------- | ---- | --------- | ---------- | ------- | --------- 
|
-| xterm        | yes     | no   | yes       | bold       | yes     | yes       
|
-| linux        | yes     | yes  | bold      | yes        | yes     | no        
|
-| rxvt         | yes     | no   | yes       | bold/black | yes     | no        
|
-| dtterm       | yes     | yes  | yes       | reverse    | yes     | yes       
|
-| teraterm     | reverse | no   | yes       | rev/red    | yes     | no        
|
-| aixterm      | normal  | no   | yes       | no         | yes     | yes       
|
-| PuTTY        | color   | no   | yes       | no         | yes     | no        
|
-| Windows      | no      | no   | no        | no         | yes     | no        
|
-| Cygwin SSH   | yes     | no   | color     | color      | color   | yes       
|
-| Mac Terminal | yes     | no   | yes       | yes        | yes     | yes       
|
+| Terminal     | bold    | dark | italic | underline | blink      | reverse | 
concealed |
+| ------------ | ------- | ---- | ------ | --------- | ---------- | ------- | 
--------- |
+| xterm        | yes     | no   | yes    | yes       | bold       | yes     | 
yes       |
+| linux        | yes     | yes  | color  | bold      | yes        | yes     | 
no        |
+| rxvt         | yes     | no   | yes    | yes       | bold/black | yes     | 
no        |
+| dtterm       | yes     | yes  | ?      | yes       | reverse    | yes     | 
yes       |
+| teraterm     | reverse | no   | ?      | yes       | rev/red    | yes     | 
no        |
+| aixterm      | normal  | no   | ?      | yes       | no         | yes     | 
yes       |
+| PuTTY        | color   | no   | no     | yes       | no         | yes     | 
no        |
+| Windows      | no      | no   | no     | no        | no         | yes     | 
no        |
+| Cygwin SSH   | yes     | no   | ?      | color     | color      | color   | 
yes       |
+| Mac Terminal | yes     | no   | yes    | yes       | yes        | yes     | 
yes       |
 
 ## Overrides
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/pyproject.toml 
new/termcolor-3.3.0/pyproject.toml
--- old/termcolor-3.2.0/pyproject.toml  2025-10-25 18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/pyproject.toml  2025-12-29 13:08:59.000000000 +0100
@@ -85,13 +85,13 @@
   "E226",   # Missing whitespace around arithmetic operator
   "E241",   # Multiple spaces after ','
   "PIE790", # flake8-pie: unnecessary-placeholder
-  "UP038",  # Makes code slower and more verbose
 ]
 lint.flake8-import-conventions.aliases.datetime = "dt"
 lint.flake8-import-conventions.banned-from = [ "datetime" ]
 lint.flake8-pytest-style.parametrize-names-type = "csv"
 lint.isort.known-first-party = [ "termcolor" ]
 lint.isort.required-imports = [ "from __future__ import annotations" ]
+lint.future-annotations = true
 
 [tool.pyproject-fmt]
 max_supported_python = "3.15"
@@ -102,7 +102,7 @@
 [tool.coverage.run]
 branch = true
 omit = [
-  "*/termcolor/__main__.py",
+  "**/__main__.py",
 ]
 
 [tool.coverage.html]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/src/termcolor/__main__.py 
new/termcolor-3.3.0/src/termcolor/__main__.py
--- old/termcolor-3.2.0/src/termcolor/__main__.py       2025-10-25 
18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/src/termcolor/__main__.py       2025-12-29 
13:08:59.000000000 +0100
@@ -47,6 +47,7 @@
     print("Test attributes:")
     cprint("Bold black color", "black", attrs=["bold"])
     cprint("Dark red color", "red", attrs=["dark"])
+    cprint("Italic blue color", "blue", attrs=["italic"])
     cprint("Underline green color", "green", attrs=["underline"])
     cprint("Blink yellow color", "yellow", attrs=["blink"])
     cprint("Reversed blue color", "blue", attrs=["reverse"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/src/termcolor/termcolor.py 
new/termcolor-3.3.0/src/termcolor/termcolor.py
--- old/termcolor-3.2.0/src/termcolor/termcolor.py      2025-10-25 
18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/src/termcolor/termcolor.py      2025-12-29 
13:08:59.000000000 +0100
@@ -24,7 +24,6 @@
 
 from __future__ import annotations
 
-import io
 import os
 import sys
 from functools import cache
@@ -38,6 +37,7 @@
 ATTRIBUTES: dict[str, int] = {
     "bold": 1,
     "dark": 2,
+    "italic": 3,
     "underline": 4,
     "blink": 5,
     "reverse": 7,
@@ -121,7 +121,7 @@
 
     try:
         return os.isatty(sys.stdout.fileno())
-    except io.UnsupportedOperation:
+    except OSError:
         return sys.stdout.isatty()
 
 
@@ -150,7 +150,7 @@
     be specified via a tuple of 0-255 ints (R, G, B).
 
     Available attributes:
-        bold, dark, underline, blink, reverse, concealed.
+        bold, dark, italic, underline, blink, reverse, concealed, strike.
 
     Example:
         colored('Hello, World!', 'red', 'on_black', ['bold', 'blink'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/tests/test_termcolor.py 
new/termcolor-3.3.0/tests/test_termcolor.py
--- old/termcolor-3.2.0/tests/test_termcolor.py 2025-10-25 18:17:06.000000000 
+0200
+++ new/termcolor-3.3.0/tests/test_termcolor.py 2025-12-29 13:08:59.000000000 
+0100
@@ -1,6 +1,5 @@
 from __future__ import annotations
 
-import io
 import os
 
 import pytest
@@ -153,6 +152,7 @@
     [
         ("bold", "\x1b[1mtext\x1b[0m"),
         ("dark", "\x1b[2mtext\x1b[0m"),
+        ("italic", "\x1b[3mtext\x1b[0m"),
         ("underline", "\x1b[4mtext\x1b[0m"),
         ("blink", "\x1b[5mtext\x1b[0m"),
         ("reverse", "\x1b[7mtext\x1b[0m"),
@@ -348,7 +348,7 @@
     # Arrange
     class MockStdout:
         def fileno(self) -> None:
-            raise io.UnsupportedOperation()
+            raise OSError
 
         def isatty(self) -> bool:
             return test_isatty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/termcolor-3.2.0/tox.ini new/termcolor-3.3.0/tox.ini
--- old/termcolor-3.2.0/tox.ini 2025-10-25 18:17:06.000000000 +0200
+++ new/termcolor-3.3.0/tox.ini 2025-12-29 13:08:59.000000000 +0100
@@ -24,11 +24,9 @@
 [testenv:lint]
 skip_install = true
 deps =
-    pre-commit-uv
-pass_env =
-    PRE_COMMIT_COLOR
+    prek
 commands =
-    pre-commit run --all-files --show-diff-on-failure
+    prek run --all-files --show-diff-on-failure
 
 [testenv:mutmut]
 deps =

Reply via email to