- update to 1.8.0:

* Drop support for python versions older than 3.7
  * Support Python 3.11
  * Set minimal attrs version to 22.1.0
  * Start running tests against Py3.11 and Pytest `7.3.x` and
    `7.4.x`
  * Update copyright headers
  * ``Subprocess.run()`` now accepts ``shell`` keyword argument
    like ``subprocess.Popen``.
- enable testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shell-utilities?expand=0&rev=4
This commit is contained in:
2023-11-07 20:12:30 +00:00
committed by Git OBS Bridge
parent 6bdbbbd057
commit 69c600bb23
4 changed files with 27 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-shell-utilities
#
# 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
@@ -15,33 +15,34 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-pytest-shell-utilities
Version: 1.6.0
Version: 1.8.0
Release: 0
Summary: Pytest plugin to simplify running shell commands against the system
License: Apache-2.0
URL: https://github.com/saltstack/pytest-shell-utilities
Source: https://files.pythonhosted.org/packages/source/p/pytest-shell-utilities/pytest-shell-utilities-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 50.3.2}
BuildRequires: %{python_module setuptools-declarative-requirements}
BuildRequires: %{python_module setuptools_scm >= 3.4}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module attrs >= 22.1.0}
BuildRequires: %{python_module psutil >= 5.0.0}
BuildRequires: %{python_module pytest >= 6.0.0}
BuildRequires: %{python_module pytest >= 7.3.0}
BuildRequires: %{python_module pytest-helpers-namespace}
BuildRequires: %{python_module pytest-skip-markers}
BuildRequires: %{python_module pytest-subtests}
BuildRequires: %{python_module typing-extensions}
# /SECTION
BuildRequires: fdupes
Requires: python-attrs >= 19.2.0
Requires: python-attrs >= 22.1.0
Requires: python-psutil >= 5.0.0
Requires: python-pytest >= 6.0.0
Requires: python-pytest >= 7.3.0
Requires: python-pytest-helpers-namespace
Requires: python-pytest-skip-markers
Requires: python-typing-extensions