Compare commits

1 Commits
main ... 1.1

2 changed files with 7 additions and 9 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Wed Apr 10 09:22:37 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Remove not needed python-contextvars dependency
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:32:04 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:32:04 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-trio # spec file for package python-pytest-trio
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,8 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-trio Name: python-pytest-trio
Version: 0.8.0 Version: 0.8.0
@@ -27,11 +29,13 @@ Source: https://github.com/python-trio/pytest-trio/archive/v%{version}.t
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-contextvars >= 2.1
Requires: python-outcome >= 1.1.0 Requires: python-outcome >= 1.1.0
Requires: python-pytest >= 7.2.0 Requires: python-pytest >= 7.2.0
Requires: python-trio >= 0.22.0 Requires: python-trio >= 0.22.0
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module contextvars >= 2.1}
BuildRequires: %{python_module hypothesis >= 3.64} BuildRequires: %{python_module hypothesis >= 3.64}
BuildRequires: %{python_module outcome >= 1.1.0} BuildRequires: %{python_module outcome >= 1.1.0}
# we really need newer pytest in tests than is required by the package # we really need newer pytest in tests than is required by the package
@@ -45,7 +49,7 @@ This is a pytest plugin to help you test projects that use Trio,
a friendly library for concurrency and async I/O in Python. a friendly library for concurrency and async I/O in Python.
%prep %prep
%autosetup -p1 -n pytest-trio-%{version} %setup -q -n pytest-trio-%{version}
rm pytest.ini rm pytest.ini
rm pytest_trio/_tests/test_hypothesis_interaction.py rm pytest_trio/_tests/test_hypothesis_interaction.py
@@ -66,7 +70,6 @@ mv pytest_trio/_tests/ tests
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE LICENSE.APACHE2 LICENSE.MIT %license LICENSE LICENSE.APACHE2 LICENSE.MIT
%{python_sitelib}/pytest_trio %{python_sitelib}/*
%{python_sitelib}/pytest_trio-%{version}*-info
%changelog %changelog