Compare commits
26 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c5fc834a5c | |||
| 0d21f78e9e | |||
| f489131cf6 | |||
| 73c94232ea | |||
| 525ac7f255 | |||
| 50d594225f | |||
| 73e2813d49 | |||
| 8ce1fc545b | |||
| 4bd6b13613 | |||
| 0170430c87 | |||
| c031ebc0a5 | |||
| e1702feafb | |||
| 198d4e7ae9 | |||
| ebaed9a0cc | |||
| 067b320370 | |||
| 0a5ea953b0 | |||
|
|
c02f1a140f | ||
| fb0e7effd4 | |||
|
|
1f43fdfbc0 | ||
| 4f2963cde0 | |||
|
|
78d4c024a1 | ||
| 3018aee772 | |||
|
|
5f3f636fe4 | ||
| 0d5fe3e4fa | |||
|
|
873334d840 | ||
| 343ec94834 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8508674e176fa33cc04aa1bd0dadd59b10b24d3d23c3d73d75ffc10a7f1bd82e
|
||||
size 9116
|
||||
BIN
pytest-console-scripts-1.4.1.tar.gz
LFS
Normal file
BIN
pytest-console-scripts-1.4.1.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,95 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 20:17:05 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix requirements for python39 (yes really)
|
||||
- Make brittle test "fix" depending on the undocumented value of
|
||||
unexpanded %python_bin_suffix more robust
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 13:34:19 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Fix build error for Leap.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 1.3.1:
|
||||
* Remove use of mock.
|
||||
- Drop patch remove-mock.patch, included upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 04:14:59 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.3:
|
||||
* Add a note on manual result printing to README - #50
|
||||
* Bump Python version to 3.6 - fix #51
|
||||
- Add patch remove-mock.patch:
|
||||
* Remove use of mock.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 17 13:50:46 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- pytest-runner is not required for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 08:33:48 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.2.1
|
||||
* no upstream changelog
|
||||
- deleted patches
|
||||
- virtualenv-20.patch (upstreamed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 8 07:33:48 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- do not require pytest-runner for build, it is not needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 15 08:53:13 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Do not pull in pytest twice
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 6 08:19:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add patch to work with python-virtualenv >= 20:
|
||||
* virtualenv-20.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 10:41:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.2.0:
|
||||
* no upstream changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 09:04:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update the pytest requirement to > 4 as per setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 13:22:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.1.10:
|
||||
* Print out return code, stdout and stderr output
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 22 08:31:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-console-scripts
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,28 +16,27 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-console-scripts
|
||||
Version: 0.1.9
|
||||
Version: 1.4.1
|
||||
Release: 0
|
||||
Summary: Pytest plugin for testing console scripts
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/kvas-it/pytest-console-scripts
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-console-scripts/pytest-console-scripts-%{version}.tar.gz
|
||||
BuildRequires: %{python_module importlib-metadata >= 3.6 if %python-base < 3.10}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 4.0.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-mock >= 2.0.0
|
||||
Requires: python-pytest >= 3.0.0
|
||||
Requires: python-pytest-runner
|
||||
Requires: python-pytest >= 4.0.0
|
||||
Requires: (python-importlib-metadata >= 3.6 if python-base < 3.10)
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mock >= 2.0.0}
|
||||
BuildRequires: %{python_module pytest >= 3.0.0}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module virtualenv >= 20}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@@ -54,18 +53,25 @@ much as possible.
|
||||
%autosetup -n pytest-console-scripts-%{version} -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
cp tests/test_run_scripts.py template_run_scripts.py
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%{python_expand #
|
||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
sed 's|env python|$python|' template_run_scripts.py > tests/test_run_scripts.py
|
||||
$python -m pytest -v
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%doc README.md
|
||||
%{python_sitelib}/pytest_console_scripts
|
||||
%{python_sitelib}/pytest_console_scripts-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user