Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pygments-ansi-color for openSUSE:Factory checked in at 2023-05-11 12:31:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygments-ansi-color (Old) and /work/SRC/openSUSE:Factory/.python-pygments-ansi-color.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygments-ansi-color" Thu May 11 12:31:28 2023 rev:6 rq:1085968 version:0.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygments-ansi-color/python-pygments-ansi-color.changes 2023-04-22 21:58:40.384575292 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygments-ansi-color.new.1533/python-pygments-ansi-color.changes 2023-05-11 12:31:30.850121556 +0200 @@ -1,0 +2,7 @@ +Wed May 10 06:21:02 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.2.0: + * Implementation of bright colors + * documentation, CI, test fixes + +------------------------------------------------------------------- Old: ---- v0.1.0.tar.gz New: ---- v0.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygments-ansi-color.spec ++++++ --- /var/tmp/diff_new_pack.acRvpI/_old 2023-05-11 12:31:31.394124230 +0200 +++ /var/tmp/diff_new_pack.acRvpI/_new 2023-05-11 12:31:31.398124250 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-pygments-ansi-color -Version: 0.1.0 +Version: 0.2.0 Release: 0 Summary: ANSI color-code highlighting for Pygments License: Apache-2.0 ++++++ v0.1.0.tar.gz -> v0.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-ansi-color-0.1.0/.pre-commit-config.yaml new/pygments-ansi-color-0.2.0/.pre-commit-config.yaml --- old/pygments-ansi-color-0.1.0/.pre-commit-config.yaml 2022-09-14 01:40:08.000000000 +0200 +++ new/pygments-ansi-color-0.2.0/.pre-commit-config.yaml 2023-02-22 20:03:20.000000000 +0100 @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -13,15 +13,15 @@ - id: check-added-large-files - id: check-byte-order-marker - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.7.0 + rev: v2.0.1 hooks: - id: autopep8 -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 +- repo: https://github.com/PyCQA/flake8 + rev: 6.0.0 hooks: - id: flake8 - repo: https://github.com/asottile/reorder_python_imports - rev: v3.8.2 + rev: v3.9.0 hooks: - id: reorder-python-imports args: [ @@ -29,12 +29,12 @@ '--add-import', 'from __future__ import annotations', ] - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v3.3.1 hooks: - id: pyupgrade args: ['--py37-plus'] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.2.3 + rev: v2.4.0 hooks: - id: add-trailing-comma args: ['--py36-plus'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-ansi-color-0.1.0/README.md new/pygments-ansi-color-0.2.0/README.md --- old/pygments-ansi-color-0.1.0/README.md 2022-09-14 01:40:08.000000000 +0200 +++ new/pygments-ansi-color-0.2.0/README.md 2023-02-22 20:03:20.000000000 +0100 @@ -37,7 +37,15 @@ 'Blue': '#3465A4', 'Magenta': '#c509c5', 'Cyan': '#34E2E2', - 'White': '#ffffff', + 'White': '#F5F5F5', + 'BrightBlack': '#676767', + 'BrightRed': '#FF6D67', + 'BrightGreen': '#5FF967', + 'BrightYellow': '#FEFB67', + 'BrightBlue': '#6871FF', + 'BrightMagenta': '#FF76FF', + 'BrightCyan': '#5FFDFF', + 'BrightWhite': '#FEFFFF', } class MyStyle(pygments.styles.xcode.XcodeStyle): styles = dict(pygments.styles.xcode.XcodeStyle.styles) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-ansi-color-0.1.0/mypy.ini new/pygments-ansi-color-0.2.0/mypy.ini --- old/pygments-ansi-color-0.1.0/mypy.ini 2022-09-14 01:40:08.000000000 +0200 +++ new/pygments-ansi-color-0.2.0/mypy.ini 2023-02-22 20:03:20.000000000 +0100 @@ -3,6 +3,5 @@ disallow_any_generics = true disallow_incomplete_defs = true disallow_untyped_defs = true -no_implicit_optional = true warn_redundant_casts = true warn_unused_ignores = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-ansi-color-0.1.0/pygments_ansi_color/__init__.py new/pygments-ansi-color-0.2.0/pygments_ansi_color/__init__.py --- old/pygments-ansi-color-0.1.0/pygments_ansi_color/__init__.py 2022-09-14 01:40:08.000000000 +0200 +++ new/pygments-ansi-color-0.2.0/pygments_ansi_color/__init__.py 2023-02-22 20:03:20.000000000 +0100 @@ -22,6 +22,14 @@ 5: 'Magenta', 6: 'Cyan', 7: 'White', + 60: 'BrightBlack', + 61: 'BrightRed', + 62: 'BrightGreen', + 63: 'BrightYellow', + 64: 'BrightBlue', + 65: 'BrightMagenta', + 66: 'BrightCyan', + 67: 'BrightWhite', } _256_colors = { @@ -122,7 +130,15 @@ 'Blue': '#3465A4', 'Magenta': '#c509c5', 'Cyan': '#34E2E2', - 'White': '#ffffff', + 'White': '#F5F5F5', + 'BrightBlack': '#676767', + 'BrightRed': '#FF6D67', + 'BrightGreen': '#5FF967', + 'BrightYellow': '#FEFB67', + 'BrightBlue': '#6871FF', + 'BrightMagenta': '#FF76FF', + 'BrightCyan': '#5FFDFF', + 'BrightWhite': '#FEFFFF', } class MyStyle(pygments.styles.SomeStyle): styles = dict(pygments.styles.SomeStyle.styles) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-ansi-color-0.1.0/setup.py new/pygments-ansi-color-0.2.0/setup.py --- old/pygments-ansi-color-0.1.0/setup.py 2022-09-14 01:40:08.000000000 +0200 +++ new/pygments-ansi-color-0.2.0/setup.py 2023-02-22 20:03:20.000000000 +0100 @@ -5,7 +5,7 @@ setup( name='pygments-ansi-color', - version='0.1.0', + version='0.2.0', classifiers=[ 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-ansi-color-0.1.0/tests/pygments_ansi_color_test.py new/pygments-ansi-color-0.2.0/tests/pygments_ansi_color_test.py --- old/pygments-ansi-color-0.1.0/tests/pygments_ansi_color_test.py 2022-09-14 01:40:08.000000000 +0200 +++ new/pygments-ansi-color-0.2.0/tests/pygments_ansi_color_test.py 2023-02-22 20:03:20.000000000 +0100 @@ -94,6 +94,9 @@ '\x1b[1mbold text\n' '\x1b[43mbold from previous line with yellow bg\n' '\x1b[49mbg color turned off\n' + '\x1b[92mfg bright green\n' + '\x1b[101mbg bright red\n' + '\x1b[39;49mcolors turned off\n' '\x1b[2mfaint turned on\n' '\x1b[22mbold turned off\n', ) == ( @@ -105,6 +108,9 @@ (Color.Bold, 'bold text\n'), (Color.Bold.BGYellow, 'bold from previous line with yellow bg\n'), (Color.Bold, 'bg color turned off\n'), + (Color.Bold.BrightGreen, 'fg bright green\n'), + (Color.Bold.BrightGreen.BGBrightRed, 'bg bright red\n'), + (Color.Bold, 'colors turned off\n'), (Color.Bold.Faint, 'faint turned on\n'), (Text, 'bold turned off\n'), ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-ansi-color-0.1.0/tox.ini new/pygments-ansi-color-0.2.0/tox.ini --- old/pygments-ansi-color-0.1.0/tox.ini 2022-09-14 01:40:08.000000000 +0200 +++ new/pygments-ansi-color-0.2.0/tox.ini 2023-02-22 20:03:20.000000000 +0100 @@ -1,11 +1,10 @@ [tox] -envlist = py39 +envlist = py tox_pip_extensions_ext_venv_update = true tox_pip_extensions_ext_pip_custom_platform = true [testenv] deps = -rrequirements-dev.txt -passenv = HOME SSH_AUTH_SOCK USER commands = coverage erase coverage run -m pytest {posargs:tests}