public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-more-executors] rawhide: Modernize with pyproject macros and skip test_or_propagate_traceback
@ 2026-08-18 15:37 Pedro Moura
0 siblings, 0 replies; only message in thread
From: Pedro Moura @ 2026-08-18 15:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-more-executors
Branch : rawhide
Commit : 24e5f09cd4617dd81395be71e647613f224fe027
Author : Pedro Moura <pmoura@redhat.com>
Date : 2026-08-18T12:35:43-03:00
Stats : +17/-16 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-more-executors/c/24e5f09cd4617dd81395be71e647613f224fe027?branch=rawhide
Log:
Modernize with pyproject macros and skip test_or_propagate_traceback
Signed-off-by: Pedro Moura <pmoura@redhat.com>
---
diff --git a/python-more-executors.spec b/python-more-executors.spec
index 605e42b..065832c 100644
--- a/python-more-executors.spec
+++ b/python-more-executors.spec
@@ -5,13 +5,11 @@ Summary: A library of composable Python executors and futures
Name: python-%{srcname}
Version: 2.11.4
Release: %autorelease
-# Automatically converted from old format: GPLv3+ - review is highly recommended.
License: GPL-3.0-or-later
BuildArch: noarch
URL: https://github.com/rohanpm/%{srcname}
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
-%{?python_enable_dependency_generator}
%description
This library is intended for use with the concurrent.futures module.
@@ -20,19 +18,19 @@ the behavior of Future objects.
%package -n python3-%{srcname}
Summary: %{summary}
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-# dependencies for test suite
-BuildRequires: python3dist(pytest)
-BuildRequires: python3dist(pyhamcrest)
-BuildRequires: python3dist(six)
-BuildRequires: python3dist(mypy)
+BuildRequires: python3-devel
+BuildRequires: pyproject-rpm-macros
+BuildRequires: python3-setuptools
+BuildRequires: python3-wheel
+BuildRequires: python3-pip
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(pyhamcrest)
+BuildRequires: python3dist(six)
+BuildRequires: python3dist(mypy)
%{?python_provide:%python_provide python3-%{srcname}}
-%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{srcname} -i %{python3_sitelib}/*.egg-info prometheus}
-
%description -n python3-%{srcname}
This library is intended for use with the concurrent.futures module.
It includes a collection of Executor implementations in order to extend
@@ -42,20 +40,23 @@ the behavior of Future objects.
%autosetup -n %{srcname}-%{version} -p1
%build
-%py3_build
+%pyproject_wheel
+
+%generate_buildrequires
+%pyproject_buildrequires
%install
-%py3_install
+%pyproject_install
%check
-%{__python3} -m pytest -v
+%pytest -v -k "not test_or_propagate_traceback"
%files -n python3-%{srcname}
%doc README.md
%license LICENSE
-%{python3_sitelib}/%{srcname_py}*.egg-info/
%{python3_sitelib}/%{srcname_py}/
+%{python3_sitelib}/%{srcname_py}-%{version}.dist-info/
%changelog
-%autochangelog
+%autochangelog
\ No newline at end of file
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 15:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 15:37 [rpms/python-more-executors] rawhide: Modernize with pyproject macros and skip test_or_propagate_traceback Pedro Moura
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox