Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jaraco.test for openSUSE:Factory checked in at 2026-08-26 19:51:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jaraco.test (Old) and /work/SRC/openSUSE:Factory/.python-jaraco.test.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jaraco.test" Wed Aug 26 19:51:26 2026 rev:10 rq:1373644 version:5.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jaraco.test/python-jaraco.test.changes 2026-04-14 17:48:45.392623508 +0200 +++ /work/SRC/openSUSE:Factory/.python-jaraco.test.new.1258/python-jaraco.test.changes 2026-08-26 19:52:15.073621990 +0200 @@ -1,0 +2,8 @@ +Tue Aug 25 15:15:46 UTC 2026 - Dirk Müller <[email protected]> + +- update to 5.7.0: + * Added ensure_checkout fixture in jaraco.test.git to skip a + test unless the project is a git checkout with an origin + remote. + +------------------------------------------------------------------- Old: ---- jaraco_test-5.6.0.tar.gz New: ---- jaraco_test-5.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jaraco.test.spec ++++++ --- /var/tmp/diff_new_pack.4sPx79/_old 2026-08-26 19:52:15.777646855 +0200 +++ /var/tmp/diff_new_pack.4sPx79/_new 2026-08-26 19:52:15.779646926 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-jaraco.test -Version: 5.6.0 +Version: 5.7.0 Release: 0 Summary: Testing support by jaraco License: MIT ++++++ jaraco_test-5.6.0.tar.gz -> jaraco_test-5.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/.github/workflows/main.yml new/jaraco_test-5.7.0/.github/workflows/main.yml --- old/jaraco_test-5.6.0/.github/workflows/main.yml 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/.github/workflows/main.yml 2026-07-12 18:35:44.000000000 +0200 @@ -34,31 +34,31 @@ # https://blog.jaraco.com/efficient-use-of-ci-resources/ matrix: python: - - "3.9" + - "3.10" - "3.13" platform: - ubuntu-latest - macos-latest - windows-latest include: - - python: "3.10" - platform: ubuntu-latest - python: "3.11" platform: ubuntu-latest - python: "3.12" platform: ubuntu-latest - python: "3.14" platform: ubuntu-latest + - python: "3.15" + platform: ubuntu-latest - python: pypy3.10 platform: ubuntu-latest runs-on: ${{ matrix.platform }} - continue-on-error: ${{ matrix.python == '3.14' }} + continue-on-error: ${{ matrix.python == '3.15' }} steps: - uses: actions/checkout@v4 - name: Install build dependencies # Install dependencies for building packages on pre-release Pythons # jaraco/skeleton#161 - if: matrix.python == '3.14' && matrix.platform == 'ubuntu-latest' + if: matrix.python == '3.15' && matrix.platform == 'ubuntu-latest' run: | sudo apt update sudo apt install -y libxml2-dev libxslt-dev diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/.pre-commit-config.yaml new/jaraco_test-5.7.0/.pre-commit-config.yaml --- old/jaraco_test-5.6.0/.pre-commit-config.yaml 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/.pre-commit-config.yaml 2026-07-12 18:35:44.000000000 +0200 @@ -2,6 +2,6 @@ - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.12.0 hooks: - - id: ruff + - id: ruff-check args: [--fix, --unsafe-fixes] - id: ruff-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/LICENSE new/jaraco_test-5.7.0/LICENSE --- old/jaraco_test-5.6.0/LICENSE 2025-12-24 19:52:06.000000000 +0100 +++ new/jaraco_test-5.7.0/LICENSE 2026-07-12 18:36:05.000000000 +0200 @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 <copyright holders> +Copyright (c) 2026 <copyright holders> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/NEWS.rst new/jaraco_test-5.7.0/NEWS.rst --- old/jaraco_test-5.6.0/NEWS.rst 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/NEWS.rst 2026-07-12 18:35:44.000000000 +0200 @@ -1,3 +1,12 @@ +v5.7.0 +====== + +Features +-------- + +- Added ``ensure_checkout`` fixture in ``jaraco.test.git`` to skip a test unless the project is a git checkout with an ``origin`` remote. + + v5.6.0 ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/PKG-INFO new/jaraco_test-5.7.0/PKG-INFO --- old/jaraco_test-5.6.0/PKG-INFO 2025-12-24 19:52:06.603478200 +0100 +++ new/jaraco_test-5.7.0/PKG-INFO 2026-07-12 18:36:05.373783600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: jaraco.test -Version: 5.6.0 +Version: 5.7.0 Summary: Testing support by jaraco Author-email: "Jason R. Coombs" <[email protected]> License-Expression: MIT @@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Framework :: Pytest -Requires-Python: >=3.9 +Requires-Python: >=3.10 Description-Content-Type: text/x-rst License-File: LICENSE Requires-Dist: jaraco.functools @@ -25,15 +25,14 @@ Requires-Dist: furo; extra == "doc" Requires-Dist: sphinx-lint; extra == "doc" Provides-Extra: check -Requires-Dist: pytest-checkdocs>=2.4; extra == "check" +Requires-Dist: pytest-checkdocs>=2.14; extra == "check" Requires-Dist: pytest-ruff>=0.2.1; sys_platform != "cygwin" and extra == "check" Provides-Extra: cover Requires-Dist: pytest-cov; extra == "cover" Provides-Extra: enabler Requires-Dist: pytest-enabler>=3.4; extra == "enabler" Provides-Extra: type -Requires-Dist: pytest-mypy>=1.0.1; extra == "type" -Requires-Dist: mypy<1.19; platform_python_implementation == "PyPy" and extra == "type" +Requires-Dist: pytest-mypy>=1.0.1; platform_python_implementation != "PyPy" and extra == "type" Dynamic: license-file .. image:: https://img.shields.io/pypi/v/jaraco.test.svg @@ -52,7 +51,7 @@ .. image:: https://readthedocs.org/projects/jaracotest/badge/?version=latest :target: https://jaracotest.readthedocs.io/en/latest/?badge=latest -.. image:: https://img.shields.io/badge/skeleton-2025-informational +.. image:: https://img.shields.io/badge/skeleton-2026-informational :target: https://blog.jaraco.com/skeleton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/README.rst new/jaraco_test-5.7.0/README.rst --- old/jaraco_test-5.6.0/README.rst 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/README.rst 2026-07-12 18:35:44.000000000 +0200 @@ -14,7 +14,7 @@ .. image:: https://readthedocs.org/projects/jaracotest/badge/?version=latest :target: https://jaracotest.readthedocs.io/en/latest/?badge=latest -.. image:: https://img.shields.io/badge/skeleton-2025-informational +.. image:: https://img.shields.io/badge/skeleton-2026-informational :target: https://blog.jaraco.com/skeleton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/jaraco/test/git.py new/jaraco_test-5.7.0/jaraco/test/git.py --- old/jaraco_test-5.6.0/jaraco/test/git.py 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/jaraco/test/git.py 2026-07-12 18:35:44.000000000 +0200 @@ -4,6 +4,7 @@ import subprocess import pytest +from jaraco.context import ExceptionTrap def _resolve_git() -> str | None: @@ -28,3 +29,28 @@ >>> getfixture('ensure_git') """ _resolve_git() or pytest.skip("'git' command unavailable") + + +@ExceptionTrap((OSError, subprocess.CalledProcessError)).passes +def _has_origin() -> None: + """ + Is the current directory a git checkout with an 'origin' remote? + """ + subprocess.run( + ['git', 'remote', 'get-url', 'origin'], + capture_output=True, + check=True, + ) + + [email protected] +def ensure_checkout() -> None: + """ + Skip the test unless a git checkout with an 'origin' remote is present. + + Useful for doctests and tests that shell out to git and would + otherwise fail when run from a source tarball. + + >>> getfixture('ensure_checkout') + """ + _has_origin() or pytest.skip("requires a git checkout with an 'origin' remote") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/jaraco/test/http.py new/jaraco_test-5.7.0/jaraco/test/http.py --- old/jaraco_test-5.6.0/jaraco/test/http.py 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/jaraco/test/http.py 2026-07-12 18:35:44.000000000 +0200 @@ -8,16 +8,15 @@ @jaraco.functools.once -def has_internet() -> bool: +@ExceptionTrap().passes +def has_internet() -> None: """ Is this host able to reach the Internet? Return True if the internet appears reachable and False otherwise. """ - with ExceptionTrap() as trap: # type: ignore[no-untyped-call] # jaraco/jaraco.context#15 - urllib.request.urlopen('http://pypi.org') - return not trap + urllib.request.urlopen('http://pypi.org') def check_internet() -> None: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/jaraco.test.egg-info/PKG-INFO new/jaraco_test-5.7.0/jaraco.test.egg-info/PKG-INFO --- old/jaraco_test-5.6.0/jaraco.test.egg-info/PKG-INFO 2025-12-24 19:52:06.000000000 +0100 +++ new/jaraco_test-5.7.0/jaraco.test.egg-info/PKG-INFO 2026-07-12 18:36:05.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: jaraco.test -Version: 5.6.0 +Version: 5.7.0 Summary: Testing support by jaraco Author-email: "Jason R. Coombs" <[email protected]> License-Expression: MIT @@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Framework :: Pytest -Requires-Python: >=3.9 +Requires-Python: >=3.10 Description-Content-Type: text/x-rst License-File: LICENSE Requires-Dist: jaraco.functools @@ -25,15 +25,14 @@ Requires-Dist: furo; extra == "doc" Requires-Dist: sphinx-lint; extra == "doc" Provides-Extra: check -Requires-Dist: pytest-checkdocs>=2.4; extra == "check" +Requires-Dist: pytest-checkdocs>=2.14; extra == "check" Requires-Dist: pytest-ruff>=0.2.1; sys_platform != "cygwin" and extra == "check" Provides-Extra: cover Requires-Dist: pytest-cov; extra == "cover" Provides-Extra: enabler Requires-Dist: pytest-enabler>=3.4; extra == "enabler" Provides-Extra: type -Requires-Dist: pytest-mypy>=1.0.1; extra == "type" -Requires-Dist: mypy<1.19; platform_python_implementation == "PyPy" and extra == "type" +Requires-Dist: pytest-mypy>=1.0.1; platform_python_implementation != "PyPy" and extra == "type" Dynamic: license-file .. image:: https://img.shields.io/pypi/v/jaraco.test.svg @@ -52,7 +51,7 @@ .. image:: https://readthedocs.org/projects/jaracotest/badge/?version=latest :target: https://jaracotest.readthedocs.io/en/latest/?badge=latest -.. image:: https://img.shields.io/badge/skeleton-2025-informational +.. image:: https://img.shields.io/badge/skeleton-2026-informational :target: https://blog.jaraco.com/skeleton diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/jaraco.test.egg-info/SOURCES.txt new/jaraco_test-5.7.0/jaraco.test.egg-info/SOURCES.txt --- old/jaraco_test-5.6.0/jaraco.test.egg-info/SOURCES.txt 2025-12-24 19:52:06.000000000 +0100 +++ new/jaraco_test-5.7.0/jaraco.test.egg-info/SOURCES.txt 2026-07-12 18:36:05.000000000 +0200 @@ -20,6 +20,8 @@ jaraco.test.egg-info/dependency_links.txt jaraco.test.egg-info/entry_points.txt jaraco.test.egg-info/requires.txt +jaraco.test.egg-info/scm_file_list.json +jaraco.test.egg-info/scm_version.json jaraco.test.egg-info/top_level.txt jaraco/test/__init__.py jaraco/test/cpython.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/jaraco.test.egg-info/requires.txt new/jaraco_test-5.7.0/jaraco.test.egg-info/requires.txt --- old/jaraco_test-5.6.0/jaraco.test.egg-info/requires.txt 2025-12-24 19:52:06.000000000 +0100 +++ new/jaraco_test-5.7.0/jaraco.test.egg-info/requires.txt 2026-07-12 18:36:05.000000000 +0200 @@ -3,7 +3,7 @@ jaraco.collections [check] -pytest-checkdocs>=2.4 +pytest-checkdocs>=2.14 [check:sys_platform != "cygwin"] pytest-ruff>=0.2.1 @@ -25,7 +25,6 @@ pytest!=8.1.*,>=6 [type] -pytest-mypy>=1.0.1 -[type:platform_python_implementation == "PyPy"] -mypy<1.19 +[type:platform_python_implementation != "PyPy"] +pytest-mypy>=1.0.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/jaraco.test.egg-info/scm_file_list.json new/jaraco_test-5.7.0/jaraco.test.egg-info/scm_file_list.json --- old/jaraco_test-5.6.0/jaraco.test.egg-info/scm_file_list.json 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco_test-5.7.0/jaraco.test.egg-info/scm_file_list.json 2026-07-12 18:36:05.000000000 +0200 @@ -0,0 +1,26 @@ +{ + "files": [ + ".coveragerc", + "NEWS.rst", + ".pre-commit-config.yaml", + "mypy.ini", + "tox.ini", + "pyproject.toml", + "towncrier.toml", + "README.rst", + "ruff.toml", + ".editorconfig", + ".readthedocs.yaml", + "pytest.ini", + "docs/index.rst", + "docs/history.rst", + "docs/conf.py", + "jaraco/test/py.typed", + "jaraco/test/__init__.py", + "jaraco/test/git.py", + "jaraco/test/http.py", + "jaraco/test/cpython.py", + "tests/test_http.py", + ".github/workflows/main.yml" + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/jaraco.test.egg-info/scm_version.json new/jaraco_test-5.7.0/jaraco.test.egg-info/scm_version.json --- old/jaraco_test-5.6.0/jaraco.test.egg-info/scm_version.json 1970-01-01 01:00:00.000000000 +0100 +++ new/jaraco_test-5.7.0/jaraco.test.egg-info/scm_version.json 2026-07-12 18:36:05.000000000 +0200 @@ -0,0 +1,8 @@ +{ + "tag": "5.7.0", + "distance": 0, + "node": "ga366258b1fbd53f5d023231f255fc514f6fb2456", + "dirty": false, + "branch": "HEAD", + "node_date": "2026-07-12" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/pyproject.toml new/jaraco_test-5.7.0/pyproject.toml --- old/jaraco_test-5.6.0/pyproject.toml 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/pyproject.toml 2026-07-12 18:35:44.000000000 +0200 @@ -21,7 +21,7 @@ "Programming Language :: Python :: 3 :: Only", "Framework :: Pytest", ] -requires-python = ">=3.9" +requires-python = ">=3.10" license = "MIT" dependencies = [ "jaraco.functools", @@ -53,7 +53,7 @@ ] check = [ - "pytest-checkdocs >= 2.4", + "pytest-checkdocs >= 2.14", "pytest-ruff >= 0.2.1; sys_platform != 'cygwin'", ] @@ -67,10 +67,9 @@ type = [ # upstream - "pytest-mypy >= 1.0.1", - - ## workaround for python/mypy#20454 - "mypy < 1.19; python_implementation == 'PyPy'", + + # Exclude PyPy from type checks (python/mypy#20454 jaraco/skeleton#187) + "pytest-mypy >= 1.0.1; platform_python_implementation != 'PyPy'", # local ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jaraco_test-5.6.0/tox.ini new/jaraco_test-5.7.0/tox.ini --- old/jaraco_test-5.6.0/tox.ini 2025-12-24 19:51:46.000000000 +0100 +++ new/jaraco_test-5.7.0/tox.ini 2026-07-12 18:35:44.000000000 +0200 @@ -20,7 +20,7 @@ diff-cover commands = pytest {posargs} --cov-report xml - diff-cover coverage.xml --compare-branch=origin/main --html-report diffcov.html + diff-cover coverage.xml --compare-branch=origin/main --format html:diffcov.html diff-cover coverage.xml --compare-branch=origin/main --fail-under=100 [testenv:docs]
