Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-xprocess for openSUSE:Factory checked in at 2023-10-04 22:30:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-xprocess (Old) and /work/SRC/openSUSE:Factory/.python-pytest-xprocess.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-xprocess" Wed Oct 4 22:30:21 2023 rev:5 rq:1114844 version:0.23.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-xprocess/python-pytest-xprocess.changes 2023-05-09 13:06:34.700749751 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-xprocess.new.28202/python-pytest-xprocess.changes 2023-10-04 22:30:22.505306944 +0200 @@ -1,0 +2,8 @@ +Mon Oct 2 15:00:17 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.23.0: + * Drop support for Python 3.7 + * Add support for Python 3.11 + * Remove dependency on `py` + +------------------------------------------------------------------- Old: ---- pytest-xprocess-0.22.2.tar.gz New: ---- pytest-xprocess-0.23.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-xprocess.spec ++++++ --- /var/tmp/diff_new_pack.Kwh49Q/_old 2023-10-04 22:30:24.341373306 +0200 +++ /var/tmp/diff_new_pack.Kwh49Q/_new 2023-10-04 22:30:24.341373306 +0200 @@ -16,11 +16,9 @@ # -%define oldpython python -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-pytest-xprocess -Version: 0.22.2 +Version: 0.23.0 Release: 0 Summary: A pytest plugin for managing processes across test runs License: MIT @@ -28,12 +26,10 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest-xprocess/pytest-xprocess-%{version}.tar.gz BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest >= 2.8} -BuildRequires: %{python_module py} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-psutil -Requires: python-py Requires: python-pytest >= 2.8 BuildArch: noarch %python_subpackages ++++++ pytest-xprocess-0.22.2.tar.gz -> pytest-xprocess-0.23.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/.github/workflows/main.yml new/pytest-xprocess-0.23.0/.github/workflows/main.yml --- old/pytest-xprocess-0.22.2/.github/workflows/main.yml 2023-01-05 17:03:47.000000000 +0100 +++ new/pytest-xprocess-0.23.0/.github/workflows/main.yml 2023-09-23 17:15:47.000000000 +0200 @@ -6,17 +6,17 @@ strategy: fail-fast: false matrix: - python: ["3.7", "3.8", "3.9", "3.10"] + python: ["3.8", "3.8", "3.9", "3.10", "3.11"] os: [ubuntu-latest, windows-latest, macos-latest] include: - - python: "3.10" - tox_env: "py310" - - python: "3.7" - tox_env: "py37" - python: "3.8" tox_env: "py38" - python: "3.9" tox_env: "py39" + - python: "3.10" + tox_env: "py310" + - python: "3.11" + tox_env: "py311" steps: - uses: actions/checkout@v2 - name: Set up Python @@ -54,7 +54,7 @@ - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - name: Install wheel run: | python -m pip install --upgrade pip setuptools diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/.pre-commit-config.yaml new/pytest-xprocess-0.23.0/.pre-commit-config.yaml --- old/pytest-xprocess-0.22.2/.pre-commit-config.yaml 2022-12-31 17:53:34.000000000 +0100 +++ new/pytest-xprocess-0.23.0/.pre-commit-config.yaml 2023-09-23 17:15:47.000000000 +0200 @@ -1,19 +1,19 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.11.0 hooks: - id: pyupgrade - args: ["--py37-plus"] + args: ["--py38-plus"] - repo: https://github.com/asottile/reorder_python_imports - rev: v3.9.0 + rev: v3.11.0 hooks: - id: reorder-python-imports - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 additional_dependencies: [flake8-bugbear] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/CHANGELOG.rst new/pytest-xprocess-0.23.0/CHANGELOG.rst --- old/pytest-xprocess-0.22.2/CHANGELOG.rst 2023-01-05 17:03:54.000000000 +0100 +++ new/pytest-xprocess-0.23.0/CHANGELOG.rst 2023-09-23 17:16:41.000000000 +0200 @@ -1,3 +1,10 @@ +0.23.0 (2023-09-23) +------------------- + +- Drop support for Python 3.7 +- Add support for Python 3.11 +- Remove dependency on `py` + 0.22.2 (2023-01-05) ------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/PKG-INFO new/pytest-xprocess-0.23.0/PKG-INFO --- old/pytest-xprocess-0.22.2/PKG-INFO 2023-01-05 17:23:37.206977400 +0100 +++ new/pytest-xprocess-0.23.0/PKG-INFO 2023-09-23 17:26:18.939789300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-xprocess -Version: 0.22.2 +Version: 0.23.0 Summary: A pytest plugin for managing processes across test runs. Home-page: https://github.com/pytest-dev/pytest-xprocess/ Author: Holger Krekel @@ -11,14 +11,14 @@ Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Utilities -Requires-Python: >=3.7 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst License-File: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/docs/source/conf.py new/pytest-xprocess-0.23.0/docs/source/conf.py --- old/pytest-xprocess-0.22.2/docs/source/conf.py 2022-08-15 11:38:43.000000000 +0200 +++ new/pytest-xprocess-0.23.0/docs/source/conf.py 2023-09-23 17:18:03.000000000 +0200 @@ -18,7 +18,7 @@ author = "Holger Krekel" # The full version, including alpha/beta/rc tags -release = "0.18.1" +release = "0.23.0" # -- General configuration --------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/pytest_xprocess.egg-info/PKG-INFO new/pytest-xprocess-0.23.0/pytest_xprocess.egg-info/PKG-INFO --- old/pytest-xprocess-0.22.2/pytest_xprocess.egg-info/PKG-INFO 2023-01-05 17:23:37.000000000 +0100 +++ new/pytest-xprocess-0.23.0/pytest_xprocess.egg-info/PKG-INFO 2023-09-23 17:26:18.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-xprocess -Version: 0.22.2 +Version: 0.23.0 Summary: A pytest plugin for managing processes across test runs. Home-page: https://github.com/pytest-dev/pytest-xprocess/ Author: Holger Krekel @@ -11,14 +11,14 @@ Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Software Development :: Libraries Classifier: Topic :: Utilities -Requires-Python: >=3.7 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst License-File: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/pytest_xprocess.egg-info/requires.txt new/pytest-xprocess-0.23.0/pytest_xprocess.egg-info/requires.txt --- old/pytest-xprocess-0.22.2/pytest_xprocess.egg-info/requires.txt 2023-01-05 17:23:37.000000000 +0100 +++ new/pytest-xprocess-0.23.0/pytest_xprocess.egg-info/requires.txt 2023-09-23 17:26:18.000000000 +0200 @@ -1,3 +1,2 @@ pytest>=2.8 psutil -py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/setup.cfg new/pytest-xprocess-0.23.0/setup.cfg --- old/pytest-xprocess-0.22.2/setup.cfg 2023-01-05 17:23:37.207497600 +0100 +++ new/pytest-xprocess-0.23.0/setup.cfg 2023-09-23 17:26:18.940169300 +0200 @@ -14,17 +14,17 @@ Intended Audience :: Developers License :: OSI Approved :: MIT License Operating System :: OS Independent - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Software Development :: Testing Topic :: Software Development :: Libraries Topic :: Utilities [options] packages = find: -python_requires = >= 3.7 +python_requires = >= 3.8 [options.packages.find] exclude = docs, tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/setup.py new/pytest-xprocess-0.23.0/setup.py --- old/pytest-xprocess-0.22.2/setup.py 2023-01-03 15:26:01.000000000 +0100 +++ new/pytest-xprocess-0.23.0/setup.py 2023-09-23 17:09:28.000000000 +0200 @@ -4,5 +4,5 @@ setup( name="pytest-xprocess", # this is for GitHub's dependency graph - install_requires=["pytest>=2.8", "psutil", "py"], + install_requires=["pytest>=2.8", "psutil"], ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/tox.ini new/pytest-xprocess-0.23.0/tox.ini --- old/pytest-xprocess-0.22.2/tox.ini 2022-12-31 17:53:34.000000000 +0100 +++ new/pytest-xprocess-0.23.0/tox.ini 2023-09-23 17:15:47.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist=begin,py{37,38,39,310} +envlist=begin,py{38,39,310,311} [testenv:dev] commands = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/xprocess/pytest_xprocess.py new/pytest-xprocess-0.23.0/xprocess/pytest_xprocess.py --- old/pytest-xprocess-0.22.2/xprocess/pytest_xprocess.py 2023-01-05 15:10:05.000000000 +0100 +++ new/pytest-xprocess-0.23.0/xprocess/pytest_xprocess.py 2023-09-23 17:09:28.000000000 +0200 @@ -1,7 +1,7 @@ import os -import py import pytest +from _pytest._io import TerminalWriter from xprocess import XProcess @@ -35,7 +35,7 @@ xshow = config.option.xshow if xkill or xshow: config._do_configure() - tw = py.io.TerminalWriter() + tw = TerminalWriter() rootdir = getrootdir(config) xprocess = XProcess(config, rootdir) if xkill: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-xprocess-0.22.2/xprocess/xprocess.py new/pytest-xprocess-0.23.0/xprocess/xprocess.py --- old/pytest-xprocess-0.22.2/xprocess/xprocess.py 2023-01-05 15:10:05.000000000 +0100 +++ new/pytest-xprocess-0.23.0/xprocess/xprocess.py 2023-09-23 17:09:28.000000000 +0200 @@ -1,7 +1,10 @@ import itertools import os +import re import signal +import subprocess import sys +import time import traceback from abc import ABC from abc import abstractmethod @@ -10,7 +13,6 @@ from time import sleep import psutil -from py import std XPROCESS_BLOCK_DELIMITER = "@@__xproc_block_delimiter__@@" @@ -250,9 +252,9 @@ **starter.popen_kwargs, } if sys.platform == "win32": # pragma: no cover - kwargs["startupinfo"] = sinfo = std.subprocess.STARTUPINFO() - sinfo.dwFlags |= std.subprocess.STARTF_USESHOWWINDOW - sinfo.wShowWindow |= std.subprocess.SW_HIDE + kwargs["startupinfo"] = sinfo = subprocess.STARTUPINFO() + sinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW + sinfo.wShowWindow |= subprocess.SW_HIDE else: kwargs["close_fds"] = True kwargs["preexec_fn"] = os.setpgrp # no CONTROL-C @@ -396,7 +398,7 @@ """Wait until the pattern is mached and callback returns successful.""" self._max_time = datetime.now() + timedelta(seconds=self.timeout) lines = map(self.log_line, self.filter_lines(self.get_lines(log_file))) - has_match = any(std.re.search(self.pattern, line) for line in lines) + has_match = any(re.search(self.pattern, line) for line in lines) process_ready = self.wait_callback() return has_match and process_ready @@ -417,7 +419,7 @@ while True: line = log_file.readline() if not line: - std.time.sleep(0.1) + time.sleep(0.1) if datetime.now() > self._max_time: raise TimeoutError( "The provided start pattern {} could not be matched \