- 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:
Dirk Mueller 2023-06-01 10:16:12 +00:00 committed by Git OBS Bridge
parent 4bd6b13613
commit 73e2813d49
4 changed files with 24 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c6c3daae9cf9fbed0e655072128938600193dc002a5cf1b187248644ba02857
size 14238

BIN
pytest-console-scripts-1.4.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Jun 1 10:15:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <steven.kowalik@suse.com>

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