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 2024-01-08 23:44:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygments-pytest (Old) and /work/SRC/openSUSE:Factory/.python-pygments-pytest.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygments-pytest" Mon Jan 8 23:44:17 2024 rev:11 rq:1137443 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygments-pytest/python-pygments-pytest.changes 2023-04-24 22:30:46.927356877 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygments-pytest.new.21961/python-pygments-pytest.changes 2024-01-08 23:44:33.224766279 +0100 @@ -1,0 +2,6 @@ +Sun Jan 7 20:53:30 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 2.4.0: + * drop python 3.8 support + +------------------------------------------------------------------- Old: ---- v2.3.0.tar.gz New: ---- v2.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygments-pytest.spec ++++++ --- /var/tmp/diff_new_pack.qPfCHP/_old 2024-01-08 23:44:34.232802930 +0100 +++ /var/tmp/diff_new_pack.qPfCHP/_new 2024-01-08 23:44:34.236803075 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pygments-pytest # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,9 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-pygments-pytest -Version: 2.3.0 +Version: 2.4.0 Release: 0 Summary: A pygments lexer for pytest output License: MIT ++++++ v2.3.0.tar.gz -> v2.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-pytest-2.3.0/.github/workflows/deploy.yml new/pygments-pytest-2.4.0/.github/workflows/deploy.yml --- old/pygments-pytest-2.3.0/.github/workflows/deploy.yml 2022-10-25 16:52:06.000000000 +0200 +++ new/pygments-pytest-2.4.0/.github/workflows/deploy.yml 2023-10-30 23:48:16.000000000 +0100 @@ -7,8 +7,10 @@ pr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x - run: pip install tox - run: tox -e push env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-pytest-2.3.0/.github/workflows/main.yml new/pygments-pytest-2.4.0/.github/workflows/main.yml --- old/pygments-pytest-2.3.0/.github/workflows/main.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/pygments-pytest-2.4.0/.github/workflows/main.yml 2023-10-30 23:48:16.000000000 +0100 @@ -0,0 +1,13 @@ +name: main + +on: + push: + branches: [main, test-me-*] + tags: '*' + pull_request: + +jobs: + main: + uses: asottile/workflows/.github/workflows/tox.yml@v1.5.0 + with: + env: '["py38", "py38-main", "py39-main"]' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-pytest-2.3.0/.pre-commit-config.yaml new/pygments-pytest-2.4.0/.pre-commit-config.yaml --- old/pygments-pytest-2.3.0/.pre-commit-config.yaml 2022-10-25 16:52:06.000000000 +0200 +++ new/pygments-pytest-2.4.0/.pre-commit-config.yaml 2023-10-30 23:48:16.000000000 +0100 @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,33 +10,32 @@ - id: name-tests-test - id: requirements-txt-fixer - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.1.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt -- repo: https://github.com/asottile/reorder_python_imports - rev: v3.8.5 +- repo: https://github.com/asottile/reorder-python-imports + rev: v3.12.0 hooks: - id: reorder-python-imports - args: [--py37-plus, --add-import, 'from __future__ import annotations'] + args: [--py38-plus, --add-import, 'from __future__ import annotations'] - repo: https://github.com/asottile/add-trailing-comma - rev: v2.3.0 + rev: v3.1.0 hooks: - id: add-trailing-comma - args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade - rev: v3.1.0 + rev: v3.15.0 hooks: - id: pyupgrade - args: [--py37-plus] -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.7.0 + args: [--py38-plus] +- repo: https://github.com/hhatto/autopep8 + rev: v2.0.4 hooks: - id: autopep8 - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.982 + rev: v1.6.1 hooks: - id: mypy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-pytest-2.3.0/README.md new/pygments-pytest-2.4.0/README.md --- old/pygments-pytest-2.3.0/README.md 2022-10-25 16:52:06.000000000 +0200 +++ new/pygments-pytest-2.4.0/README.md 2023-10-30 23:48:16.000000000 +0100 @@ -1,5 +1,4 @@ -[](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=47&branchName=main) -[](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=47&branchName=main) +[](https://github.com/asottile/pygments-pytest/actions/workflows/main.yml) [](https://github.com/asottile/pygments-pytest/actions) [](https://results.pre-commit.ci/latest/github/asottile/pygments-pytest/main) @@ -13,7 +12,9 @@ ## Installation -`pip install pygments-pytest` +```bash +pip install pygments-pytest +``` ## Usage diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-pytest-2.3.0/azure-pipelines.yml new/pygments-pytest-2.4.0/azure-pipelines.yml --- old/pygments-pytest-2.3.0/azure-pipelines.yml 2022-10-25 16:52:06.000000000 +0200 +++ new/pygments-pytest-2.4.0/azure-pipelines.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -trigger: - branches: - include: [main, test-me-*] - tags: - include: ['*'] - -resources: - repositories: - - repository: asottile - type: github - endpoint: github - name: asottile/azure-pipeline-templates - ref: refs/tags/v2.4.0 - -jobs: -- template: job--python-tox.yml@asottile - parameters: - toxenvs: [py37, py38, py38-main] - os: linux diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-pytest-2.3.0/pygments_pytest.py new/pygments-pytest-2.4.0/pygments_pytest.py --- old/pygments-pytest-2.3.0/pygments_pytest.py 2022-10-25 16:52:06.000000000 +0200 +++ new/pygments-pytest-2.4.0/pygments_pytest.py 2023-10-30 23:48:16.000000000 +0100 @@ -185,7 +185,7 @@ ) -def setup(app: Any) -> None: # pragma: no cover (sphinx) +def setup(app: Any) -> dict[str, object]: # pragma: no cover (sphinx) def copy_stylesheet(app: Any, exception: Exception | None) -> None: if exception: return @@ -199,3 +199,7 @@ app.add_config_value('pygments_pytest_ansi_colors', {}, 'html') app.add_css_file('pygments_pytest.css') app.connect('build-finished', copy_stylesheet) + return { + 'parallel_read_safe': True, + 'parallel_write_safe': True, + } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pygments-pytest-2.3.0/setup.cfg new/pygments-pytest-2.4.0/setup.cfg --- old/pygments-pytest-2.3.0/setup.cfg 2022-10-25 16:52:06.000000000 +0200 +++ new/pygments-pytest-2.4.0/setup.cfg 2023-10-30 23:48:16.000000000 +0100 @@ -1,6 +1,6 @@ [metadata] name = pygments_pytest -version = 2.3.0 +version = 2.4.0 description = A pygments lexer for pytest output. long_description = file: README.md long_description_content_type = text/markdown @@ -8,7 +8,7 @@ author = Anthony Sottile author_email = asott...@umich.edu license = MIT -license_file = LICENSE +license_files = LICENSE classifiers = License :: OSI Approved :: MIT License Programming Language :: Python :: 3 @@ -20,7 +20,7 @@ py_modules = pygments_pytest install_requires = pygments -python_requires = >=3.7 +python_requires = >=3.8 [options.entry_points] pygments.lexers = @@ -37,7 +37,6 @@ 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-pytest-2.3.0/tox.ini new/pygments-pytest-2.4.0/tox.ini --- old/pygments-pytest-2.3.0/tox.ini 2022-10-25 16:52:06.000000000 +0200 +++ new/pygments-pytest-2.4.0/tox.ini 2023-10-30 23:48:16.000000000 +0100 @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,pypy3,py38-main,pre-commit +envlist = py,py38-main,pre-commit [testenv] deps = -rrequirements-dev.txt @@ -19,10 +19,12 @@ commands = pre-commit run --all-files --show-diff-on-failure [testenv:push] -passenv = GITHUB_* GH_TOKEN +passenv = + GITHUB_* + GH_TOKEN commands = {[testenv]commands} - {toxinidir}/testing/make-index + python {toxinidir}/testing/make-index markdown-to-presentation push index.html demo [pep8]