- 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
This commit is contained in:
2023-06-01 10:16:12 +00:00
committed by Git OBS Bridge
parent 1cccb5bf44
commit 2244b91d93
4 changed files with 24 additions and 7 deletions

View File

@@ -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