From 73e2813d49c90e03004f95cab6d43574114f7c94e0a7d4055d6b6dd05231b7b5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 1 Jun 2023 10:16:12 +0000 Subject: [PATCH] - update to 1.4.1: * Dropped support for Python 3.7 * Fix loading scripts with non-UTF-8 encodings. * Print output when a subprocess runner with `check=True` fails was missing. * Added type-hinting for all types, `pytest_console_scripts.ScriptRunner` can now be used to hint the `script_runner` fixture. * Added support for the `shell` and `check` keywords for in- process mode. * Passing command arguments in `*args` is now deprecated and will raise warnings. * Dropped support for Python 3.6 * Install-time dependencies have been fixed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-console-scripts?expand=0&rev=20 --- pytest-console-scripts-1.3.1.tar.gz | 3 --- pytest-console-scripts-1.4.1.tar.gz | 3 +++ python-pytest-console-scripts.changes | 18 ++++++++++++++++++ python-pytest-console-scripts.spec | 7 +++---- 4 files changed, 24 insertions(+), 7 deletions(-) delete mode 100644 pytest-console-scripts-1.3.1.tar.gz create mode 100644 pytest-console-scripts-1.4.1.tar.gz diff --git a/pytest-console-scripts-1.3.1.tar.gz b/pytest-console-scripts-1.3.1.tar.gz deleted file mode 100644 index 9cfa861..0000000 --- a/pytest-console-scripts-1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c6c3daae9cf9fbed0e655072128938600193dc002a5cf1b187248644ba02857 -size 14238 diff --git a/pytest-console-scripts-1.4.1.tar.gz b/pytest-console-scripts-1.4.1.tar.gz new file mode 100644 index 0000000..ab6fb20 --- /dev/null +++ b/pytest-console-scripts-1.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a826ed84cc0afa202eb9e44381d7d762f7bdda8e0c23f9f79a7f1f44cf4a895 +size 20994 diff --git a/python-pytest-console-scripts.changes b/python-pytest-console-scripts.changes index 2fc1bb3..7080b9c 100644 --- a/python-pytest-console-scripts.changes +++ b/python-pytest-console-scripts.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu Jun 1 10:15:24 UTC 2023 - Dirk Müller + +- update to 1.4.1: + * Dropped support for Python 3.7 + * Fix loading scripts with non-UTF-8 encodings. + * Print output when a subprocess runner with `check=True` fails + was missing. + * Added type-hinting for all types, + `pytest_console_scripts.ScriptRunner` + can now be used to hint the `script_runner` fixture. + * Added support for the `shell` and `check` keywords for in- + process mode. + * Passing command arguments in `*args` is now deprecated and + will raise warnings. + * Dropped support for Python 3.6 + * Install-time dependencies have been fixed. + ------------------------------------------------------------------- Mon Mar 21 01:22:50 UTC 2022 - Steve Kowalik diff --git a/python-pytest-console-scripts.spec b/python-pytest-console-scripts.spec index 6e5dd69..70781b9 100644 --- a/python-pytest-console-scripts.spec +++ b/python-pytest-console-scripts.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-console-scripts # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 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 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-pytest-console-scripts -Version: 1.3.1 +Version: 1.4.1 Release: 0 Summary: Pytest plugin for testing console scripts License: MIT